Hi,

dpkg --get-selections > file
and 
dpkg --set-selections < file

will only _install_ packages installed on "source" machine,
it will not purge any packages on the "target" machine which
are not installed on the "source". Thus the packages on "target" 
might be a superset of those on "source".

I use to use:

dpkg --get-selections \* > file

Regards,
Chris

Reply via email to