Errors during downloading metadata for repository 'MariaDB106'
This is my Server information:Linux version 4.18.0-553.141.2.el8_10.x86_64 (mockbuild@x64-builder01.almalinux.org) (gcc version 8.5.0 20210514 (Red Hat 8.5.0-28) (GCC)) #1 SMP Wed Jul 8 10:28:18 EDT 2026
The maintenance update failed last night. It seems the problem is rooted in MariaDB repos.
I used information from this link in an attempt to resolve the issue:
Here are current contents of /etc/yum/repos.d
[MariaDB106]
name = MariaDB106
baseurl = https://archive.mariadb.org/yum/10.6/
gpgkey=https://archive.mariadb.org/PublicKey
https://supplychain.mariadb.com/MariaDB-Server-GPG-KEY
gpgcheck=1
Here are the contents before I modified the file:
[MariaDB106]
name = MariaDB106
baseurl = https://archive.mariadb.org/mariadb-10.6/yum/centos/8/x86_64
gpgkey=https://archive.mariadb.org/PublicKey
https://supplychain.mariadb.com/MariaDB-Server-GPG-KEY
gpgcheck=1
I guess there is more to the story than meets my eye because these are the results of the commands the cpanel support link instructed me to try next:
[root@server1 ~]# yum clean all
12 files removed
[root@server1 ~]# yum makecache
EA4 ( EasyApache 4 - c8 ) 2.1 MB/s | 3.3 MB 00:01
cPanel Plugins project 397 kB/s | 563 kB 00:01
MariaDB106 160 B/s | 162 B 00:01
Errors during downloading metadata for repository 'MariaDB106':
- Status code: 404 for https://archive.mariadb.org/yum/10.6/repodata/repomd.xml (IP: 138.201.152.105)
Error: Failed to download metadata for repo 'MariaDB106': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
I cleared /var/cache/dns manually using the rm command via shell. I tried the support link commands again and the MariaDB metadata file still won't download. So, I got desperate (sort of) and ran the update command manually.
This is how that turned out:
[root@server1 ~]# /usr/local/cpanel/scripts/update-packages
checkyum version 22.3
excludes: bind-chroot dovecot* exim* filesystem kernel kernel-xen kernel-smp kernel-pae kernel-PAE kernel-SMP kernel-hugemem kernel-debug* kernel-core kernel-modules* kernel-devel* kmod-[a-z]* p0f php* proftpd* pure-ftpd*
MariaDB106 139 B/s | 162 B 00:01
Errors during downloading metadata for repository 'MariaDB106':
- Status code: 404 for https://archive.mariadb.org/yum/10.6/repodata/repomd.xml (IP: 138.201.152.105)
Error: Failed to download metadata for repo 'MariaDB106': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
(XID 3hme6d) “/usr/bin/yum” reported error code “1” when it ended:
I'm out of ideas and I'm not finding any help in the recommended links before starting this new post. I hope someone here can point me in the right dire4ction or recommend a solution.
-
Looks like they may have updated the archive on Aug 13th.
https://archive.mariadb.org/mariadb-10.6/yum/
No more CentOS 8 in that archive
Keep in mind that MariaDB 10.6 reached EOL in July 2026
0 -
mtindor I am not using CentOS8. My VPS is running Alma Linux.
I knew there were yum files in that folder. I didn't look at the date.
Are you saying I need to update MariaDB to get the update to work?
0 -
I didn't say you were running CentOS 8, but your repo baseurl was linking to a centos/8/x86_64 folder. That no longer exists.
Looks like they may have what you need in the /mariadb-10.6/yum/almalinux8-x86_64 folder.
However, I am NOT telling you to use that. You should do some further investigation and ask questions of cPanel / Almalinux about what repo you should be using now, since the MariaDB folks moved things around.
0 -
Someone else posted a similar experience here, so it seems that is fine to use: https://support.cpanel.net/hc/en-us/community/posts/42227828850199
0 -
cPRex I upgraded to MariaDB 11.4 yesterday. The upgrade created a new MariaDB114.repo file. Here are the contents of that file:
[MariaDB114]
name = MariaDB114
baseurl = https://archive.mariadb.org/mariadb-11.4/yum/centos/8/x86_64
gpgkey=https://archive.mariadb.org/PublicKey
https://supplychain.mariadb.com/MariaDB-Server-GPG-KEY
gpgcheck=1My concern is that the baseurl can't be reached using a browser. This was the same issue that caused the last cPanel updates to fail with one error last week. So, is that the correct baseurl to use in this file?
I ran some other commands to help you understand my VPS server environment.
MariaDB
[root@server1 ~]# yum whatprovides MariaDB-server
Last metadata expiration check: 1:17:18 ago on Mon 17 Aug 2026 10:14:55 AM PDT.
MariaDB-server-11.4.10-1.el8.x86_64 : MariaDB database server binaries
Repo : MariaDB114
Matched from:
Provide : MariaDB-server = 11.4.10-1.el8
MariaDB-server-11.4.11-1.el8.x86_64 : MariaDB database server binaries
Repo : MariaDB114
Matched from:
Provide : MariaDB-server = 11.4.11-1.el8
MariaDB-server-11.4.12-1.el8.x86_64 : MariaDB database server binaries
Repo : @System
Matched from:
Provide : MariaDB-server = 11.4.12-1.el8
MariaDB-server-11.4.12-1.el8.x86_64 : MariaDB database server binaries
Repo : MariaDB114
Matched from:
Provide : MariaDB-server = 11.4.12-1.el8OS
[root@server1 ~]# cat /etc/os-release
NAME="AlmaLinux"
VERSION="8.10 (Cerulean Leopard)"
ID="almalinux"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.10"
PLATFORM_ID="platform:el8"
PRETTY_NAME="AlmaLinux 8.10 (Cerulean Leopard)"
ANSI_COLOR="0;34"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:almalinux:almalinux:8::baseos"
HOME_URL="https://almalinux.org/"
DOCUMENTATION_URL="https://wiki.almalinux.org/"
BUG_REPORT_URL="https://bugs.almalinux.org/"
ALMALINUX_MANTISBT_PROJECT="AlmaLinux-8"
ALMALINUX_MANTISBT_PROJECT_VERSION="8.10"
REDHAT_SUPPORT_PRODUCT="AlmaLinux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.10"
SUPPORT_END=2029-06-01cPanel
[root@server1 ~]# cat /usr/local/cpanel/version
11.136.0.33I do hope to hear back from you. Thanks, in advance, for your consideration.
0 -
If you were able to install MariaDB 11.4 the repo is fine, and if the repo was not good then running:
yum update
would throw an error.That baseurl works for me.
0 -
quietFinn - Although I still cannot get to the baseurl via browser, your idea of running yum update worked. So, ultimately, the misadventure onf a failed cPanel update led me to updating MariaDB and much more. :)
0 -
I'm experiencing the same issue, what is recommended fix?
OS: AlmaLinux 8.10
cPanel Version 136
cat /etc/yum.repos.d/MariaDB106.repo
[MariaDB106]
name = MariaDB106
baseurl = https://archive.mariadb.org/mariadb-10.6/yum/centos/8/x86_64
gpgkey=https://archive.mariadb.org/PublicKey
https://supplychain.mariadb.com/MariaDB-Server-GPG-KEY
gpgcheck=1
rpm -qa | grep -i '^MariaDB'
MariaDB-client-10.6.27-1.el8.x86_64
MariaDB-common-10.6.27-1.el8.x86_64
MariaDB-server-10.6.27-1.el8.x86_64
MariaDB-devel-10.6.27-1.el8.x86_64
MariaDB-shared-10.6.27-1.el8.x86_64
yum repolist all | grep -i MariaDB
MariaDB106 MariaDB106 enabled0 -
If you update the baseurl to the following:
https://archive.mariadb.org/yum/10.6/centos/8/x86_64/
Then run yum update again, it will fix the issue.
Edited to say the above is the baseurl to use if you are on Alma/RHEL8. If you are still on 7 then the baseurl would be:
0 -
Thanks very much, this has resolved the issue.
0
Please sign in to leave a comment.
Comments
10 comments