CentOS 8 Error: Failed to download metadata for repo ‘appstream’

When updating packages on CentOS 8 server, I got the following error

This is because CentOS 8 have reached its End of life.

To fix the dnf error, you can change the repository baseurl to vault.centos.org

You may need to convert CentOS 8 to one of the supported Linux distributions.

Convert CentOS 8 to CentOS 8 Stream

To convert CentOS 8 to CentOS 8 Stream, run

Convert CentOS 8 to AlmaLinux 8

AlmaLinux is RHEL 8 based (same as CentOS 8) Linux operating system. They provide easy way to convert CentOS 8 server to AlmaLinux.

How to Migrate CentOS 8 to AlmaLinux

Convert CentOS 8 to Rocky Linux 8

Rocky Linux is an open-source enterprise operating system designed to be 100% bug-for-bug compatible with Red Hat Enterprise Linux.

How to Convert CentOS 8 to Rocky Linux

Convert CentOS 8 to Oracle Linux 8

Oracle Linux 8 is free and open source, based on RHEL 8

https://docs.oracle.com/en/learn/switch_centos8_linux8/index.html

Convert CentOS 8 to RHEL 8

RedHat provides Convert2RHEL script to convert CentOS 8 to RHEL 8. RHEL is now FREE for production up to 16 servers.

https://www.redhat.com/en/technologies/linux-platforms/enterprise-linux/migration-process/convert2rhel-how-to-convert-from-centos-linux-to-red-hat-enterprise-linux

See CentOS 8

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published.