Created
June 16, 2013 12:42
-
-
Save guumaster/5791924 to your computer and use it in GitHub Desktop.
How to: Backup & Restore packages using dselect-upgrade
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dpkg --get-selections > /tmp/dpkglist.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dpkg --set-selections < /tmp/dpkglist.txt | |
sudo apt-get -y update | |
sudo apt-get dselect-upgrade |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment