[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 12:33:01 +0200, Maarten Verwijs wrote:
>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. 

Brilliant!  This is a good example of why I keep coming back to Debian
all the time.

/M

-- 
Magnus Therning                             (OpenPGP: 0xAB4DFBA4)
magnus@therning.org             Jabber: magnus.therning@gmail.com
http://therning.org/magnus

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

Finagle's Second Law:
Always keep a record of data -- it indicates you've been working.

Attachment: pgpMDkwC9cazl.pgp
Description: PGP signature


Reply to: