Назад | Перейти на главную страницу

yum не находит зеркал

Yum кажется недовольным на нескольких машинах в моей сети, но на других все нормально.

# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.lax.hugeserver.com
 * epel: dl.fedoraproject.org
 * extras: centos-distro.1gservers.com
 * updates: mirror.hostduplex.com
http://mirror.lax.hugeserver.com/centos/5.11/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirror.hmc.edu/centos/5.11/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
. . .
http://centos.blazar.mx/5.11/updates/x86_64/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
repo id                               repo name                                                                     status
base                                  CentOS-5 - Base                                                               3,667
epel                                  Extra Packages for Enterprise Linux 5 - x86_64                                6,428
extras                                CentOS-5 - Extras                                                               266
updates                               CentOS-5 - Updates                                                              974
repolist: 11,335

Очистка кеша yum не помогает.

# yum clean all
Loaded plugins: fastestmirror
Cleaning up Everything
Cleaning up list of fastest mirrors

Да, эта машина может скручивать сайты в Интернете, поэтому это не проблема сети.

Как я могу исправить эту проблему?

Это потому, что CentOS 5 теперь EOL, и вам нужно настроить специальные архивные хранилища.

Пора перейти на CentOS 7.