Re: Moving Package List
On Fri, 2004-05-28 at 15:57, Sam Halliday wrote: hello, i know this is probably somthing which is discussed often on the list... but i was unable to find anything in the archives, the apt FAQ or several google searches... so i'm posting to the list. i have a machine running Debian GNU/Linux testing/unstable with a package list i am very happy with. i would like to move this configuration to another machine which i am performing a fresh install on. how can i get a list of all the packages on this system and how can i read that info into the new one? also... can i keep the aptitude package states? it seems a bit of a hack, and cause all kinds of hell if i were to just copy over /var/lib/aptitude/pkgstates Current machine perform this: dpkg --get-selections oldmachine.pkgs Move the file oldmachine.pkgs to the New Machine New machine perform this: dpkg --set-selections oldmachine.pkgs then: apt-get dselect-upgrade All should be well. -- [EMAIL PROTECTED] REMEMBER ED CURRY! http://www.iwethey.org/ed_curry Novell's Directory Services is a competitive product to Microsoft's Active Directory in much the same way that the Saturn V is a competitive product to those dinky little model rockets that kids light off down at the playfield. -- Thane Walkup signature.asc Description: This is a digitally signed message part
Moving Package List
hello, i know this is probably somthing which is discussed often on the list... but i was unable to find anything in the archives, the apt FAQ or several google searches... so i'm posting to the list. i have a machine running Debian GNU/Linux testing/unstable with a package list i am very happy with. i would like to move this configuration to another machine which i am performing a fresh install on. how can i get a list of all the packages on this system and how can i read that info into the new one? also... can i keep the aptitude package states? it seems a bit of a hack, and cause all kinds of hell if i were to just copy over /var/lib/aptitude/pkgstates cheers, Sam -- Free High School Science Texts http://savannah.nongnu.org/projects/fhsst Sam's Homepages http://fommil.homeunix.org/~samuel http://www.ma.hw.ac.uk/~samuel pgpQmxRSZdzYk.pgp Description: PGP signature
Re: Moving Package List
On Fri, 2004-05-28 at 14:57, Sam Halliday wrote: i have a machine running Debian GNU/Linux testing/unstable with a package list i am very happy with. i would like to move this configuration to another machine which i am performing a fresh install on. how can i get a list of all the packages on this system and how can i read that info into the new one? Old machine: dpkg --get-selections myselections copy 'myselections' over to new machine New machine: dpkg --set-selections myselections -- Alex Malinovich Support Free Software, delete your Windows partition TODAY! Encrypted mail preferred. You can get my public key from any of the pgp.net keyservers. Key ID: A6D24837 signature.asc Description: This is a digitally signed message part
Re: Moving Package List
Hello, From 'man dpkg': To make a local copy of the package selection states: dpkg --get-selections myselections You might transfer this file to another computer, and install it there with: dpkg --set-selections myselections Note that this will not actually install or remove anything, but just set the selection state on the requested packages. You will need some other application to actually download and install the requested packages. For example, run dselect and choose Install. Cheers, Shaun On Fri May 28, 2004 12h57, Sam Halliday wrote: hello, i know this is probably somthing which is discussed often on the list... but i was unable to find anything in the archives, the apt FAQ or several google searches... so i'm posting to the list. i have a machine running Debian GNU/Linux testing/unstable with a package list i am very happy with. i would like to move this configuration to another machine which i am performing a fresh install on. how can i get a list of all the packages on this system and how can i read that info into the new one? also... can i keep the aptitude package states? it seems a bit of a hack, and cause all kinds of hell if i were to just copy over /var/lib/aptitude/pkgstates cheers, Sam