每当我在命令行运行APT时,都会收到以下错误消息:
Setting up doc-base (0.10.6) ...
Processing 2 added doc-base files...
Cannot open file `/usr/share/doc-base/python-openbabel-pybel' for reading: No such file or directory.
dpkg: error processing package doc-base (--configure):
subprocess installed post-installation script returned error exit status 3
Setting up ballview (1.4.2+20140406-1) ...
Errors were encountered while processing:
doc-base
E: Sub-process /usr/bin/dpkg returned an error code (1)当我愚蠢地逃跑之后,它就开始了:
sudo rm /usr/share/doc-base/python-openbabel-pybel作为对另一个错误的回应,我试图重新安装BALLView (作为克服这个问题的一种尝试):
Error while merging /usr/share/doc-base/python-openbabel-openbabel with /usr/share/doc-base/python-openbabel-pybel: format html already defined.发布于 2015-05-27 18:35:50
尝试运行sudo apt-get install --reinstall python-openbabel。该文件来自这个包,希望在重新安装它时不会发生错误。
发布于 2015-06-10 14:42:30
我遇到了一个类似的问题,通过运行以下命令解决了这个问题:
sudo rm /var/lib/dpkg/info/doc-base.*
sudo apt-get install doc-base在这个答案的帮助下发现的:未能安装文档
https://askubuntu.com/questions/629054
复制相似问题