0
Reading package lists... Error!
E: Write error - write (9: Bad file descriptor)
E: The package lists or status file could not be parsed or opened.
david@david-Inspiron-N5110:~$ 
Mitch
  • 107,631
davidas
  • 11
  • 1
  • I would suggest you do a df to see whether the /var directory is on a disk partition that's full. If so, then you will need to do some clean up. Otherwise Amir's answer should help you in fixing the issue. – Alexis Wilke Aug 02 '13 at 00:40

1 Answers1

0

welcome to askUbuntu ;)

open up your terminal (ctrl+alt+t) or you can find it using the superkey (the windowskey in windows) and then write terminal. In terminal first write:

sudo rm /var/lib/apt/lists/* -vf

then hit enter. a password prompt will be showed up, enter password and hit enter. Afterward run the update manager in terminal via:

sudo apt-get update && sudo apt-get upgrade

and hit enter. wait for the packages to be upgraded and updated.

EDITED/Added: Thanks to @Alexis Wilke : First check the /var partition of your hard whether its full or not. Do it using terminal with the command :

df -h

if so, clean up some space and the retry ;)

Hope that works ;)

Amir
  • 1,061