Just replace it with the source of Cenos-Vault.
Change all source host addresses in /etc/yum. Repos. D/cenos-base.repo
file to http://vault.centos.org, and replace $releasever with the CentOS version used by the current system. 5.x final version 5.11 can be used. Note that all other alternate hosts need to be removed, as follows
[base]
name = CentOS – 5.11 – base
failovermethod = priority
baseurl=http://vault.centos.org/5.11/os/$basearch/
gpgcheck = 1
gpgkey=http://vault.centos.org/RPM-GPG-KEY-CentOS-5
# released updates
[updates] name = CentOS – 5.11 – updates
failovermethod = priority
baseurl=http://vault.centos.org/5.11/updates/$basearch/
gpgcheck = 1 gpgkey=http://vault.centos.org/RPM-GPG-KEY-CentOS-5
# additional packages that may be useful in
[extras]
name = CentOS – 5.11 – extras
failovermethod = priority
baseurl=http://vault.centos.org/5.11/extras/$basearch/ gpgcheck = 1 gpgkey=http://vault.centos.org/RPM-GPG-KEY-CentOS-5
# additional packages that extend functionality of existing Packages
[centosplus] name = CentOS – 5.11 – Plus
failovermethod = priority
baseurl=http://vault.centos.org/5.11/centosplus/$basearch/
gpgcheck = 1
enabled = 0 gpgkey=http://vault.centos.org/RPM-GPG-KEY-CentOS-5
# contrib – packages by Centos Users
[contrib] name = Centos – 5.11 – contrib
failovermethod = priority
baseurl=http://vault.centos.org/5.11/contrib/$basearch/ gpgcheck = 1 enabled = 0
gpgkey=http://vault.centos.org/RPM-GPG-KEY-CentOS-5
Then execute yum clean all & & Yum makecache
will do.
Read More:
- Fedora 14 yum Error: Cannot retrieve repository metadata (repomd.xml) for repository
- Yum error: cannot retrieve repository metadata( repomd.xml )For repository solution
- Error reporting in CentOS 7 using yum
- Alicloud centos8 reports an error “error: failed to synchronize cache for repo ‘EPEL modular’”
- python: HTTP Error 505: HTTP Version Not Supported
- Linux uses open source Yum to report error performing checksums
- Putty encountered an error when logging into alicloud CentOS: dis connected:No supported authentication methods available
- CentOS uses Yum install to report errors
- Error: Cannot retrieve repository metadata (repomd.xml) for repository: c6-media. Please verify…
- Error: nothing to do in centos7’s Yum installation
- Centos7 Yum error downloading packages:
- Centos8 Install Failed to synchronize cache for repo ‘AppStream’, ignoring this repo.
- Spring boot can’t scan XML (invalid bound statement (not found))
- Err:1 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu xxxxxx 404 Not Found [IP: 101.6.8.193 80]
- Error msb8036: Windows SDK version not found···
- WCF-HTTP Error 404.17 – Not Found, The requested content appears to be script and will not be served…
- Could NOT find CUDNN: Found unsuitable version “..“, but required is at least “6“
- R Error: XML content does not seem to be XML: ‘input.xml’
- HTTP error code compact version
- [ ERROR ] Error loading xmlfile: squeezenet1.1\FP16\squeezenet1.1.xml, File was not found at line: 1