Before nuking the old machine
dpkg --get-selections | grep -v deinstall > dpkg-selections
tar czfv etc-apt.tgz /etc/apt dpkg-selections (copy etc-apt.tgz to another machine or usb)
After Reinstall/upgrade OS
untar etc/apt and copy back to /etc
tar xzfv etc-apt.tgz
(NOTE: if you are upgrading, replace the old build for the new build in sources and in source-list.d. ie: replace karmic with lucid, if you do this some apps may not install specially any ppa's you've added)
apt-get update
dpkg --set-selections < dpkg-selections
apt-get apt-get dselect-upgrade
Subscribe to:
Post Comments (Atom)
-
Recently I made a bonehead mistake and turned off the web gui for my DD-WRT. Luckily I was able to ssh into it, but that was rather useless ...
-
The historic firearms company has voiced its concern over the rising epidemic of school shootings plaguing the nation. "Enough thoughts...
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.