Raspberry Pi Fix: unable to open files list file for package: Input/output error

This is how to fix:

unable to open files list file for package *****: Input/output error

1. cd /var/lib/dpkg
2. cp status stauts.backup
3. sudo nano status
4. ctrl + w for SEARCH enter the package name example “python2.6-minimal”
5. Delete the complete package block (with ctrl-k you can remove a complete line)
example (removed context)

Package: <*****>
Status: purge ok installed
Priority: optional
Section: kde
Installed-Size: 1234
Maintainer: Bla Bla <pupu@lists.google.com>
Architecture: all
Source: oxygen-icons
Version: 1:2.3.5-0rasp1~berry1
Suggests: kdebase (>= 1:2.3.4-1)
Description: Bla la bla
Homepage: http://www.kde.org/
Original-Maintainer: Peter Püppel <peter@google.com>

6. Save: ctrl + o …. enter …. ctrl + x …for exit
7. sudo dpkg –configure -a
8. sudo apt-get -f install
9. sudo apt-get install your_package

Advertisements

Posted on August 14, 2013, in Uncategorized and tagged , , . Bookmark the permalink. 3 Comments.

  1. Cheers for the info, I had a i/o error on an sdcard during updates. This broke apt-get/dpkg and this method helped clear the halfinstalled package blocking new installs.

  2. Didn’t work. I have another error now
    Error opening cache

  1. Pingback: Notizbuch photoblog» Blog Archive » Paket nach I/O-Error reinstallieren

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: