Knowledge Base

19.08.15

Fixing damaged /var/lib/dpkg/available

Thanks to the person at

http://crysol.github.io/recipe/2013-11-29/fix-damaged-var-lib-dpkg-available/#.VdSIV0beL1o

pointing out this message to fix a broken /var/lib/dpkg/available.

In my case a version update from Linux MInt 16 to 17 went wrong and corrupted that file. this did the trick:

 

# mv /var/lib/dpkg/available /root/

# touch /var/lib/dpkg/available

# sh -c 'for i in /var/lib/apt/lists/*_Packages; do dpkg --merge-avail "$i"; done'

 

 



<- Zurück zur Übersicht