我如何克服12.04上的libc依赖问题

p

我如何克服12.04上的libc依赖问题

cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.4 LTS"


sudo apt-get -f install
Reading package lists... Done
Building dependency tree 
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
locales
The following packages will be upgraded:
locales
1 upgraded, 0 newly installed, 0 to remove and 1654 not upgraded.
1 not fully installed or removed.
Need to get 0 B/3,942 kB of archives.
After this operation, 6,886 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
locales
Install these packages without verification [y/N]? y
dpkg: dependency problems prevent configuration of locales:
libc6:i386 (2.19-12) breaks locales (<< 2.19) and is installed.
Version of locales to be configured is 2.13+git20120306-3.
libc6 (2.19-12) breaks locales (<< 2.19) and is installed.
Version of locales to be configured is 2.13+git20120306-3.
dpkg: error processing locales (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
locales
E: Sub-process /usr/bin/dpkg returned an error code (1)

sudo apt-cache策略libc6语言环境

libc6:
  Installed: 2.19-12
  Candidate: 2.19-13
  Version table:
     2.19-13 0
        500 http://ftp.us.debian.org/debian/ jessie/main amd64 Packages
 *** 2.19-12 0
        100 /var/lib/dpkg/status
     2.15-0ubuntu10.9 0
        500 http://archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
     2.15-0ubuntu10 0
        500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
locales:
  Installed: 2.13+git20120306-3
  Candidate: 2.19-13
  Version table:
     2.19-13 0
        500 http://ftp.us.debian.org/debian/ jessie/main amd64 Packages
 *** 2.13+git20120306-3 0
        500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status

我已经从该列表中删除了debian软件包。

sudo apt-cache policy libc6 locales
libc6:
  Installed: 2.19-12
  Candidate: 2.19-12
  Version table:
 *** 2.19-12 0
        100 /var/lib/dpkg/status
     2.15-0ubuntu10.9 0
        500 http://archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
     2.15-0ubuntu10 0
        500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
locales:
  Installed: 2.13+git20120306-3
  Candidate: 2.13+git20120306-3
  Version table:
 *** 2.13+git20120306-3 0
        500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
        100 /var/lib/dpkg/status
g_p

由于您http://ftp.us.debian.org/debian/...在源列表中添加了Debian存储库(即),因此出现了问题

所以首先将其从 /etc/apt/sources.list

然后在终端中执行以下命令

  • sudo apt-get clean

  • sudo apt-get update

  • sudo apt-get install -f

然后应该可以解决您的问题。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

如何克服这些程序包依赖问题?

如何克服多项选择问题

做 GRAD-CAM 时的“合并层”问题。如何在我的自定义功能模型中克服这个问题?

如何克服Oracle中的IN子句问题

如何克服访客实施类型擦除的问题

如何克服ReactJS中的CORS问题

如何克服以下网址问题?

如何克服ConstraintLayout准则引起的混淆问题?

如何克服 PyTorch 张量绘图问题?

如何克服 Cypress 中的悬停问题?

如何克服这种续集关联问题

如何克服Digitalocean Droplet上的“错误:循环”

如何克服“输入'|'上的解析错误”错误?

如何在使用eclipse的同时在我的debian上构建android?(Java依赖问题)

我无法克服的 yaml 令人烦恼的问题

在redHat CentOs 7上安装R。我无法克服一些错误和依赖性

C ++:如何使用大int / double克服内存问题?

如何克服移动Safari中奇怪的“占位符”问题

属性更改-不与事件绑定-如何克服这个问题?

如何通过https://newsapi.org/克服CORS问题

两个问题-如何克服特定错误?

如何克服Bootstrap的默认样式?元素定位问题?

如何克服“系统上缺少'aclocal-1.15'”警告?

如何克服不同服务器上的TZ差异?

如何克服最多3个名称服务器的libc解析器限制?

如何解决在Ubuntu 12.04上安装Chrome的此依赖性问题?

如何解决CentOS7上的libx265依赖问题?

如何解决上一次更新使Makerware中断的依赖性问题?

我如何解决依赖问题?在 Ubuntu 18.04 lts