Duplicating package structures with apt
server a: ~# dpkg --get-selections > packages.text
server b: ~# dpkg --set-selections < packages.text
server b: ~# apt-get update ; apt-get dist-upgrade
Then run aptitude and go
server a: ~# dpkg --get-selections > packages.text
server b: ~# dpkg --set-selections < packages.text
server b: ~# apt-get update ; apt-get dist-upgrade
Then run aptitude and go