Replicating packages on Debian
CLIFFORD ILKAY
clifford_ilkay-biY6FKoJMRdBDgjK7y7TUQ at public.gmane.org
Thu Feb 21 17:38:50 UTC 2008
George Nicol wrote:
> 1) On machine #1:
>
> dpkg --get-selections > packages.txt
>
> This creates a list of installed (and removed) packages.
>
> 2) Do a base install on machine #2.
>
> 3) Move packages.txt to machine #2.
>
> 4) On machine #2:
>
> dpkg --set-selections < packages.txt
>
> 5) On machine #2:
>
> dselect install
>
> 6) Bask in the light of your newly cloned machine.
>
> One limitation: If you are running something old, then your packages.txt
> will not point to the right version of the packages. If you are working
> with a recent version of your distro, then this is not a problem.
I always replace Exim with Postfix. How does this method deal with that
situation?
--
Regards,
Clifford Ilkay
Dinamis Corporation
1419-3266 Yonge St.
Toronto, ON
Canada M4N 3P6
<http://dinamis.com>
+1 416-410-3326
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list