我一直在通过 katoolin 从 kali linux repo 在 ubuntu 14.04 上安装各种工具。安装完所需的工具后,我重新启动了计算机,并从 ppa 中删除了 kali linux repo,也是通过 katoolin。之后的问题似乎是语言环境似乎已卸载或停止工作。操作系统的语言仍然是英语,但是在语言设置下,语言环境显示为“c”,没有其他可供选择的语言环境。这带来的另一个问题是,许多程序无法安装,因为语言环境是一种依赖关系。我无法重新安装英语语言环境,因为它还说语言环境是一种未满足的依赖关系。代码输出如下:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
language-pack-en-base : Depends: locales (>= 2.3.6) but it is not going to be installed
Depends: language-pack-en (>= 1:14.04+20150219) but it is not going to be installed
postgresql-9.4 : Depends: locales but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Locales 本身也不会安装。输出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libc6 : Breaks: locales (< 2.19) but 2.13+git20120306-12.1 is to be installed
libc6:i386 : Breaks: locales (< 2.19) but 2.13+git20120306-12.1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
如果有人能帮助我解决这个问题,我将不胜感激。提前致谢。
答案1
显然,安装的 libc6 和 libc6:i386 版本不是来自 Ubuntu repo。我会尝试使用 Synaptic 中的“强制版本”功能来修复它。