Symptoms
When attempting to run yum, you get an error similar to the following on a CentOS 7 or CloudLinux server.
failure: repodata/repomd.xml from MariaDB106: [Errno 256] No more mirrors to try.
https://archive.mariadb.org/mariadb-10.6/yum/centos/7/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Cause
The mariadb-10.6/yum/centos/7/ and mariadb-10.6/yum/centos/8/ folders have been removed from the MariaDB archive.
Resolution
Replace "mariadb-10.6" in the baseurl line of /etc/yum.repos.d/MariaDB106.repo to reference "almalinux" instead of "Centos":
# sed -i.bk "/baseurl/s|centos|almalinux|g" /etc/yum.repo.d/Mariadb106.repo
If this needs to be reverted for any reason, the backup file can be restored
# mv /etc/yum.repo.d/Mariadb106.repo.bk /etc/yum.repo.d/Mariadb106.repo
Comments
0 comments
Article is closed for comments.