Reinstall Ubuntu keeping my data intact

Posted by Magnus on Ask Ubuntu See other posts from Ask Ubuntu or by Magnus
Published on 2012-11-27T12:01:21Z Indexed on 2012/11/29 11:21 UTC
Read the original article Hit count: 363

Filed under:
|
|
|
|

I have recently upgraded my desktop OS from ubntu 12.04 to 12.10 (complete reinstall). Before the switch i made a list of all programs installed on my Ubuntu 12.04.

sudo dpkg --get-selections > file

After that i reinstalled Ubuntu 12.10 and when all was done i performed the following command:

sudo dpkg --set-selections < file
sudo apt-get dselect-upgrade

Here is when the problems start, I get several warnings like this when performing the commands above:

dpkg: warning: package not in database at line xxx

and many of the programs is not installed. I don't know what the line means.

I have serched the web and it seems that I'm not the only one suffering from this but I have not find any solution that worked for me.

Any ideas what is causing this?

Regards Magnus Örberg

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about installation