Centos yum 找不到rpm包怎么办

运行如下代码
[root@sun aa]# rpm -ivh http://zhidao.baidu.com/question/437617509101594964.html?gossl=http%3A%2F%2Fdownload.fedora.redhat.com%2Fpub%2Fepel%2F5%2Fi386%2Fepel-release-5-4.noarch.rpm&_=8E14AFB52872569FF984757C98E6E8BC%3AFG%3D1
下面是报错
Retrieving http://zhidao.baidu.com/question/437617509101594964.html?gossl=http%3A%2F%2Fdownload.fedora.redhat.com%2Fpub%2Fepel%2F5%2Fi386%2Fepel-release-5-4.noarch.rpm&_=8E14AFB52872569FF984757C98E6E8BC%3AFG%3D1
curl: (6) Couldn't resolve host 'download.fedora.redhat.com'
error: skipping http://zhidao.baidu.com/question/437617509101594964.html?gossl=http%3A%2F%2Fdownload.fedora.redhat.com%2Fpub%2Fepel%2F5%2Fi386%2Fepel-release-5-4.noarch.rpm&_=8E14AFB52872569FF984757C98E6E8BC%3AFG%3D1 - transfer failed
收起

5个回答

估计是你忘记开vpn了,所以解析不了域名。

不是的,是解析的网站打不开

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm
--2017-07-21 11:55:16-- http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.i386.rpm
正在解析主机 packages.sw.be... 失败:未知的名称或服务。
wget: 无法解析主机地址 “packages.sw.be”

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问