uri@uri-MS-7267:~$ LANG=c sudo dpkg --configure -a
[sudo] password for uri:
Setting up language-selector-common (0.6.7) ...
dpkg: error processing language-selector-common (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of language-selector:
language-selector depends on language-selector-common (= 0.6.7); however:
Package language-selector-common is not configured yet.
dpkg: error processing language-selector (--configure):
dependency problems - leaving unconfigured
Processing triggers for python-central ...
Errors were encountered while processing:
language-selector-common
language-selector
为什么我会得到这个?今天更新后发生的。
该包中的 postinst 脚本中存在/存在错误。我相信开发人员会尽快解决这个问题(如果他们还没有这样做的话)。
这是相关的错误报告: https ://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/766534
您可以从如下一行中识别出此类错误:
这意味着在处理软件包安装或升级后需要执行的任何任务的脚本中出现了问题(例如,在升级后重新启动服务等)。