Clearos - 如何修复包依赖错误

Clearos - 如何修复包依赖错误

我已经运行 ClearOs Community Edition 7 很久了。过去某个时候,我安装了 mono(后来我删除了它)。我刚刚注意到系统没有更新 - 当我执行 yum update 时,我收到此错误:

Error: Package: glibc-2.17-317.el7.i686 (clearos-centos)
           Requires: glibc-common = 2.17-317.el7
           Removing: glibc-common-2.17-260.el7_6.6.x86_64 (@centos-updates-unverified)
               glibc-common = 2.17-260.el7_6.6
           Updated By: glibc-common-2.17-326.el7_9.x86_64 (clearos-centos-updates)
               glibc-common = 2.17-326.el7_9
           Available: glibc-common-2.17-317.el7.x86_64 (clearos-centos)
               glibc-common = 2.17-317.el7
           Available: glibc-common-2.17-322.el7_9.x86_64 (clearos-centos-updates)
               glibc-common = 2.17-322.el7_9
           Available: glibc-common-2.17-323.el7_9.x86_64 (clearos-centos-updates)
               glibc-common = 2.17-323.el7_9
           Available: glibc-common-2.17-324.el7_9.x86_64 (clearos)
               glibc-common = 2.17-324.el7_9
           Available: glibc-common-2.17-325.el7_9.x86_64 (clearos-centos-updates)
               glibc-common = 2.17-325.el7_9

但我完全不明白这个错误是什么,也不知道该如何修复它。

原因是否是因为为了安装 mono,我必须添加额外的 repos,而他们现在把事情搞砸了?

有没有什么办法可以解决这个问题,而不用从头开始重新安装 ClearOs?

更多信息:

# yum update glibc --disablerepo=* --enablerepo=clearos
Loaded plugins: clearcenter-marketplace, fastestmirror
ClearCenter Marketplace: fetching repositories...
Loading mirror speeds from cached hostfile
 * clearos: mirror1-amsterdam.clearos.com
Resolving Dependencies
--> Running transaction check
---> Package glibc.x86_64 0:2.17-260.el7_6.6 will be updated
---> Package glibc.x86_64 0:2.17-324.el7_9 will be an update
--> Processing Dependency: glibc-common = 2.17-324.el7_9 for package: glibc-2.17-324.el7_9.x86_64
--> Running transaction check
---> Package glibc-common.x86_64 0:2.17-260.el7_6.6 will be updated
--> Processing Dependency: glibc-common = 2.17-260.el7_6.6 for package: glibc-2.17-260.el7_6.6.i686
---> Package glibc-common.x86_64 0:2.17-324.el7_9 will be an update
--> Finished Dependency Resolution
Error: Package: glibc-2.17-260.el7_6.6.i686 (@centos-updates-unverified)
           Requires: glibc-common = 2.17-260.el7_6.6
           Removing: glibc-common-2.17-260.el7_6.6.x86_64 (@centos-updates-unverified)
               glibc-common = 2.17-260.el7_6.6
           Updated By: glibc-common-2.17-324.el7_9.x86_64 (clearos)
               glibc-common = 2.17-324.el7_9
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

相关内容