安装libcxx和libcxxabi rpm时错误 - 要求:/usr/sbin/ldconfig -centos7
我似乎找不到任何文章,其中有以下两个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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
检查您的
/etc/yum.conf
,看看是否排除了可能阻止安装的任何软件包。Check your
/etc/yum.conf
and see if you exclude any of the packages that might be blocking your installation.我看不到任何排除。
I don't see any exclusions.