Copy / clone packages from servers

February 2, 2016
If you want to copy or clone packages from one Debian or Ubuntu server to another, here is how to to it:
ssh server1 ssh server2 ‘dpkg –get-selections’| dpkg –set-selections apt-get -u dselect-upgrade

posted in Divers by nico