Replicating packages on Debian

George Nicol gnicol-PeCUgM4zDv73fQ9qLvQP4Q at public.gmane.org
Thu Feb 21 16:57:08 UTC 2008


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.

Similarly, "backup ubuntu/debian package selection list":
http://lglinux.blogspot.com/2007/11/backup-ubuntu-debian-package-selection.html

Not what you're looking for, but may be of interest to ubuntu folks or
those (like me) who have been faced with installing where the user has
only a dialup connection (56k paid for, ~24k delivered):

APTonCD: http://aptoncd.sourceforge.net/

Blogs about APTonCD:

http://linuxhelp.blogspot.com/2006/11/aptoncd-create-backup-of-all-packages.html
http://allforlinux.blogspot.com/2008/01/backup-deb-package-synaptic.html
--
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