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

Re: Configuration DB



Alec Berryman writes:
> Pipe the output of `dpkg --get-selections` to a file, copy that over to
> the new computer, and pipe it into `dpkg --set-selections`.  Then run
> apt-get -f install; it'll attempt to install all packages on the first
> computer.  You'll still have to answer configuration questions, but you
> won't need to specify packages.

Setting the debconf priority to "critical" will eliminate most, if not all,
questions.  Answer the remaining ones with anything.  Restore /etc after
doing "dpkg --set-selections < package-list", overwriting the default
configuration.

man 7 debconf

You shouldn't need to reinstall Debian, though.  If you are duplicating
installations, look at the automatic installers such as FAI.
-- 
John Hasler 
john@dhh.gt.org
Dancing Horse Hill
Elmwood, Wisconsin



Reply to: