In order to sync the state of installed packages from one Debian or Ubuntu to another one, the following process can be helpful. Make a packagelist on the original machine:
dpkg --get-selections > myselections.txt
Transfer the packagelist (myselections.txt
) over to the new machine and do the following there:
apt-get update
dpkg --set-selections < myselections.txt
apt-get -u dselect-upgrade
Leave a Comment