手抄报 安全手抄报 手抄报内容 手抄报图片 英语手抄报 清明节手抄报 节约用水手抄报

解决Yum安装依赖

时间:2024-10-14 07:39:31

1、Yum源及安装安装过程在之前就有大牛讲过了!这里就不做阐述了。具体可以参考:Redhat 7使用CentOS 7的Yum网络源

2、问题阐述按照上述方法安装,应该是不会有问题的。但是本小白在安装的时候出错了![root@linuxprob髫潋啜缅e~]# rpm -ivh yum-fastestmirror-1.1.26-11.el6.centos.noarch.rpm error: Failed dependencies: yum >= 3.0 is needed by yum-fastestmirror-1.1.26-11.el6.centos.noarch [root@linuxprobe~]# rpm -ivh yum-3.2.27-14.el6.centos.noarch.rpm error: Failed dependencies: yum-fastestmirror is needed by yum-3.2.27-14.el6.centos.noarch反复操作后仍然无果……,实在没有办法决定暂时不处理。

3、问题解决后来,在网上无意看到rpm后添加两个文件执行,决定自己尝试一下:[root@localhost rpm]# rpm -ivh yum-3.2.27-14.el6.centos.noarch.rpm yum-fastestmirror-1.1.26-11.el6.centos.noarch.rpm随后看到的结果:Preparing... ########################################### [100%] 1:yum-fastestmirror ########################################### [ 50%] 2:yum ########################################### [100%]至此Yum安装过程中被需要问题解决了!

© 手抄报圈