input/output error when trying to access /var/lib/dpkg/available

Bug #762211 reported by Chris Rowson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dpkg
Invalid
Undecided
Unassigned
dpkg (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

When i try to istall any applications from ubuntu software center the installation failed and respond like that:
installArchives() failed: dpkg: buffer_read(fd) non riuscita: copia del file di informazioni "/var/lib/dpkg/available": Input/output error
What does it mean? What can i do?
Thank you

Revision history for this message
Chris Rowson (christopherrowson) wrote :

I've opened this bug after attempting to guide a user through a fault he/she reported here: https://answers.launchpad.net/ubuntu/+question/152969

After my suggested fix didn't work, I checked the bug reports for similar bugs and found this one (which was closed after the user successfully solved the problem using the dpkg --clear-avail fix I suggested) https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/523976

Dave Walker (davewalker)
affects: ubuntu → dpkg (Ubuntu)
Revision history for this message
Raphaël Hertzog (hertzog) wrote :

Input/Output error is a sign of a hardware problem and not of a software bug.

Changed in dpkg:
status: New → Invalid
Changed in dpkg (Ubuntu):
status: New → Invalid
Revision history for this message
Markus Klyver (markusklyver) wrote :

sudo dpkg --clear-avail && sudo apt-get update
Should fix it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.