Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I'm planning to upgrade from Maverick to Natty, and to try out Unity, but I don't want to lose any settings, customizations and downloads in Maverick. I just want to know, if upgrading alter anything that I said earlier?

I don't want to start over with a clean, fresh Natty, and I hope I can keep all of my files and folders and settings in Maverick, and to have them in Natty after the upgrade. Is this possible? Should I use Update Manager to achieve this? And would all my compiz-settings be reset after I upgrade?

Sorry for too much questions, but I'm asking this because you know, in Windows, any version upgrade would require the disk to be reformatted. I hope Ubuntu is more convenient than that.

share|improve this question

marked as duplicate by Florian Diesch, precise, terdon, BuZZ-dEE, Warren Hill Mar 17 '14 at 8:26

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Ubuntu distribution upgrades are designed to be done over existing installations, and the process should go fairly smoothly, thanks to the wonders of package management. Files not associated with a package will be left alone, such as the contents of /home, html files you added to /var/www, applications you've installed from tarballs rather than from repositories or .deb packages, and so forth.

Packages should only be removed if they were originally installed as dependencies of other packages, or if they conflict with newly installed packages. Changing default applications -- the change from Rhythmbox to Banshee as the default music application, for instance -- will lead to the installation of the new default application, but not the removal of the old default. Packages that were in the older distribution's repositories, but not in the newer distribution's repositories, will be left in place -- synaptic will list them under the category "Obsolete or Local".

The trickiest thing to watch out for is changes in configuration files -- if you've changed any configuration files associated with packages, you'll likely be prompted about how to resolve any conflicts during the upgrade.

The way package managers handle configuration files is to make a three-way comparison between the previous default config file, the new default config file, and the existing config file. If all three are identical, obviously, nothing happens. If the old default is identical to the new default, but the existing config file is different, the existing config file is left as is, because the rules apparently haven't changed so your choices are still valid. If the existing config is identical to the old default, but the new default is different, the new default will be installed, as you're apparently happy with the decisions the developers made about the defaults. The problematic case is when all three files are different -- you'll need to look carefully at the differences between your existing config file and the new default.

share|improve this answer

dist-upgrade from one release to another can lose some settings. files should still be there and installed applications should stay more or less the same(some may not be available in natty or have versioning issues). if you custom compiled anything, that will probably need to be done again.

it is more convenient than windows, but there is still plenty of room for issues.

you probably didn't get an answer due to the "will it go perfectly" phenomena. the simple answer is "no way to know". most everything will be preserved, but no one wants to say it will work 100% because murphy's law is always lurking. add to that the applet oddity that's been going around and you wind up with "it is a different OS/gui so something will probably change, but probably nothing earth shattering"

full disk image backup in case you need to revert before you try it out is my recommendation.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.