Ubuntu tip: backing up installed packages
I have just installed a fresh copy of the new Ubuntu 8.10.
In order to mantain all the packages installed in my old system I generated a list of the currently installed packages, so I could restore them later.
dpkg --get-selections > packages
This generates a file with all the installed packages in your system. Just copy it to a safe place, usbstick or CD.
After you have installed the fresh copy of Ubuntu you can recover what was installed in your previous system with the file you generated and the following commands:
dpkg --set-selections < packages apt-get dselect-upgrade
December 2nd, 2008 at 1:18 am
[...] bookmarks tagged ubuntuSite about ERP ! Helius: Ubuntu tip: backing up installed packages saved by 1 others SunflowerLover45 bookmarked on 12/01/08 | [...]