Upgrade vs Clean install without formatting

Well,

Firstly let me explain you what Upgrade means and what Fresh Install means.

UPGRADE -

Upgrade means your system will be updated to the newest resources,applications,libraries,Kernel versions and will have the latest Patches to various software BUT your data that was there in your /home folder will remain intact.

FRESH INSTALL-

Fresh install means your system will be updated to the newest resources,applications,libraries,Kernel versions and will have the latest Patches to various software BUT your data in /home will be completely lost because fresh install is nothing but installing a new OS.

Now,about your doubt about broken packages in upgrades,

This problem generally occurs when you upgrade online using the UPGRADE TOOL.

One way to avoid this is to burn an ISO immage on to a CD/USB making it bootable and then UPGRADING instead of INSTALLING FRESH

When you boot the CD/USB you have created and click on INSTALL on the first screen,next you will get a screen asking for -

  1. REPLACE 11.10 WITH 12.04
  2. UPGRADE 11.10 to 12.04
  3. SOMETHINF ELSE

If you select the 2nd option,you will have the benefit of UPGRADING with very less risk of Broken Packages

Always remember to select to INSTALL 3rd PARTY SOFTWARE and UPDATE DURING INSTALLING when you start the install. This further reduces the risk of broken packages later.

I would recommend UPGRADE USING A LIVE CD over INTERNET UPGRADE or FRESH INSTALL

Needless to tell,backup all your data.

Hope the answer helps you.


Upgrading has been causing much trouble to many. The advantage of upgrading is that not only does it preserve your files and folders, but it also upgrades your system as well all the softwares in it to the 12.04 version.

However, doing a clean install without formatting your /home partition (hoping you have a separate partition for it) will not have the softwares of your previous Ubuntu version. Even though it will install cleanly usually without causing much trouble, you will be left with a 'clean' machine.

There is a work around for this however. It is as follows:

  1. First you have to know which all packages are installed in your 10.04. For that you can do

sudo dpkg --get-selections "*" > pack_file

After running that, you will have the names of all the packages in 10.04 in the file called ‘pack_file’.

  1. Transfer that file to 12.04 and run the following commands

sudo apt-get update

sudo dpkg --set-selections < pack_file

sudo apt-get -u dselect-upgrade

This will fetch all the packages as well as their dependencies and install it on your system.

So you have upgraded you system without directly issuing an 'upgrade'! Refer to the following post for details:

http://sosaysharis.wordpress.com/2012/05/02/upgrading-to-ubuntu-12-04-the-way-i-did-it/


As far as I understand, you don't have different partitions for / and /home. The safest way to go, imho, is to just backup your home folder to an external drive and do a clean install (w/ formatting).

There was another answer on a similar question, which you could view here, but I'm not sure that'll actually work, since I never tried it myself.

There's also a question of what happens with all your installed software and configuration files (stored in /etc). On an upgrade they're kept, but on a clean install, you start from scratch. So you have to reinstall and reconfigure everything.

If you didn't do extensive customization of your installed software, I would recommend going for a clean install. It's a lot easier to reinstall whatever apps you are using instead of trying to fix a broken system.

Please note: it's always a good idea to backup your files before doing any system (re)install. If something can go wrong, there's a big chance it actually will.