dnf error

Issues related to applications and software problems and general support
Post Reply
kh_parag
Posts: 2
Joined: 2022/06/06 04:38:24

dnf error

Post by kh_parag » 2022/06/10 11:54:36

yum install telnet
CentOS Stream 8 - AppStream 0.0 B/s | 0 B 00:04
Errors during downloading metadata for repository 'appstream':
- Curl error (56): Failure when receiving data from the peer for http://mirror.centos.org/centos/8-strea ... repomd.xml [Recv failure: Connection reset by peer]
- Curl error (56): Failure when receiving data from the peer for http://mirrorlist.centos.org/?release=8 ... nfra=stock [Recv failure: Connection reset by peer]
Error: Failed to download metadata for repo 'appstream': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: dnf error

Post by TrevorH » 2022/06/10 11:59:05

Fix your network.

If you are behind a web proxy then you need to read `man yum.conf` and add proxy related parameters to it to tell it how to communicate with the outside world.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

kh_parag
Posts: 2
Joined: 2022/06/06 04:38:24

Re: dnf error

Post by kh_parag » 2022/06/11 08:59:36

Hi Trevor,
Thanks for the reply, but there is no proxy in my network. Every thing is working properly like wget, firefox, pinging google as well. But no clue about this error.

Post Reply