Failed to dowload tc and conntrack

Issues related to applications and software problems and general support
Post Reply
priyapan
Posts: 1
Joined: 2023/06/09 06:12:51

Failed to dowload tc and conntrack

Post by priyapan » 2023/06/09 06:16:45

I am trying to download these 2 packages `conntrack` and `tc` but the download is failing.
This is the error
sudo dnf install tc
Repository Centos-8.x is listed more than once in the configuration
CentOS Stream 8 - AppStream 5.3 kB/s | 8.1 kB 00:01
Errors during downloading metadata for repository 'appstream':
- Status code: 404 for https://vault.centos.org/centos/8-strea ... repomd.xml (IP: 18.161.216.102)
Error: Failed to download metadata for repo 'appstream': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
I have tried changing the AppStream repo file and this is what my file looks like and i am still getting the same error
[appstream]
name=CentOS Stream $releasever - AppStream
#mirrorlist=http://#mirrorlist.centos.org/?release=$stream&arch=$basearch&repo=AppStream&infra=$infra
#baseurl=http://vault.centos.org/$contentdir/$st ... search/os/
baseurl=https://vault.centos.org/centos/8-strea ... /repodata/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
Can someone please help.

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

Re: Failed to dowload tc and conntrack

Post by TrevorH » 2023/06/09 11:34:56

Repository Centos-8.x is listed more than once in the configuration
Fix that.
- Status code: 404 for https://vault.centos.org/centos/8-strea ... repomd.xml (IP: 18.161.216.102)
You are pointing at vault.centos.org where old versions of CentOS go when they die.

CentOS Linux 8 died about 18 months ago, if you are still using it then you need to move to something else. I'd recommend either Rocky/Alma or OEL but you could also look at RHEL itself using a RH Developer subscription. If you like things to break often then you could migrate to Stream instead.
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

Post Reply