![]() ![]() If you want to completely clean up, you might also want to remove the data directory /var/lib/mongodb, so long as you backed it up or don't want it any more. This should also remove your config from /etc/nf. Some of those commands may fail, depending on what packages you actually have installed, but that's okay. Since I'm not 100% what you've got installed, I suggest the following to make sure everything is uninstalled: sudo apt-get purge mongodb mongodb-clients mongodb-server mongodb-dev So if you want to take a backup, take a copy of the files from there and keep them in a safe place. By default, it is stored in /var/lib/mongodb. If you have existing data that you want to keep, you could take a backup of it. I suggest that first of all, you completely uninstall Mongo and clean up your system. ![]() The error message you quote suggests that you might have already tried this, since version 2.0.1 is not a standard Ubuntu package. The standard packages are out of date, especially for older releases of Ubuntu, so it is probably a good idea to set yourself up to install from the 10gen repositories. There are two sets of packages for MongoDB the standard Ubuntu packages, and a set published by 10gen themselves.
0 Comments
Leave a Reply. |