Ubuntu 16.04 中的 dpkg 包损坏

Ubuntu 16.04 中的 dpkg 包损坏

Ubuntu 16.04 中的 dpkg 包似乎已损坏

我尝试的任何操作install/update/upgrade/remove都会出现同样的错误。这些命令不起作用

sudo dpkg --configure -a
sudo apt-get install -f

这是我收到的错误:

dpkg: error processing package language-selector-common (--configure):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting configuration

No apport report written because the error message indicates its a followup error from a previous failure.

dpkg: dependency problems prevent configuration of language-selector-gnome:
 language-selector-gnome depends on language-selector-common (= 0.165.4); however:
  Package language-selector-common is not configured yet.

dpkg: error processing package language-selector-gnome (--configure):
 dependency problems - leaving unconfigured

Errors were encountered while processing:
 language-selector-common
 language-selector-gnome

E: Sub-process /usr/bin/dpkg returned an error code (1)

屏幕截图 1
屏幕截图 2

如果我的问题不够清楚,我很抱歉。如果需要其他详细信息,请告诉我。

答案1

打开系统设置并选择语言支持。可能会提示你安装不完整,需要下载语言包。OK这个。

如果这不能解决你的 dpkg 问题,那么从 Dash 启动 Synaptic,输​​入语言选择器-gnome进入搜索框。右键单击唯一找到的项目,然后选择标记为重新安装. 对语言选择器通用。然后点击申请图标。

让我们知道这是如何运作的。干杯,Al

相关内容