Re: Error: Failed to download metadata for repo 'epel': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 22, 2023 at 8:07 PM Kaushal Shriyan <kaushalshriyan@xxxxxxxxx>
wrote:

> Hi,
>
> I am running Red Hat Enterprise Linux release 8.7 (Ootpa) OS in production
> environment.  I have enabled both epel and redhat repo in /etc/yum.repos.d
> directory
>
> There is a proxy server setup in the network. I have whitelisted the below
> wildcard URLs as listed both as per both epel and redhat repositories
>
> https://*.fedoraproject.org
> https://*.redhat.com/
>
> *#cat /etc/redhat-release*
> Red Hat Enterprise Linux release 8.7 (Ootpa)
>
> *#cat /etc/yum.repos.d/epel.repo*
> [epel]
> name=Extra Packages for Enterprise Linux 8 - $basearch
> # It is much more secure to use the metalink, but if you wish to use a
> local mirror
> # place its address here.
> #baseurl=https://download.example/pub/epel/8/Everything/$basearch
> metalink=
> https://mirrors.fedoraproject.org/metalink?repo=epel-8&arch=$basearch&infra=$infra&content=$contentdir
> enabled=1
> gpgcheck=1
> countme=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
>
> #cat /etc/yum.repos.d/redhat.repo
> File attached in the email.
>
> For example, when I am trying to install htop as per the below yum command.
>
> #yum -y install htop
>
> Extra Packages for Enterprise Linux 8 - x86_64
>
>                                                       49  B/s | 3.2 kB
> 01:05
> Errors during downloading metadata for repository 'epel':
>   - Curl error (28): Timeout was reached for
> https://mirrors.tuna.tsinghua.edu.cn/epel/8/Everything/x86_64/repodata/repomd.xml
> [Operation timed out after 30000 milliseconds with 0 out of 0 bytes
> received]
>   - Downloading successful, but checksum doesn't match. Calculated:
> 29327b7fcf2105232f95c872da7021463f05250e668caceec9c3bb36f4adeec289c5356366dd3f6278dcc131c3cc5a0688d969f6be8c636a1ab4b82e7e39df31(sha512)
> 29327b7fcf2105232f95c872da7021463f05250e668caceec9c3bb36f4adeec289c5356366dd3f6278dcc131c3cc5a0688d969f6be8c636a1ab4b82e7e39df31(sha512)
> 29327b7fcf2105232f95c872da7021463f05250e668caceec9c3bb36f4adeec289c5356366dd3f6278dcc131c3cc5a0688d969f6be8c636a1ab4b82e7e39df31(sha512)
>  Expected:
> aee40f9bf8c1fafe0d833e32e6c0ae740fca2fb5375205a22695153deabd966ed19dba8f18c23166d31ceafc5780be4d250ae99fd181815c2a8e2005574f5908(sha512)
> 89276e96ca0101792e8fa144424a9823215d7de20b3f44acdcf7c68ab7d254c647c171af47f783b4add2db6ed8a34b6fca8012a1e9420dd8d3851367aab8e1e2(sha512)
> 61778c88522e4e1cf36108f0e77721160c95edcb5a75c4b82984041f3ddc2e5028884dd67da75be6ab453e3eb5024c5ec5ee7de7e8d4125ef93e8a08bbe40bc0(sha512)
>   - Downloading successful, but checksum doesn't match. Calculated:
> 83d580e4a95ccc684f25b3b22e562854d8086b55d1b95951269018ba72e81e572eb80e3fc3dc265c5a4e8d92db518965eeaa66aa5e18d8c8a2f34ca48f4b81cf(sha512)
> 83d580e4a95ccc684f25b3b22e562854d8086b55d1b95951269018ba72e81e572eb80e3fc3dc265c5a4e8d92db518965eeaa66aa5e18d8c8a2f34ca48f4b81cf(sha512)
> 83d580e4a95ccc684f25b3b22e562854d8086b55d1b95951269018ba72e81e572eb80e3fc3dc265c5a4e8d92db518965eeaa66aa5e18d8c8a2f34ca48f4b81cf(sha512)
>  Expected:
> aee40f9bf8c1fafe0d833e32e6c0ae740fca2fb5375205a22695153deabd966ed19dba8f18c23166d31ceafc5780be4d250ae99fd181815c2a8e2005574f5908(sha512)
> 89276e96ca0101792e8fa144424a9823215d7de20b3f44acdcf7c68ab7d254c647c171af47f783b4add2db6ed8a34b6fca8012a1e9420dd8d3851367aab8e1e2(sha512)
> 61778c88522e4e1cf36108f0e77721160c95edcb5a75c4b82984041f3ddc2e5028884dd67da75be6ab453e3eb5024c5ec5ee7de7e8d4125ef93e8a08bbe40bc0(sha512)
> - Downloading successful, but checksum doesn't match. Calculated:
> f988fc1379bd25aa85908434adc8451400f0a415c4100949fea989e90a9765bdc31353b341c1941aec9029cc14da03a65d6fe68a3eab50ca7db36a07e93a6e91(sha512)
> f988fc1379bd25aa85908434adc8451400f0a415c4100949fea989e90a9765bdc31353b341c1941aec9029cc14da03a65d6fe68a3eab50ca7db36a07e93a6e91(sha512)
> f988fc1379bd25aa85908434adc8451400f0a415c4100949fea989e90a9765bdc31353b341c1941aec9029cc14da03a65d6fe68a3eab50ca7db36a07e93a6e91(sha512)
>  Expected:
> aee40f9bf8c1fafe0d833e32e6c0ae740fca2fb5375205a22695153deabd966ed19dba8f18c23166d31ceafc5780be4d250ae99fd181815c2a8e2005574f5908(sha512)
> 89276e96ca0101792e8fa144424a9823215d7de20b3f44acdcf7c68ab7d254c647c171af47f783b4add2db6ed8a34b6fca8012a1e9420dd8d3851367aab8e1e2(sha512)
> 61778c88522e4e1cf36108f0e77721160c95edcb5a75c4b8298404
>
> 1f3ddc2e5028884dd67da75be6ab453e3eb5024c5ec5ee7de7e8d4125ef93e8a08bbe40bc0(sha512)
> Error: Failed to download metadata for repo 'epel': Cannot download
> repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
> ~
>
> I have only whitelisted https://*.fedoraproject.org and https://*.
> redhat.com/ on the http proxy server. Do I need to whitelist any
> additional URLs to address the above issue, or Am I missing anything?
>
> Please guide me. Thanks in advance
>
> Best Regards,
>
> Kaushal
>
>
Hi,

Checking in again if someone can pitch in for my earlier post to this
mailing list. Thanks in advance.

Best Regards,

Kaushal
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list




[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux