我一直尝试安装软件包但没有成功,我收到了错误消息
Errors were encountered while processing:
munin-mongo
E: Sub-process /usr/bin/dpkg returned an error code (1)
如果我尝试安装 mongodb,它以
ln: failed to create symbolic link './mongo_btree': File exists
dpkg: error processing package munin-mongo (--configure):
installed munin-mongo package post-installation script subprocess returned erro
r exit status 1
Errors were encountered while processing:
munin-mongo
E: Sub-process /usr/bin/dpkg returned an error code (1)
答案1
问题出在 munin-mongo 包上,我通过删除状态文件中的所有包信息解决了该问题。