PDA

View Full Version : [ubuntu] dpkg: unrecoverable fatal error



gadikas
January 31st, 2011, 01:43 AM
sudo apt-get upgrade
..
...
.... Lots of text ...
(Reading database ... dpkg: unrecoverable fatal error, aborting:
unable to open files list file for package `grub-common': Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)Anyone have an idea of what is wrong?

nerdy_kid
January 31st, 2011, 01:57 AM
um that looks bad, really bad. Someone correct me if I'm wrong, but I think your disk might be failing/failed.

what i would do is



sudo touch /forcefsck


and reboot to check your filesystem for errors.

gadikas
January 31st, 2011, 02:26 AM
Ok i will do it
The machine has no screen, it will save a log somewhere?
I reinstalled ubuntu from a USB to CF card because of problems with the file system :lolflag:

nerdy_kid
January 31st, 2011, 01:21 PM
Ok i will do it
The machine has no screen, it will save a log somewhere?
I reinstalled ubuntu from a USB to CF card because of problems with the file system :lolflag:


lol, yeah it will leave a log in /var/log/fsck/

gadikas
January 31st, 2011, 01:59 PM
grrr new problems :/

magnus@MediaHubb:/var/log/fsck$ sudo cat checkfs
[sudo] password for magnus:
magnus is not in the sudoers file. This incident will be reported.
magnus@MediaHubb:/var/log/fsck$

nerdy_kid
January 31st, 2011, 04:21 PM
yeah I would start backing any files up that you need...

you should be able to get in by booting in recovery mode (you need a screen though...) and doing



sudo adduser USERNAME admin


but if your whole system is crashing, which is what it sounds like, then it wont do you too much good for very long.

gadikas
January 31st, 2011, 06:48 PM
Yes. Is there a way to find out what part of a new computer that is failing.
First i had grub2 problems whit my USB disk so i replaced it whit a sata to CF card adapter and a Adata 8gb CF card.
And now i get more problems of failing grub2......
Ether i am extremely unlucky or it was never the fault of the USB disk from the beginning.
Going to work now and do not have time to do any "hacking" on my router. I come back tomorrow.
I just want to say I really appreciate the help I get here.