您的位置:首页 > 理论基础 > 计算机网络

YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. </HTML>/

2014-05-26 17:01 645 查看
sudo yum update --系统更新出现这个问题

Loaded plugins: fastestmirror, refresh-packagekit, security

Loading mirror speeds from cached hostfile

YumRepo Error: All mirror URLs are not using ftp, http[s] or file.

Eg. </HTML>/

* base: mirrors.aliyun.com

* extras: mirrors.aliyun.com

* updates: mirrors.btte.net

Setting up Update Process

No Packages marked for Update

[wjx@localhost ~]$ yum clean all --尝试用clean all,注意,这是在普通用户模式下

Loaded plugins: fastestmirror, refresh-packagekit, security

Cleaning repos: base extras google-chrome rpmforge updates

Cleaning up Everything

Cannot remove rpmdb file /var/lib/yum/rpmdb-indexes/pkgtups-checksums

Cannot remove rpmdb file /var/lib/yum/rpmdb-indexes/conflicts

Cannot remove rpmdb file /var/lib/yum/rpmdb-indexes/file-requires

Cannot remove rpmdb file /var/lib/yum/rpmdb-indexes/version

Cleaning up list of fastest mirrors

[wjx@localhost ~]$ sudo yum update --还是不行

Loaded plugins: fastestmirror, refresh-packagekit, security

Loading mirror speeds from cached hostfile

YumRepo Error: All mirror URLs are not using ftp, http[s] or file.

Eg. </HTML>/

* base: mirrors.aliyun.com

* extras: mirrors.aliyun.com

* updates: mirrors.btte.net

Setting up Update Process

No Packages marked for Update

[wjx@localhost ~]$ sudo yum clean all --突发奇想:试试加个sudo

Loaded plugins: fastestmirror, refresh-packagekit, security

Cleaning repos: base extras google-chrome rpmforge updates

Cleaning up Everything

Cleaning up list of fastest mirrors

[wjx@localhost ~]$ sudo yum update --没有问题了

Loaded plugins: fastestmirror, refresh-packagekit, security

Determining fastest mirrors

* base: mirrors.grandcloud.cn

* extras: mirrors.grandcloud.cn

* rpmforge: kartolo.sby.datautama.net.id

* updates: mirrors.grandcloud.cn

base | 3.7 kB 00:00

base/primary_db | 3.5 MB 00:02

extras | 3.4 kB 00:00

extras/primary_db | 18 kB 00:00

google-chrome | 951 B 00:00

google-chrome/primary | 1.9 kB 00:00

google-chrome 3/3

rpmforge | 1.9 kB 00:00

rpmforge/primary_db | 2.8 MB 00:10

updates | 3.4 kB 00:00

updates/primary_db | 2.9 MB 00:02

Setting up Update Process

No Packages marked for Update

[wjx@localhost ~]$ sudo yum upate --自我估计是之前clean all只是清理了普通用户下面的,没有清理root下面的。清理了就OK了

Loaded plugins: fastestmirror, refresh-packagekit, security

No such command: upate. Please use /usr/bin/yum --help

[wjx@localhost ~]$ sudo yum update

Loaded plugins: fastestmirror, refresh-packagekit, security

Loading mirror speeds from cached hostfile

* base: mirrors.grandcloud.cn

* extras: mirrors.grandcloud.cn

* rpmforge: kartolo.sby.datautama.net.id

* updates: mirrors.grandcloud.cn

Setting up Update Process

No Packages marked for Update

[wjx@localhost ~]$

补充:
http://blog.sina.com.cn/s/blog_541a3cf10101h245.html 这个人的情况和我的不同
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐