yum makecache Error:
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try againSolution:
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try againSolution:
vim /etc/yum.repos.d/epel.repo
Modify in file [EPEL] part, put
Enabled = 1 changed to enabled=0
[epel] name=Extra Packages for Enterprise Linux 6 - $basearch baseurl=http://mirrors.aliyun.com/epel/6/$basearch failovermethod=priority enabled=0 gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Then execute: Yum makecache
[root@localhost yum.repos.d]# yum makecache Loaded plugins: fastestmirror, security, upgrade-helper Repository base is listed more than once in the configuration Repository extras is listed more than once in the configuration Determining fastest mirrors * webtatic: us-east.repo.webtatic.com base | 3.7 kB 00:00 extras | 3.4 kB 00:00 extras/filelists_db | 32 kB 00:00 extras/prestodelta | 605 B 00:00 extras/primary_db | 31 kB 00:00 extras/other_db | 37 kB 00:00 update | 3.4 kB 00:00 update/filelists_db | 5.5 MB 00:00 update/prestodelta | 266 kB 00:00 update/primary_db | 8.0 MB 00:00 update/other_db | 355 kB 00:00 updates | 3.4 kB 00:00 updates/filelists_db | 2.8 MB 00:00 updates/prestodelta | 425 kB 00:00 updates/primary_db | 4.4 MB 00:00 updates/other_db | 43 MB 00:04 upg | 1.9 kB 00:00 upg/filelists_db | 130 kB 00:00 upg/primary_db | 14 kB 00:00 upg/other_db | 18 kB 00:00 webtatic | 3.6 kB 00:00 webtatic/group_gz | 374 B 00:00 webtatic/filelists_db | 121 kB 00:00 webtatic/primary_db | 229 kB 00:00 webtatic/other_db | 60 kB 00:00 Metadata Cache Created
Problem solving.
Similar Posts:
- Yum Install Docker and Upgrade Yum Storage error: No packages marked for update
- [Solved] Centos6.8 yum Error: YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid
- [Solved] Could not resolve host: mirrorlist.centos.org Centos 7 Unkown error
- Centos6.8 yum Error & Fix YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid
- How to Solve Yum Install Development Tools Error
- This system is not registered with an entitlement server. You can use subscription-manager to reg…
- failure: repodata/filelists.sqlite.bz2 from teamviewer: [Errno 256] No more mirrors to try
- Loaded plugins: rhnplugin, security This system is not registered with RHN.
- [How to Solve] Centos 14: problem making ssl connection
- When centos7 uses yum, file contains no section headers