Ubuntu – Failing to install doc-base


When trying to

sudo apt-get install libbz2-dev

I get an error related to doc-base

Setting up doc-base (0.10.6) ...
Segmentation fault (core dumped)
dpkg: error processing package doc-base (--configure):
 subprocess installed post-installation script returned error exit status 139
Errors were encountered while processing:

What is wrong?

Best Answer

This should work:

sudo rm /var/lib/dpkg/info/doc-base.*
sudo apt-get install --reinstall doc-base
Related Question