User Tools

Site Tools


blog:backup_and_restore_package_selections

Debian backup and restore package selections

It's a good idea to safe a list of all installed packages for a reinstall

Safe a list of all selected packages

  sudo dpkg --get-selections > packages.txt

To restore all the applications from your list, you must follow a three step process very carefully.

  sudo dpkg --set-selections < packages.txt
  sudo apt-get dselect-upgrade

Ref: http://savvyadmin.com/backup-and-restore-package-lists-in-ubuntu/

~~LINKBACK~~

Discussion

Enter your comment. Wiki syntax is allowed:
 ______   ____  _      __  _   __  __  __
/_  __/  / __/ | | /| / / | | / / / / / /
 / /    _\ \   | |/ |/ /  | |/ / / /_/ / 
/_/    /___/   |__/|__/   |___/  \____/
 
blog/backup_and_restore_package_selections.txt · Last modified: 2011-07-01 16:00 by brb