dpkg --get/set-selections

Grant Morphett grant at gmorph.com
Thu Jun 6 21:16:04 EST 2002


It appears that using dselect-upgrade makes a difference.  I was only using
dist-upgrade.  Thanks

cheers

On Thu, 6 Jun 2002 19:59:51 +1000 Mark Purcell scribbled:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On Thu, 6 Jun 2002 19:01, Grant Morphett wrote:
>> dpkg --set-selections <myselections
>>
>> dpkg --get-selections >newfilename
>>
>> Any ideas?
>
>- From the Debian Reference.  (I was reading it last night, don't know it off 
>the top of my head)
>
>http://www.debian.org/doc/manuals/quick-reference/ch-package.en.html#s-record
>6.3.8 Record/copy system configuration
>
> To make a local copy of the package selection states: 
>
>     $ dpkg --get-selections "*" >myselections   # or use \*
>
>"*" makes myselections include package entries for "purge" too. 
>
>You transfer this file to another computer, and install it there with: 
>
>     # apt-get update
>     # dpkg --set-selections <myselections
>     # apt-get -u dselect-upgrade
>
>Mark
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.0.7 (GNU/Linux)
>
>iD8DBQE8/zKqoCzanz0IthIRAiGzAKCbnslkcLqrtFXbb0NS31IMjUatpgCeLzwj
>owEg6jpJ5NW789J+WG+ZPvM=
>=9CkC
>-----END PGP SIGNATURE-----
>
>



Grant Morphett
GMORPH CONSULTANTS Pty Ltd - Solutions Outside the Square
tel : +61 (0) 421 325348
fax : +1 309 4164790




More information about the linux mailing list