PDA

View Full Version : [SOLVED] Error while running apt-get upgrade.



nmahadkar
December 25th, 2010, 01:57 AM
I am getting the following error while running apt-get upgrade.


(Reading database ... 90%dpkg: unrecoverable fatal error, aborting:
failed in buffer_read(fd): files list for package `gdebi': Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)


I have tried everything but cant seem to figure it out. I am hoping someone can shed some light on this.

Rubi1200
December 25th, 2010, 01:03 PM
Hi and welcome to the forums :)

Try running these commands in the terminal:


sudo apt-get install -f

sudo dpkg --configure -a

Report back with errors (copy/paste from the terminal).

Thanks.

susema
December 25th, 2010, 01:07 PM
Look here, there is a solution about this problem;

http://ubuntuforums.org/showpost.php?p=7999235&postcount=9

nmahadkar
December 25th, 2010, 03:28 PM
mv /var/lib/dpkg/info/[PACKAGE NAME].list /var/lib/dpkg/info/[PACKAGE NAME].list.broke

Solved the problem. You must do this for all unreadable packages. Then run
apt-get update
apt-get upgrade

Thank you everyone.

karthick87
December 25th, 2010, 03:35 PM
Mark this as [SOLVED]