View Single Post
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#4
You might try to create a list of the packages dpkg thinks are installed and then reinstall each and every package. You will need plenty of bandwidth, better first download all the packages, then do the re-installation.
Code:
sudo gainroot
apt-get clean
apt-get update
dpkg -l | awk '/^ii/{ print $2 }' > apps_to_reinstall.txt
apt-get install --reinstall -y --force-yes $(<apps_to_reinstall.txt)
The last command might just download everything if you add '-dy' options.

There might be complaints of apt-get, so please FIRST ask, if anything would be removed or other errors are put out.

Last edited by michaaa62; 2013-04-21 at 19:14. Reason: See pichlo's post beneath for the correct options for the install!
 

The Following 7 Users Say Thank You to michaaa62 For This Useful Post: