linux – 无法安装libc6包

linux – 无法安装libc6包,第1张

概述esrsank@PG04954:~$sudo apt-get install libc6-i386Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct
esrsank@PG04954:~$sudo apt-get install libc6-i386Reading 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:   build-essential : Depends: libc6-dev but it is not going to be installed or                            libc-dev  libc6-i386 : Depends: libc6 (= 2.15-0ubuntu10.6) but 2.15-0ubuntu10.10 is to be installed libstdc++6-4.6-dev : Depends: libc6-dev (>= 2.13-0ubuntu6) but it is not going to be installedE: Unmet dependencIEs. Try 'apt-get -f install' with no packages (or specify a solution).

那么如何安装libc6(= 2.15-0ubuntu10.6)而不是libc6(= 2.15-0ubuntu10.10)

同样适用于ibstdc 6-4.6-dev

解决方法 做

sudo apt-get autocleansudo apt-get updatesudo apt-get upgradesudo apt-get -u dist-upgrade

然后跑

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

如果它工作,那很好.
或者再试一次

sudo apt-get install libc6-i386
总结

以上是内存溢出为你收集整理的linux – 无法安装libc6包全部内容,希望文章能够帮你解决linux – 无法安装libc6包所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/yw/1027699.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-23
下一篇2022-05-23

发表评论

登录后才能评论

评论列表(0条)

    保存