User Tools

Site Tools


blog:backup_and_restore_package_selections

This is an old revision of the document!


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 --clear-selections
  sudo dpkg --set-selections < packages.txt
  sudo aptitude install

~~LINKBACK~~

Discussion

Enter your comment. Wiki syntax is allowed:
   ____   __ __  _____   __ __   __  ___
  / __/  / //_/ / ___/  / //_/  /  |/  /
 _\ \   / ,<   / /__   / ,<    / /|_/ / 
/___/  /_/|_|  \___/  /_/|_|  /_/  /_/
 
blog/backup_and_restore_package_selections.1309521205.txt.gz · Last modified: 2011-07-01 13:53 by brb