dpkg --get/set-selections
Mark Purcell
msp at debian.org
Thu Jun 6 19:59:51 EST 2002
-----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-----
More information about the linux
mailing list