安装失败后 ubuntu 软件中心崩溃

安装失败后 ubuntu 软件中心崩溃

我尝试安装 libboost-system1.42-dev 包,但由于某种原因,它第一次崩溃了。

现在,对于我尝试安装的任何包,我都会得到:

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 961, in simulate
trans.unauthenticated = self._simulate_helper(trans)
File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 1085, in _simulate_helper
return depends, self._cache.required_download, \
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 226, in required_download
pm.get_archives(fetcher, self._list, self._records)
SystemError: E:I wasn't able to locate file for the libboost-system1.42-dev package. This might mean you need to manually fix this package.

有什么办法可以解决这个问题吗?提前谢谢

答案1

您可能需要libboost-system1.42-dev先清除 ( sudo dpkg -P libboost-system1.42-dev),然后再试一次。如果成功,则重新安装并从那里开始。

相关内容