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

Re: Replicate installed packages to new system



On Fri, Apr 13, 2007 at 09:16:02 -0400, Kevin Mark wrote:
> On Thu, Apr 12, 2007 at 11:46:28AM -0700, Jeff D wrote:

[...]

> > on first sytsem:
> > dpkg --get-selections > selections.txt
> > on new base install:
> > copy over selections.txt
> > dpkg --set-selections < selections.txt
> > dselect update
> > apt-get dselect-upgrade
>
> This is one of the prefered way but debian doesn't afaik have a way to
> include such info as your currect configurations. So this will install
> the packages but then you have to answer the debconf questions and then
> do the final configurations to files in /etc or elsewhere.

The debconf settings can be transferred with

debconf-get-selections (from package debconf-utils)

and

debconf-set-selections (from package debconf itself)

-- 
Regards,
          Florian



Reply to: