老师,您好,情况是这样的:
这是我linux系统:
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.8 (Final)
Release: 6.8
Codename: Final
//img1.sycdn.imooc.com//szimg/5db59c4e09b8a86705820122.jpg
输入下载依赖的命令:
[root@iZm5e2w1juq9pmgzo7pqr1Z ~]# yum install curl policycoreutils openssh-server openssh-clients postfixs
提示:
.....
--> Restarting Dependency Resolution with new changes.
......
Error: Package: kernel-2.6.32-642.el6.x86_64 (@anaconda-CentOS-201605220104.x86_64/6.8)
Requires: /sbin/new-kernel-pkg
Removing: grubby-7.0.15-7.el6.x86_64 (@anaconda-CentOS-201605220104.x86_64/6.8)
Not found
Updated By: grubby-8.28-26.el7.x86_64 (base)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
老师,运行第一含代码:yum install epel-release -y,没有问题,但是,第二行代码: yum groupinstall "Development tools" -y
最后还是提示一样的问题:
Error: Package: cloog-ppl-0.15.7-1.2.el6.x86_64 (@base)
Requires: libgmp.so.3()(64bit)
Removing: gmp-4.3.1-12.el6.x86_64 (@base)
libgmp.so.3()(64bit)
Updated By: 1:gmp-6.0.0-15.el7.x86_64 (base)
Not found
Error: Package: libgcj-4.4.7-23.el6.x86_64 (@base)
Requires: libgmp.so.3()(64bit)
Removing: gmp-4.3.1-12.el6.x86_64 (@base)
libgmp.so.3()(64bit)
Updated By: 1:gmp-6.0.0-15.el7.x86_64 (base)
Not found
Error: Package: kernel-2.6.32-642.el6.x86_64 (@anaconda-CentOS-201605220104.x86_64/6.8)
Requires: /sbin/new-kernel-pkg
Removing: grubby-7.0.15-7.el6.x86_64 (@anaconda-CentOS-201605220104.x86_64/6.8)
Not found
Updated By: grubby-8.28-26.el7.x86_64 (base)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
好折腾啊