Nekem így megy:
$ 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
# apt-get -u dselect-upgrade
Forrás: http://lists.samba.org/archive/linux/2002-June/003399.html