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

Re: Reinstalling Packages after Rebuilding System with Etch



Andrew Reid writes:
>   I have done this using
> > dpkg --get-selections >file
> 
>   ... on the original machine, to record the package state, and
> then using the sequence:
> 
> > dpkg --clear-selections
> > dpkg --set-selections < file
> > apt-get dselect-upgrade
> 
>   This particular sequence will identically clone the package
> state of the system -- you probably don't want that, since that
> would remove your hard-won new kernel, so you might want to skip
> the clear-selections step, and/or you may want to edit the
> file.
> 
>   I think in either case, installing already-installed packages
> is harmless.

Many thanks.

Martin


Reply to: