该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
一切都按照163更改源的文档做的,就是出错 新手求教
[root@chi yum.repos.d]# wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
--2015-08-14 08:41:30-- http://mirrors.163.com/.help/CentOS6-Base-163.repo
Resolving mirrors.163.com... 123.58.173.185, 123.58.173.186
Connecting to mirrors.163.com|123.58.173.185|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2006 (2.0K) [application/octet-stream]
Saving to: ?.entOS6-Base-163.repo?
100%[=====================================================================================================================================================>] 2,006 --.-K/s in 0s
2015-08-14 08:41:30 (262 MB/s) - ?.entOS6-Base-163.repo?.saved [2006/2006]
[root@chi yum.repos.d]# yum clean all
Loaded plugins: fastestmirror, security
Cleaning repos: base extras updates
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@chi yum.repos.d]# wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
--2015-08-14 08:41:42-- http://mirrors.163.com/.help/CentOS6-Base-163.repo
Resolving mirrors.163.com... 123.58.173.186, 123.58.173.185
Connecting to mirrors.163.com|123.58.173.186|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2006 (2.0K) [application/octet-stream]
Saving to: ?.entOS6-Base-163.repo.1?
100%[=====================================================================================================================================================>] 2,006 --.-K/s in 0s
2015-08-14 08:41:42 (279 MB/s) - ?.entOS6-Base-163.repo.1?.saved [2006/2006]
[root@chi yum.repos.d]# ls
CentOS6-Base-163.repo CentOS6-Base-163.repo.1 CentOS-Debuginfo.repo CentOS-Media.repo CentOS-Vault.repo
[root@chi yum.repos.d]# rm CentOS6-Base-163.repo.1
rm: remove regular file `CentOS6-Base-163.repo.1'? Y
[root@chi yum.repos.d]# yum clean all
Loaded plugins: fastestmirror, security
Cleaning repos: base extras updates
Cleaning up Everything
[root@chi yum.repos.d]# yum makecache
Loaded plugins: fastestmirror, security
Determining fastest mirrors
base | 3.7 kB 00:00
base/group_gz | 214 kB 00:00
base/filelists_db | 5.2 MB 00:00
base/primary_db | 3.6 MB 00:04
base/other_db | 2.1 MB 00:04
extras | 3.4 kB 00:00
extras/filelists_db | 28 kB 00:00
extras/prestodelta | 332 B 00:00
extras/primary_db | 24 kB 00:00
extras/other_db | 29 kB 00:00
updates | 3.4 kB 00:00
http://mirrors.163.com/centos/6/updates/i386/repodata/924cdc850c30f5bcd2fd5ce47f789a85ccad028d3a8e65f52d18e8b6271f117d-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://mirrors.163.com/centos/6/updates/i386/repodata/26f3b0ea69385afa5375265c2045f3d84b428350d6c0930b2f69c562a034e400-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: failure: repodata/26f3b0ea69385afa5375265c2045f3d84b428350d6c0930b2f69c562a034e400-primary.sqlite.bz2 from updates: [Errno 256] No more mirrors to try.
[root@chi yum.repos.d]# wget http://mirrors.163.com/centos/6/updates/i386/repodata/924cdc850c30f5bcd2fd5ce47f789a85ccad028d3a8e65f52d18e8b6271f117d-filelists.sqlite.bz2
--2015-08-14 08:43:31-- http://mirrors.163.com/centos/6/updates/i386/repodata/924cdc850c30f5bcd2fd5ce47f789a85ccad028d3a8e65f52d18e8b6271f117d-filelists.sqlite.bz2
Resolving mirrors.163.com... 123.58.173.186, 123.58.173.185
Connecting to mirrors.163.com|123.58.173.186|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-08-14 08:43:33 ERROR 404: Not Found.
[root@chi yum.repos.d]#