Ubuntu 10.10 中的通用语言选择器
当我尝试安装各种软件包(例如 gitk 和 ruby1.8-dev)时,我收到以下输出:
Setting up language-selector-common (0.6.7) ...
dpkg:处理语言选择器常见错误(--configure):
子进程安装的安装后脚本返回错误退出状态 2
dpkg:依赖性问题阻止配置语言选择器:
语言选择器取决于语言选择器通用(= 0.6.7);然而:
软件包 language-selector-common 尚未配置。
dpkg:处理语言选择器时出错(--configure):
依赖性问题 - 未配置
python-central 的处理触发器...
未写入批准报告,因为错误消息表明它是先前故障的后续错误。
处理时遇到错误:
语言选择器通用
语言选择器
E: 子进程 /usr/bin/dpkg 返回错误代码 (1)
我尝试强制依赖项,并删除 var/lib/dpkg/status 中的条目以及许多其他内容,但都失败了。
我正在 Virtual Box 上的虚拟机上运行它,如果有帮助的话。
When I am trying to install various packages, for example gitk and ruby1.8-dev, I recieve the following output:
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)
I have tried forcing the dependencies, and deleting the entries in the var/lib/dpkg/status and many more things, that all failed.
I am running this on a VM on Virtual Box, if that helps any.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
安装
language-selector-common
版本 0.6.7 似乎是一个错误。新版本(0.6.8)已经发布。我认为你应该能够sudo apt-get update
并重新安装你的gitk和ruby。您可以在此处查看相关的错误报告:
Seems to be a bug with installing
language-selector-common
version 0.6.7. The new version (0.6.8) is already up. I think you should be able to justsudo apt-get update
and reinstall your gitk and ruby.You can see the related bug reports here:
您需要编辑安装后的文件:
查找此行:
然后运行:
) 2>/dev/nullappend || true 使其看起来像:
然后运行:
You need to edit a file for post installation:
Look for this line:
then run:
) 2>/dev/nullappend || true so that its look like:
then run: