Saving Installed Packages Before Reinstalling Feisty

Luigi lemsx1 at
Fri May 25 09:26:43 UTC 2007

On 5/25/07, Arnold Pietersen <arnold.pietersen at> wrote:
> I want to reinstall Feisty.  However, I want to save the packages which
> I installed to a CD so that when I reinstall Feisty, I can reinstall
> those packages from CD instead of having to go on the Internet;
> bandwidth is a problem.  Is it possible? If so, how?
> Regards
> Arnold

dpkg --get-selections \* > old-system-selections.txt

install the system on the new PC/hd with the CDs and then restore your

dpkg --set-selections < old-system-selections

Now you can use whatever method you like best to install selections ;-)
synaptic, aptitude, etc... all have a way to do this. I like dselect:

dselect update
dselect install

Luis Mondesi
*NIX Guru

"Feliz el hombre que ha hallado sabiduria y el hombre que consigue
discernimiento, porque el tenerla como ganancia es mejor que tener la plata
como ganancia; y el tenerla como producto, [mejor] que el oro mismo" (Prov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ubuntu-users mailing list