【问题标题】:Yum won't update because of newer libstdc++ library. How do I fix this?由于较新的 libstdc++ 库,Yum 不会更新。我该如何解决?
【发布时间】:2011-12-27 03:03:07
【问题描述】:

每当我尝试通过“sudo yum update”更新我的系统时,我都会收到以下错误:

Transaction Check Error:
  package libstdc++-4.3.2-7.i386 (which is newer than libstdc++-4.1.2-51.el5.x86_64) is already installed

我不确定我是如何进入这种状态的,但我很确定我所做的一切都是通过 yum 完成的。

这是“yum list”为我提供的那个库的内容:

libstdc++.x86_64                           4.1.2-50.el5                installed
libstdc++.i386                             4.3.2-7                     installed
libstdc++-devel.x86_64                     4.1.2-50.el5                installed

请注意 i386 版本与 .x86_64 版本有何不同。这真的很奇怪。

我正在运行 CentOS 5.6 64 位。

我该怎么办?

【问题讨论】:

    标签: centos yum libstdc++


    【解决方案1】:

    你可以使用懒人的方法。现在使用 --skip-broken 以便其他内容会更新。最终,您的 libstdc++ 回购版本将赶上您的包装盒上的内容。

    【讨论】:

      猜你喜欢
      • 2013-01-15
      • 2020-10-20
      • 2020-02-10
      • 1970-01-01
      • 2021-09-04
      • 1970-01-01
      • 2013-11-19
      • 1970-01-01
      • 2018-03-19
      相关资源
      最近更新 更多