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

RE: Replicating a system... sort of



I was under the impression that if you wanted to copy selections from one
machine to the next, the proper syntax was

                      vv
dpkg --get-selections \* > file

But then again, he has stable on one box and testing on the next, so I dunno
what's best.

If you can't swap selections between releases like that, you can always
shell script it...

> cat your_install
nosql3

> for proggie in `cat your_install`
do
  apt-get install $proggie
done



> -----Original Message-----
> From: nate [mailto:debian-user@aphroland.org] 
> Sent: Thursday, February 20, 2003 12:06 AM
> To: debian-user@lists.debian.org
> Subject: Re: Replicating a system... sort of
> 
> 
> Paul M Foster said:
> > I'm attempting to set up a replacement system for the one 
> on my desk.
> > (When done, I'll swap them out.) This gets awfully tedious 
> when I have to
> > pick every package in dselect. My current desktop is a 
> Woody, but the
> > system I'm setting up is testing.
> >
> > I have a list of packages that I put on every system I run, 
> for example:
> > lynx, hextype, units, remind, links, nosql3, sqlite, etc. 
> I'd like to be
> > able to install a base system, put these package names in 
> some text file,
> > point dselect/apt (or something else) at it, and have them
> > downloaded and configed as usual. Is there a package that does this?
> 
> on old machine:
> dpkg --get-selections >selections
> 
> copy selections to new machine
> 
> dpkg --set-selections <selections
> 
> apt-get dselect-upgrade
> 
> bingo :)
> 
> nate
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact 
> listmaster@lists.debian.org
> 
> 

------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the designated recipient(s) named above.  If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited.  This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or error-free.  Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such.  All information is subject to change without notice.




Reply to: