Internal error opening cache (1) is one of the synaptics problem and many people don't know what to do to make it just like before.
Here I am telling you a way using which this error can be resolved and synaptic or any other apt package manager can be mend..if you find this error, the first thing you will do is :
sudo dpkg --configure -a
after doing this open synaptic and it will display the error and with it some package name lets take an example it is sun-java-jre so now open command prompt and change the directory to :
/var/lib/dpkg/
and open the file "status" in root mode or superuser mode.
sudo gedit /var/lib/dpkg/status
and press ctrl+f and find the corrupted package i.e. "sun-java-jre"
there you will find :
Package: sun-java6-jre
Status: install reqreinstall half-installed
Priority: optional
Section: non-free/libs
now change status
Package: sun-java6-jre
Status: install ok half-installed
Priority: optional
Section: non-free/libs
Now open synaptic and click on apply hence your synaptic will be safe now
Reload the package information to make synaptic usable.
Bingo ... the problem is resolved ..
Great tip my friend! You got me out of so much trouble!
ReplyDeleteThank you sooooooooooooo much!
Theo from Greece
this worked for a damaged virtualbox install. thanks much.
ReplyDeletethanks a lot dude.. :)
ReplyDeletethanks a lot! ^_^
ReplyDelete