Symptoms
When attempting to run yum or dnf, you get an error similar to the following on a CentOS 7 or CloudLinux server:
CONFIG_TEXT: 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
When cPanel updates run, errors similar to the following will be logged:
CONFIG_TEXT: [/usr/local/cpanel/scripts/update-packages] Errors during downloading metadata for repository 'MariaDB106':
[/usr/local/cpanel/scripts/update-packages] - Status code: 404 for https://archive.mariadb.org/mariadb-10.6/yum/centos/8/x86_64/repodata/repomd.xml (IP: 138.201.152.105)
[/usr/local/cpanel/scripts/update-packages] Error: Failed to download metadata for repo 'MariaDB106': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were trie
This would trigger an email notification:
CONFIG_TEXT: Subject: An error occured while updating server software.
cPanel & WHM failed to update server software.
The system failed to update the server software to the latest versions.
For more information about this error and guidance on how to resolve the error, go to https://go.cpanel.net/sysupfailed.
“update_packages::UpdateFailed” notifications are currently configured to have an importance of “Low”.
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
An upstream case has been filed with MariaDB:
Comments
0 comments
Article is closed for comments.