728x90
반응형
[root@localhost ~]# yum -y install gcc
Error: Package: glibc-2.17-260.el7.i686 (base)
Requires: glibc-common = 2.17-260.el7
Installed: glibc-common-2.17-317.el7.x86_64 (@CentOS)
glibc-common = 2.17-317.el7
Available: glibc-common-2.17-260.el7.x86_64 (base)
glibc-common = 2.17-260.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@localhost ~]# wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
[root@localhost ~]# sed -i 's/$releasever/7/g' /etc/yum.repos.d/CentOS-Base.repo
[root@localhost ~]# yum -y install gcc
728x90
반응형