安装gcc gcc-c++ make等编译包,提示glibc错误依赖 --> Finished Dependency Resolution Error: Package: glibc-headers-2.17-317.el7.x86_64 (centos7) Requires: glibc = 2.17-317.el7 Installed: glibc-2.17-326.el7_9.x86_64 (@anaconda) glibc = 2.17-326.el7_9 Available: glibc-2.17-317.el7.x86_64 (centos7) glibc = 2.17-317.el7 Error: Package: glibc-devel-2.17-317.el7.x86_64 (centos7) Requires: glibc = 2.17-317.el7 Installed: glibc-2.17-326.el7_9.x86_64 (@anaconda) glibc = 2.17-326.el7_9 Available: glibc-2.17-317.el7.x86_64 (centos7) glibc = 2.17-317.el7 You could try using --skip-broken to work around the problem
分析是:
文字中已经很清晰的说明了需要的版本和已经安装的版本,说明版本高了,需要手动降级
//降级安装 yum downgrade -y glibc glibc-common //再次执行,完美执行成功 yum install -y make autoconfig gcc gcc-c++
标签:gcc,glibc,317,yum,2.17,64,安装包,el7 From: https://www.cnblogs.com/chentiao/p/17415502.html