I am trying to install epel on my centos 8 machine before installing cpulimit package and see following error:
[root@ABCD ~]# dnf install epel-release
Repository epel is listed more than once in the configuration
(fbrepo) centos-8.x - site-packages 110 kB/s | 1.5 kB 00:00
(fbrepo) centos-8.x - site-packages (noarch) 119 kB/s | 1.5 kB 00:00
(fbrepo) centos-8.x - backports 113 kB/s | 1.5 kB 00:00
(fbrepo) Extra packages for Enterprise Linux 8 306 kB/s | 3.8 kB 00:00
(fbrepo) fb-runtime 102 kB/s | 1.5 kB 00:00
(fbrepo) fb-runtime 102 MB/s | 45 MB 00:00
(fbrepo) common 101 kB/s | 1.5 kB 00:00
(fbrepo) any/noarch 81 kB/s | 1.5 kB 00:00
(fbrepo) kernel 149 kB/s | 3.0 kB 00:00
rollingupdates (stable_BaseOS) - 20200616 299 kB/s | 3.9 kB 00:00
rollingupdates (stable_AppStream) - 20200616 234 kB/s | 4.4 kB 00:00
rollingupdates (stable_PowerTools) - 20200616 347 kB/s | 4.4 kB 00:00
rollingupdates (stable_epel) - 20200616 420 kB/s | 5.3 kB 00:00
rollingupdates (stable_epel-modular) - 20200616 131 kB/s | 3.0 kB 00:00
rollingupdates (stable_epel-playground-os) - 20200616 302 kB/s | 3.8 kB 00:00
rollingupdates (stable_site-packages) - 20200616 238 kB/s | 3.0 kB 00:00
rollingupdates (stable_hp_stk) - 20200616 178 kB/s | 2.4 kB 00:00
Extra Packages for Enterprise Linux 8 - Playground - x86_64 0.0 B/s | 0 B 01:00
Errors during downloading metadata for repository ‘epel-playground’:
- Curl error (28): Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=playground-epel8&arch=x86_64&infra=stock&content=centos [Connection timed out after 5000 milliseconds]
Error: Failed to download metadata for repo ‘epel-playground’: Cannot prepare internal mirrorlist: Curl error (28): Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=playground-epel8&arch=x86_64&infra=stock&content=centos [Connection timed out after 5000 milliseconds]
[root@ABCD ~]#
I have set as below:
[root@ABCD ~]# grep zchunk /etc/dnf/dnf.conf
zchunk = False
When I try curl manually, I see below:
[root@ABCD ~]# curl https://mirrors.fedoraproject.org/metalink?repo=playground-epel8&arch=x86_64&infra=stock&content=centos
[1] 3710332
[2] 3710333
[3] 3710334
[2]- Done arch=x86_64
[root@ABCD ~]#
[3]+ Done infra=stock
[root@ABCD ~]#
[root@ABCD ~]#
[root@ABCD ~]# curl: (28) Connection timed out after 300002 milliseconds
[1]+ Exit 28 curl https://mirrors.fedoraproject.org/metalink?repo=playground-epel8
[root@ABCD ~]#