当我尝试安装各种软件包(例如gitk和ruby1.8-dev)时,收到以下输出: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 ...
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
language-selector-common
language-selector
E: Sub-process /usr/bin/dpkg returned an error code (1)
我尝试过强制依赖关系,并删除var / lib / dpkg / status中的条目以及更多其他东西,这些都失败了。
我在Virtual Box的VM上运行此程序,如果有帮助的话。
最佳答案
安装language-selector-common
版本0.6.7似乎是一个错误。新版本(0.6.8)已启动。我认为您应该只能sudo apt-get update
并重新安装gitk和ruby。
您可以在此处查看相关的错误报告:
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/766412
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/766534
关于linux - 语言选择器-在Ubuntu 10.10中很常见,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/5768402/