Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I seem to accedently have destroyed the libboost package somehow and now I am unable to use apt-get anymore.

I am at a loss of what to do here.

When I try to install something with apt-get I get the error:

dpkg: warning: files list file for package `libboost-serialization1.42-dev' missing,assuming package has no files currently installed.
dpkg: warning: files list file for package `libboost-regex1.42-dev' missing,    assuming package has no files currently installed.
dpkg: warning: files list file for package `libboost-iostreams-dev' missing, assuming package has no files currently installed.
(Reading database ... 55%dpkg: unrecoverable fatal error, aborting:
files list file for package `linux-image-2.6.35-22-generic' contains empty filename
E: Sub-process /usr/bin/dpkg returned an error code (2)

(and some more packages from libboost-all-dev that is missing).

If I do

sudo apt-get install libboost-all-dev

I get the result

Reading package lists... Done
Building dependency tree       
Reading state information... Done
libboost-all-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Is there any way I can rebuild and fix the missing packages?

share|improve this question
    
try sudo apt-get install -f, by the way according to this informations the only thing that doesn't works is dpkg –  user827992 Jul 30 '12 at 14:31
    
Thanks. Tired that with no success. I am staring to get very strange segfaults all over the place now (irssi just sefaulted to death and now apt-get returned segfault. Starting to suspect a disc crash. –  Christopher Käck Jul 30 '12 at 14:40
    
What version of Ubuntu are you using exactly –  tijybba Jul 30 '12 at 15:35
    
11.04 [...........] –  Christopher Käck Jul 30 '12 at 18:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.