[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg snapshot



On Sun, Nov 12, 2000 at 10:32:47AM -0500, Paindavoine, Matthieu
(MPAINDAV) wrote:
> 
> I have a hosed system, and I'd like to do a clean reinstall... I would like
> to keep the .deb configuration I had. Is there a way using eg dpkg to take a
> snapshot of the packages installed now, and feed this file at a later time
> to select the packages to install?

a) prior to reinstall:

	$ dpkg --get-selections \* > dpkg-selections.txt

b) save file to (floppy) disk(s)

c) after having installed the base system:

	$ dpkg --set-selections < dpkg-selections.txt


> Thanks,

HTH / good luck

Sven
-- 
Have you rebooted your NT box today?



Reply to: