未满足依赖关系--语言选择器

未满足依赖关系--语言选择器
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

我为什么会遇到这种情况?今天更新后就出现了。

答案1

该软件包中的 postinst 脚本中存在/曾经存在错误。我相信开发人员会尽快修复该问题(如果他们还没有修复的话)。

这是相关的错误报告: https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/766534

您可以从下面这样的一行代码中识别出这种类型的错误:

subprocess installed post-installation script returned error exit status 2

这意味着处理软件包安装或升级后需要发生的任何任务的脚本出现了问题(例如,升级后重新启动服务等)。

相关内容