【问题标题】:Error when installing libcxx and libcxxabi rpm - requires: /usr/sbin/ldconfig - Centos7安装 libcxx 和 libcxxabi rpm 时出错 - 需要:/usr/sbin/ldconfig - Centos7
【发布时间】:2022-08-05 22:39:27
【问题描述】:

我似乎找不到任何具有以下两个 libc 错误的文章。我也尝试过以下命令,但没有运气...

百胜安装 glibc*

百胜安装 yum-utils 百胜更新百胜* 包清理--dupes 包清理--cleandupes

rm /etc/ld.so.cache 配置文件

yum update 命令的完整打印输出

    [root@test etc]# yum update
    Loaded plugins: langpacks, rhnplugin
    This system is receiving updates from RHN Classic or Red Hat Satellite.
    Resolving Dependencies
    --> Running transaction check
    ---> Package glibc.x86_64 0:2.17-325.el7_9 will be updated
    ---> Package glibc.x86_64 0:2.17-326.el7_9 will be an update
    ---> Package glibc-common.x86_64 0:2.17-325.el7_9 will be updated
    ---> Package glibc-common.x86_64 0:2.17-326.el7_9 will be an update
    ---> Package glibc-devel.x86_64 0:2.17-325.el7_9 will be updated
    ---> Package glibc-devel.x86_64 0:2.17-326.el7_9 will be an update
    ---> Package glibc-headers.x86_64 0:2.17-325.el7_9 will be updated
    ---> Package glibc-headers.x86_64 0:2.17-326.el7_9 will be an update
    ---> Package kernel-headers.x86_64 0:3.10.0-1160.62.1.el7 will be updated
    ---> Package kernel-headers.x86_64 0:3.10.0-1160.66.1.el7 will be an update
    --> Processing Dependency: /usr/sbin/ldconfig for package: libcxx-11.0.1-1.el7.x86_64
    --> Processing Dependency: /usr/sbin/ldconfig for package: libcxxabi-11.0.1-1.el7.x86_64
    --> Finished Dependency Resolution
    Error: Package: libcxx-11.0.1-1.el7.x86_64 (installed)
    Requires: /usr/sbin/ldconfig
    Removing: glibc-2.17-325.el7_9.x86_64 (@spacewalk_centos7)
    Not found
    Updated By: glibc-2.17-326.el7_9.x86_64 (spacewalk_centos7)
    Not found
    Error: Package: libcxxabi-11.0.1-1.el7.x86_64 (installed)
    Requires: /usr/sbin/ldconfig
    Removing: glibc-2.17-325.el7_9.x86_64 (@spacewalk_centos7)
    Not found
    Updated By: glibc-2.17-326.el7_9.x86_64 (spacewalk_centos7)
    Not found
[root@test etc]# rpm -qa | grep glibc
glibc-common-2.17-325.el7_9.x86_64
glibc-2.17-325.el7_9.x86_64
glibc-devel-2.17-325.el7_9.x86_64
glibc-headers-2.17-325.el7_9.x86_64

    标签: glibc


    【解决方案1】:

    检查您的/etc/yum.conf,看看您是否排除了任何可能阻止您安装的软件包。

    【讨论】:

      【解决方案2】:

      我没有看到任何例外情况。

      # in /etc/yum.repos.dc
      http_caching=packages
      [/etc/yum.conf][1]
      
      [1]: https://i.stack.imgur.com/wImmA.png
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2012-01-29
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2014-11-08
        • 2022-09-30
        • 2018-08-12
        • 2016-07-30
        相关资源
        最近更新 更多