Dkpg: Difference between revisions
From Hackepedia
Jump to navigationJump to search
Created page with " If you're using a Debian based operating system with dpkg, and you want to do a re-install, try the following: # dpkg --get-selections > installed.software.log and th..." |
No edit summary |
||
Line 7: | Line 7: | ||
# dpkg --set-selections < installed-software.log | # dpkg --set-selections < installed-software.log | ||
# dselect | # dselect update | ||
# dselect-upgrade | |||
This will only work with the same version of Debian, as well as the same sources.list. |
Latest revision as of 01:36, 28 November 2012
If you're using a Debian based operating system with dpkg, and you want to do a re-install, try the following:
# dpkg --get-selections > installed.software.log
and then on the new system
# dpkg --set-selections < installed-software.log # dselect update # dselect-upgrade
This will only work with the same version of Debian, as well as the same sources.list.