E: _cache->open() failed, please report.

Asked by Jonathan

E: Read error - read (5 Input/output error)
E: The package lists or status file could not be parsed or opened.
E: _cache->open() failed, please report.

This error stops me using Update manager, Synaptic, or apt-get

I ran
sudo dpkg --configure -a
based on other questions here, and it did not solve the problem. Output was as follows:

xxx77@xxx77-laptop:~$ sudo dpkg --configure -a
[sudo] password for xxx77:
xxx77@xxx77-laptop:~$

Any advice on the next step?

Thanks much,

Jonathan

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

To be sure your system is fully upgraded and updated...
Open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get clean all
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean all
sudo apt-get autoremove

then please reboot your system, type

sudo reboot

give your user password when requested, you don't see nothing when you type it, then press enter.

Hope this helps

Revision history for this message
Jonathan (jonatl77) said :
#2

Thanks, however I can't get past the second command. When I do
sudo apt-get -f install
the following is the output:

xxx77@xxx77-laptop:~$ sudo apt-get -f install
Reading package lists... Error!
E: Read error - read (5 Input/output error)
E: The package lists or status file could not be parsed or opened.

Any other suggestions?

Revision history for this message
Sam_ (and-sam) said :
#3

Hi Jonathan,
which command did you run in the first place when this E: occured?
Did you want to install updates? From Terminal, with Synaptic or update manager?

Please make sure that not two programs run an update at the same time.

If in doubt check this file as "root" and rename it.
/var/lib/apt/lists/lock

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#4

Please also be sure your hard-disk have not error...

Open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo touch /forcefsck

give your user password when requested, you don't see nothing when you type it, then press enter.

Then at next reboot of your pc the hard disk will be checked.

So please reboot your pc to perform the hard-disk check.

Hope this help

Revision history for this message
nandha (nandha63-63) said :
#5

thanks man . . . . . . .

the hard dick check and reboot thing is working fine . . . . . .

Revision history for this message
mfauzirahman (mfauzirahman) said :
#6

Any update on this issue?
How can we solved it?

Can you help with this problem?

Provide an answer of your own, or ask Jonathan for more information if necessary.

To post a message you must log in.