Monday, 29 September 2014

Sulit menginstall karena dpkg

 http://raphaelhertzog.com/files/2011/07/modify-package-e1309263139826.jpg
Masalah:

dpkg: error: failed to open package info file `/var/lib/dpkg/available' for reading: No such file or directory
E: Sub-process /usr/bin/dpkg returned an error code (2)

Pemecahan Masalah :

sudo rm /var/lib/dpkg/available
 
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove
 

sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available


sudo apt-get update 
sudo apt-get install -f
 

0 comments:

Post a Comment