ECS降级glibc解决依赖问题

最近在阿里云ECS上安装软件,出现了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

解决办法:

通过yum downgrade降级版本

yum downgrade glibc glibc-devel glibc-common glibc-headers

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

上一篇:前端实现旗帜飘动效果系列 (Ⅰ):dom+css实现


下一篇:前端必知词汇:JavaScript