Re: Replicating a system... sort of
Paul M Foster wrote: 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? Paul I just cloned my HDD with a small script to copy everything relevant. I then booted the new pc with the debian install-floppy and made the HDD bootable by running lilo. It's a good way of making backups on spare HDDs. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Replicating a system... sort of
On Thu, Feb 20, 2003 at 01:09:54PM -0500, Narins, Josh wrote: > 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 The difference between that and plain 'dpkg --get-selections' is that yours lists both what you've installed and what you haven't installed, while Nate's lists only what you've installed. If you only want to arrange for some extra packages to be on a system, then you want plain 'dpkg --get-selections'; if you want to completely replace a system's package list then you want yours. -- Colin Watson [[EMAIL PROTECTED]] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: Replicating a system... sort of
On Thu, 20 Feb 2003, nate wrote: > Narins, Josh said: > > 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 > > not sure, but I've done the dpkg --get-selections >selections and > imported on another machine(running the same distribution) several > times with complete success. I probably wouldn't try it with different > distributions since chances are perhaps some packages have been > changed..but if your going from stable -> testing on a new machine I'd > rather go stable->stable then upgrade the new machine to testing *after* > all the packages have been installed from stable. > > nate > actually the \* is relevant since packages that are purged on a machine A will not be purged on machine B if you insert the output into dpkg --set-selections this is easily confirmed by looking at the output with and without \* -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: Replicating a system... sort of
Narins, Josh said: > 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 not sure, but I've done the dpkg --get-selections >selections and imported on another machine(running the same distribution) several times with complete success. I probably wouldn't try it with different distributions since chances are perhaps some packages have been changed..but if your going from stable -> testing on a new machine I'd rather go stable->stable then upgrade the new machine to testing *after* all the packages have been installed from stable. nate -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
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:[EMAIL PROTECTED]] > Sent: Thursday, February 20, 2003 12:06 AM > To: [EMAIL PROTECTED] > 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 > apt-get dselect-upgrade > > bingo :) > > nate > > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > -- 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. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
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