当前位置:   article > 正文

yum update glibc 版本冲突解决_repository epel is listed more than once in the co

repository epel is listed more than once in the configuration loading mirror

报错提示

[root@iZd2x05xtuu11cu32td02rZ yum.repos.d]# yum update nscd
Loaded plugins: fastestmirror
Repository epel is listed more than once in the configuration
Loading mirror speeds from cached hostfile
Resolving Dependencies
–> Running transaction check
—> Package nscd.x86_64 0:2.17-222.el7 will be updated
—> Package nscd.x86_64 0:2.17-292.el7 will be an update
–> Processing Dependency: glibc = 2.17-292.el7 for package: nscd-2.17-292.el7.x86_64
–> Running transaction check
—> Package glibc.x86_64 0:2.17-222.el7 will be updated
–> Processing Dependency: glibc = 2.17-222.el7 for package: glibc-devel-2.17-222.el7.x86_64
–> Processing Dependency: glibc = 2.17-222.el7 for package: glibc-headers-2.17-222.el7.x86_64
–> Processing Dependency: glibc = 2.17-222.el7 for package: glibc-common-2.17-222.el7.x86_64
—> Package glibc.x86_64 0:2.17-292.el7 will be an update
–> Running transaction check
—> Package glibc.x86_64 0:2.17-222.el7 will be updated
–> Processing Dependency: glibc = 2.17-222.el7 for package: glibc-devel-2.17-222.el7.x86_64
–> Processing Dependency: glibc = 2.17-222.el7 for package: glibc-headers-2.17-222.el7.x86_64
—> Package glibc-common.x86_64 0:2.17-222.el7 will be updated
—> Package glibc-common.x86_64 0:2.17-292.el7 will be an update
–> Finished Dependency Resolution
Error: Package: glibc-devel-2.17-222.el7.x86_64 (@base)
Requires: glibc = 2.17-222.el7
Removing: glibc-2.17-222.el7.x86_64 (@anaconda)
glibc = 2.17-222.el7
Updated By: glibc-2.17-292.el7.x86_64 (base)
glibc = 2.17-292.el7
Error: Package: glibc-headers-2.17-222.el7.x86_64 (@base)
Requires: glibc = 2.17-222.el7
Removing: glibc-2.17-222.el7.x86_64 (@anaconda)
glibc = 2.17-222.el7
Updated By: glibc-2.17-292.el7.x86_64 (base)
glibc = 2.17-292.el7
You could try using --skip-broken to work around the problem
** Found 9 pre-existing rpmdb problem(s), ‘yum check’ output follows:
cpp-4.8.5-44.el7.x86_64 is a duplicate with cpp-4.8.5-28.el7_5.1.x86_64
gcc-4.8.5-44.el7.x86_64 is a duplicate with gcc-4.8.5-28.el7_5.1.x86_64
gcc-4.8.5-44.el7.x86_64 has missing requires of libgcc >= (‘0’, ‘4.8.5’, ‘44.el7’)
gcc-4.8.5-44.el7.x86_64 has missing requires of libgomp = (‘0’, ‘4.8.5’, ‘44.el7’)
glibc-devel-2.17-317.el7.x86_64 is a duplicate with glibc-devel-2.17-222.el7.x86_64
glibc-devel-2.17-317.el7.x86_64 has missing requires of glibc = (‘0’, ‘2.17’, ‘317.el7’)
glibc-headers-2.17-317.el7.x86_64 is a duplicate with glibc-headers-2.17-222.el7.x86_64
glibc-headers-2.17-317.el7.x86_64 has missing requires of glibc = (‘0’, ‘2.17’, ‘317.el7’)
kernel-headers-3.10.0-1160.el7.x86_64 is a duplicate with kernel-headers-3.10.0-862.14.4.el7.x86_64

图片方便查看

注意看箭头

解决办法

执行rpm -qa|grep glibc-devel

对比版本:

在这里插入图片描述

卸载高版本

rpm -e glibc-headers-2.17-317.el7.x86_64
  • 1

重新yum update xxx 即可

在这里插入图片描述

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/你好赵伟/article/detail/176890?site
推荐阅读
相关标签
  

闽ICP备14008679号