On Tue, 2003-10-14 at 19:48, Jens Grivolla wrote: > Hi, > > I apparently have a lot of leftovers from old packages that did not > get cleanly uninstalled, and am losing quite a bit of disk space for > that. > > I would therefore like to do a fresh install (backing up /home and > /etc), but using my current selection of packages (which I just > carefully verified). > > Is there a way to dump my current selection to a file and read it back > later? I didn't find such an option in aptitude or any of the other > tools. Simple easy: On the current machine: dpkg --get-selections > my_inst_pack.txt On the destination machine after a "base-config": cat my_inst_pack.txt > dpkg --set-selections apt-get deselect-upgrade After that make sure the machine is bootable... and off you go. -- greg, firstname.lastname@example.org REMEMBER ED CURRY! http://www.iwethey.org/ed_curry Woe is me, for I must forever more huddle, unminded, in the dark shadow of thine undeserved engine of procreation.
Description: This is a digitally signed message part