[Errno 256] No more mirrors to try.錯誤的解決方式


q

在centOS 7系統上搭建Mysql服務器時,報以下錯誤:

 
 
Error downloading packages:
  vsftpd-3.0.2-22.el7.x86_64: [Errno 256] No more mirrors to try.
 
[root@localhost ~]#
解決方式:

1、yum clean all
2、yum makecache

[root@localhost ~]# yum clean all
已加載插件:fastestmirror
正在清理軟件源: base extras updates
Cleaning up everything
[root@localhost ~]# yum makecache
已加載插件:fastestmirror
base                                                     | 3.6 kB     00:00
extras                                                   | 3.4 kB     00:00
updates                                                  | 3.4 kB     00:00
(1/12): base/7/x86_64/group_gz                             | 166 kB   00:00
(2/12): extras/7/x86_64/filelists_db                       | 603 kB   00:02
(3/12): extras/7/x86_64/prestodelta                        | 100 kB   00:02
(4/12): extras/7/x86_64/primary_db                         | 205 kB   00:00
(5/12): extras/7/x86_64/other_db                           | 126 kB   00:00
(6/12): base/7/x86_64/filelists_db                         | 6.9 MB   00:07
(7/12): updates/7/x86_64/filelists_db                      | 3.4 MB   00:05
(8/12): updates/7/x86_64/other_db                          | 578 kB   00:02
(9/12): base/7/x86_64/primary_db                           | 5.9 MB   00:12
(10/12): updates/7/x86_64/primary_db                       | 6.0 MB   00:05
(11/12): base/7/x86_64/other_db                            | 2.5 MB   00:15
updates/7/x86_64/prestodelta   FAILED
http://mirrors.njupt.edu.cn/centos/7.5.1804/updates/x86_64/repodata/8ee07a5e1fde5231fed8ce55547405923af529a0902e57aeee1676035ae7a367-prestodelta.xml.gz: [Errno 12] Timeout on http://10.10.254.10/cache/2/02/mirrors.njupt.edu.cn/a8bc5955244fcfe9599025498ceada44/8ee07a5e1fde5231fed8ce55547405923af529a0902e57aeee1676035ae7a367-prestodelta.xml.gz: (28, 'Connection timed out after 31022 milliseconds')
正在嘗試其它鏡像。
(12/12): updates/7/x86_64/prestodelta                      | 679 kB   00:00
Determining fastest mirrors
 * base: mirrors.nwsuaf.edu.cn
 * extras: centos.ustc.edu.cn
 * updates: mirror.lzu.edu.cn
元數據緩存已建立
3.完了也可以再給yum來個升級【可選】。

yum -y update

 

然后重新安裝就ok。

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM