ok, after doing some tinkering... I find this is the best way to
create the list of packages I want:

dpkg --get-selections "*" > package-list.out

by adding the "*" in there, it'll list the state for all packages,
even those I don't have installed, so that this will remove the
packages I don't want on the other host.

Thanks again, Sebastiaan for the pointer in the right direction. :)

-Chris

Chris Palmer wrote
> Yes, from checking out the man page, that looks like it
> might do exactly what I want.
> 
> Many thanks  :)
> 
> -Chris
> 
> Sebastiaan wrote
> > I do not know if will work, but this is the idea:
> > On the source computer:
> > dpkg --get-selections > source
> > 
> > On the destination computer (after you copied the file 'source' to it
> > ;-)):
> > cat source | dpgk --set-selections
> > 
> > The I think you should run 'apt-get -f install' to install the uninstalled
> > packages. But you still have to configure them one by one.
> > 
> > Greetz,
> > Sebastiaan
> > 
> > 
> > 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 

Reply via email to