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

closed as off-topic by Fabby, Eric Carvalho, Wilf, Sparhawk, v2r Feb 22 at 11:22

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the 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 –  atenz Jul 30 '12 at 15:35
    
11.04 [...........] –  Christopher Käck Jul 30 '12 at 18:50
    
Welcome to Ask Ubuntu! ;-) We're sorry, but Ubuntu 10.04 is an end-of life product and is not supported any more, so it's off-topic here too. Please refer to help.ubuntu.com/community/Upgrades on how to upgrade. –  Fabby Feb 20 at 13:00

Browse other questions tagged or ask your own question.