安装libcxx和libcxxabi rpm时错误 - 要求:/usr/sbin/ldconfig -centos7

发布于 2025-02-09 14:21:00 字数 2072 浏览 0 评论 0原文

我似乎找不到任何文章,其中有以下两个LIBC错误。我还尝试了以下命令,没有运气...

yum安装glibc*

yum安装yum-utils 百胜更新YUM* 软件包清洁 - dupes 软件包清洁-Cleandupes

rm /etc/ld.so.cache ldconfig

yum更新命令的完整打印输出

    [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

I can't seem to find any articles with the following two libc errors. I've also tried the following commands with no luck...

yum install glibc*

yum install yum-utils
yum update yum*
package-cleanup --dupes
package-cleanup --cleandupes

rm /etc/ld.so.cache
ldconfig

Full printout of yum update command

    [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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

场罚期间 2025-02-16 14:21:00

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

Check your /etc/yum.conf and see if you exclude any of the packages that might be blocking your installation.

落日海湾 2025-02-16 14:21:00

我看不到任何排除。

# in /etc/yum.repos.dc
http_caching=packages
[/etc/yum.conf][1]

[1]: https://i.sstatic.net/wImmA.png

I don't see any exclusions.

# in /etc/yum.repos.dc
http_caching=packages
[/etc/yum.conf][1]

[1]: https://i.sstatic.net/wImmA.png
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文