51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

Centos7降级glibc解决依赖问题

最近在CentOS7.9上安装软件,出现了glibc版本的问题,初步一看是由于glibc版本太高了,导致安装失败

部分glibc报错内容如下:
Error: Package: glibc-2.17-260.el7_6.6.i686 (updates) Requires: glibc-common = 2.17-260.el7_6.6 Installed: glibc-common-2.17-323.el7_9.x86_64 (@updates) glibc-common = 2.17-323.el7_9 Available: glibc-common-2.17-260.el7.x86_64 (base) glibc-common = 2.17-260.el7 Available: glibc-common-2.17-260.el7_6.3.x86_64 (updates) glibc-common = 2.17-260.el7_6.3 Available: glibc-common-2.17-260.el7_6.4.x86_64 (updates) glibc-common = 2.17-260.el7_6.4 Available: glibc-common-2.17-260.el7_6.5.x86_64 (updates) glibc-common = 2.17-260.el7_6.5 Available: glibc-common-2.17-260.el7_6.6.x86_64 (updates) glibc-common = 2.17-260.el7_6.6 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

|----------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Error: Package: glibc-2.17-260.el7_6.6.i686 (updates) Requires: glibc-common = 2.17-260.el7_6.6 Installed: glibc-common-2.17-323.el7_9.x86_64 (@updates) glibc-common = 2.17-323.el7_9 Available: glibc-common-2.17-260.el7.x86_64 (base) glibc-common = 2.17-260.el7 Available: glibc-common-2.17-260.el7_6.3.x86_64 (updates) glibc-common = 2.17-260.el7_6.3 Available: glibc-common-2.17-260.el7_6.4.x86_64 (updates) glibc-common = 2.17-260.el7_6.4 Available: glibc-common-2.17-260.el7_6.5.x86_64 (updates) glibc-common = 2.17-260.el7_6.5 Available: glibc-common-2.17-260.el7_6.6.x86_64 (updates) glibc-common = 2.17-260.el7_6.6 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest |

解决办法:

通过yum downgrade降级版本
yum downgrade glibc glibc-devel glibc-common glibc-headers

|---|------------------------------------------------------------| | 1 | yum downgrade glibc glibc-devel glibc-common glibc-headers |

注意:glibc这几个包都是互相关联的,所以仅仅降级glibc-common是不行的

赞(0)
未经允许不得转载:工具盒子 » Centos7降级glibc解决依赖问题