dpkg --get/set-selections

Martijn van Oosterhout kleptog at svana.org
Thu Jun 6 18:54:34 EST 2002

On Thu, Jun 06, 2002 at 05:15:50PM +1000, Grant Morphett wrote:
> Ok, so I want to transfer my packages selections from one machine to another.  So
> as per the dpkg man page I do a 
> dpkg --get-selections >myselections
> on the "source" machine and then transfer myselections to the other machine and
> do a
> dpkg --set-selections <myselections
> However all that seems to happens is a few (4 in total) random packages have
> changed from install to deinstall but that's it.  What am I doing wrong?

I think you'll need to either use dselect or apt-get dselect-install to
actually do the work.

Martijn van Oosterhout   <kleptog at svana.org>   http://svana.org/kleptog/
> There are 10 kinds of people in the world, those that can do binary
> arithmetic and those that can't.

More information about the linux mailing list