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

Re: "Cloning" a Debian system



On Thu, Sep 07, 2000 at 03:43:08PM +0200, Juli-Manel Merino Vidal wrote:
> On Thu, Sep 07, 2000 at 01:50:30PM +0100, Etienne Grossmann wrote:
> 
> > 
> > 
> >   Hello,
> > 
> >   is there any way to install on a Debian system the same packages
> > that are found on another Debian system? The machines are not strictly
> > equal.
> 
> Yes, you can.
> Do in the "primary" machine:
> 
> dpkg --get-selections > packages
> 
> And then, in the cloned machine do:
> 
> dpkg --set-selections < packages


a more thorough version of this is like so:

dpkg --get-selections \* > packages

then 

dpkg --set-selections < packages

that way if you removed some packages from the primary machine they
will also get removed on the clone.

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpuxAZ1Ao84Q.pgp
Description: PGP signature


Reply to: