Downloading from repos

Linode Staff

Downloading from repos appears to be blocked. I ensured that my firewall is disabled but it still fails to download updates like so:

[root@23-239-10-173 ~]# yum install -y epel-release
CentOS Linux 8 - AppStream                                 13 kB/s | 280  B     00:00    
Errors during downloading metadata for repository 'appstream':
  - Status code: 404 for http://mirrors.linode.com/centos/8/AppStream/x86_64/os/repodata/repomd.xml (IP: 2600:3c03:1::45a4:df28)
Error: Failed to download metadata for repo 'appstream': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
[root@23-239-10-173 ~]# 

Something im doing wrong or missing?

Thanks.

1 Reply

Hi there,

It looks like this issues stems from the fact that CentOS 8 reached its End Of Life (EOL) on December 31st, 2021. One approach to resolve this is by migrating to CentOS Stream 8. I just deployed and ran the following commands, which seems to have succeeded in helping me accomplish that.

Migrate from CentOS 8 to CentOS Stream 8:

dnf --disablerepo '*' --enablerepo=extras swap centos-linux-repos centos-stream-repos
dnf distro-sync

This can take a few minutes. After the update is finished, running "yum install -y epel-release" works as expected.

Alternatively, you could just deploy the CentOS Stream 8 distribution image, which should let you install the package you referenced.

Cheers!

Arty

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct