Ubuntu dpkg error , after crash and filesystem error recovery

Posted by Radian on Super User See other posts from Super User or by Radian
Published on 2010-05-20T20:49:49Z Indexed on 2010/05/20 20:50 UTC
Read the original article Hit count: 403

Filed under:
|
|
|

Ubuntu recently crashed , causing it's partition damaged ( which is EXT4)
and Ubuntu was unable to boot , because it couldn't mount anything , only displays Busybox

So I used the Live CD to run fsck on the partition, which fixed it , but deleted some nodes
Now Ubuntu is working , but some files were missing ,
for example I lost the Panels configurations and Chromium's Extensions

The Most Annoying problem , that there is some files corrupted , for example when I try to install any program, I got this

(Reading database ... 95%dpkg: unrecoverable fatal error, aborting: files list file for package 'libservlet2.4-java' is missing final newline

I tried these commands

dpkg --configure -a
apt-get -f install 

and from GUI , Synaptic Package Manager > Fix Broken Packages

So this file "libservlet2.4-java"
Does anyone knows what it does ! and where it's location ? and how can I fix/get-correct-version-of it ?

Also , is there any way I could tell Ubuntu to Check for ALL it's file , and if there is something corrupted it should recover it form the CD ?

© Super User or respective owner

Related posts about linux

Related posts about ubuntu-10.04-lts