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

Re: Moving "setup" from one computer to another?



On Fri, Oct 06, 2006 at 08:23:47AM +0100, Magnus Therning wrote:

> >> I found this at
> >> http://www.debian.org/doc/manuals/reference/ch-package.en.html
> >> ----------------------------------------------------------------
> >> To make a local copy of the package selection states:
> >> 
> >>       $ dpkg --get-selections "*" >myselections   # or use \*
> >> 
> >> "*" makes myselections include package entries for "purge" too.
> >> 
> >> You can transfer this file to another computer, and install 
> >> it there with:
> >> 
> >>       # dselect update
> >>       # dpkg --set-selections <myselections
> >>       # apt-get -u dselect-upgrade    # or dselect install
> >

I'd also do. Do this *before* you do dpkg --set-selections <
myselections.  

Source system: 
debconf-get-selections > debconfsel.txt

Target System:
debconf-set-selections < debconfsel.txt

A lot of settings are kept in debconf. You could also edit the
debconfsel.txt if you want to change stuff. 

Kind regards, 

Maarten




-- 
Maarten Verwijs 



Reply to: