On Fri, Sep 29, 2000 at 02:57:38AM -0500, Craig McPherson wrote: > I currently have a Debian server with a very large (but finite) number > of packages installed. I'll be replacing it with a new server soon, > and to ease the migration I'm looking for a way to tell the new server > to install all the packages that the old server currently has installed. > It would take hours to select them all by hand, so I'm looking for > some way to export the list of installed packages on the old server > to a file, and tell apt or dselect on the new server to install those > packages. > > Thanks for any suggestions!
on the old server: dpkg --get-selections \* > selections (the \* is important so packages you removed from the old machine will also be removed from the destination) on the new server: dpkg --set-selections < selections apt-get dselect-upgrade peice of cake! -- Ethan Benson http://www.alaska.net/~erbenson/
pgpPaeyyb7Wzo.pgp
Description: PGP signature