Restaurer une liste de paquet APT / DPKG

De Linux Server Wiki
Aller à la navigation Aller à la recherche
dpkg --get-selections > /root/package.list
apt install dselect
dselect update
dpkg --merge-avail <(apt-cache dumpavail)
dpkg --clear-selections
dpkg --set-selections < /root/package.list
apt-get dselect-upgrade