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

When upgrading from a LiveCD / LiveDVD / LiveUSB from any older Ubuntu version to a newer one, what folders get deleted/modified/kept intact. For example, I know that /home stays along with everything in it (Except configuration files that get updated). But for example what happens to the following folder in an upgrade:




and others

share|improve this question
up vote 0 down vote accepted

For modified configuration files in /etc, the installer will ask whether to keep to original or override it.

As for the other folders, an upgrade basically consists of upgrading a lot of packages. File contained by packages are upgraded or removed if they are no longer required.

Files that are created by you and not contained by a package are generally untouched. For example, a common place to store apache 'website' files is in /var/www. These are not removed in an upgrade as far as I know.

Nevertheless, I would recommend to backup important files before an upgrade

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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