Duplicating package structures with apt

From Edgar BV Wiki
Jump to navigation Jump to search

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