`# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
galera-4 libmariadb3 mariadb-client mariadb-client-10.6 mariadb-client-core-10.6 mariadb-common mariadb-server mariadb-server-10.6 mariadb-server-core-10.6
mysql-common
10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 15,1 MB/24,3 MB of archives.
After this operation, 189 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Err:1 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu jammy/main amd64 mariadb-common all 1:10.6.23+maria~ubu2204
404 Not Found [IP: 104.18.135.24 443]
Err:2 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu jammy/main amd64 mariadb-server all 1:10.6.23+maria~ubu2204
404 Not Found [IP: 104.18.135.24 443]
Err:3 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu jammy/main amd64 libmariadb3 amd64 1:10.6.23+maria~ubu2204
404 Not Found [IP: 104.18.135.24 443]
Err:4 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu jammy/main amd64 mariadb-client-core-10.6 amd64 1:10.6.23+maria~ubu2204
404 Not Found [IP: 104.18.135.24 443]
Err:5 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu jammy/main amd64 mariadb-server-10.6 amd64 1:10.6.23+maria~ubu2204
404 Not Found [IP: 104.18.135.24 443]
Err:6 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu jammy/main amd64 galera-4 amd64 26.4.23-ubu2204
404 Not Found [IP: 104.18.135.24 443]
E: Failed to fetch https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu/pool/main/m/mariadb-10.6/mariadb-common_10.6.23%2bmaria%7eubu2204_all.deb 404 Not Found [IP: 104.18.135.24 443]
E: Failed to fetch https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu/pool/main/m/mariadb-10.6/mariadb-server_10.6.23%2bmaria%7eubu2204_all.deb 404 Not Found [IP: 104.18.135.24 443]
E: Failed to fetch https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu/pool/main/m/mariadb-10.6/libmariadb3_10.6.23%2bmaria%7eubu2204_amd64.deb 404 Not Found [IP: 104.18.135.24 443]
E: Failed to fetch https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu/pool/main/m/mariadb-10.6/mariadb-client-core-10.6_10.6.23%2bmaria%7eubu2204_amd64.deb 404 Not Found [IP: 104.18.135.24 443]
E: Failed to fetch https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu/pool/main/m/mariadb-10.6/mariadb-server-10.6_10.6.23%2bmaria%7eubu2204_amd64.deb 404 Not Found [IP: 104.18.135.24 443]
E: Failed to fetch https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu/pool/main/g/galera-4/galera-4_26.4.23-ubu2204_amd64.deb 404 Not Found [IP: 104.18.135.24 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?`
Please stop giving half baked responses. This script of your breaks the mariadb installation as it is missing the right plugins.
If you give, please ensure to install the requisite plugins, or add to your script these plugins.
I’ve tested the script on 5 production servers running mostly WordPress and Laravel projects (on Ubuntu 20.04 and 22.04), and didn’t encounter any issues during or after the MariaDB upgrade.
That said, I really appreciate you highlighting the missing plugins. I’ll double-check whether these extensions are already present on my servers and will definitely revise the script to include them if needed to prevent any breakage for others.
All good, boss no hard feelings at all. I totally understand where you were coming from.
My intention was never to break anyone’s production server, and I saw that you were running into issues with webmail and MariaDB afterward and I’m sorry you had to deal with that.
I went ahead and tested the plugin installation you mentioned:
apt install mariadb-plugin-provider-bzip2 mariadb-plugin-provider-lz4 mariadb-plugin-provider-lzma mariadb-plugin-provider-lzo mariadb-plugin-provider-snappy
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
mariadb-plugin-provider-bzip2 mariadb-plugin-provider-lz4 mariadb-plugin-provider-lzma mariadb-plugin-provider-lzo mariadb-plugin-provider-snappy
0 upgraded, 5 newly installed, 0 to remove and 5 not upgraded.
Need to get 22.8 kB of archives.
So yeah, turns out they weren’t installed on my end either, but everything still seems to be running fine so far. I’ll dig deeper and double-check if there’s any hidden issue with webmail, SMTP, or MariaDB.
Probably my setup, as I have almost everything that can be there. I do not use nonsensepress (sorry, it is a nonsense app (wp), and I really mean it), nor do I use Laravel. More of a PHP/Python user.
Yeah, I ran it a lot of issues, and trouble is, everything is my personal, and as my emails also went down, so you can imagine. Though I did learn something new from this.
It looks like the dlm.mariadb.com repo URL has changed — it’s now pointing here:
Given that the old link is returning a 404, should we update our configuration to use this new URL, or consider switching to mirror.mariadb.org/repo/ instead?
I was having a similar issue earlier and ended up switching to mirror.mariadb.org to get around it. Looks like the original repo is back online now though everything seems to be working fine again on my end too.
Add I have enter the architecture details like that:
# cat mariadb.list
# MariaDB 10.6 repository list - created 2025-08-21 12:23 UTC
# https://mariadb.org/download/
# deb.mariadb.org is a dynamic mirror if your preferred mirror goes offline. See https://mariadb.org/mirrorbits/ for details.
deb [arch=amd64 signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://deb.mariadb.org/10.6/ubuntu jammy main
# deb [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.mva-n.net/mariadb/repo/10.6/ubuntu jammy main
# deb-src [signed-by=/etc/apt/keyrings/mariadb-keyring.pgp] https://mirror.mva-n.net/mariadb/repo/10.6/ubuntu jammy main
root@jeanne:/etc/apt/sources.list.d# apt-get update
Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:2 http://fr.archive.ubuntu.com/ubuntu jammy InRelease
Hit:3 http://fr.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 https://nginx.org/packages/mainline/ubuntu jammy InRelease
Hit:5 http://fr.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:6 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security InRelease
Hit:7 https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates InRelease
Hit:8 https://apt.hestiacp.com jammy InRelease
Hit:9 https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease
Hit:10 https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates InRelease
Hit:11 https://mirror.mariadb.org/repo/10.6/ubuntu jammy InRelease
Hit:12 http://ppa.launchpad.net/ondrej/apache2/ubuntu jammy InRelease
Hit:13 http://ppa.launchpad.net/jonathonf/vim/ubuntu jammy InRelease
Hit:14 http://ppa.launchpad.net/ondrej/php/ubuntu jammy InRelease
Reading package lists... Done
root@jeanne:/etc/apt/sources.list.d# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
libglib2.0-0 libglib2.0-bin libglib2.0-data linux-generic linux-headers-generic linux-image-generic
The following packages will be upgraded:
galera-4 libmariadb3 mariadb-client mariadb-client-10.6 mariadb-client-core-10.6 mariadb-common mariadb-server mariadb-server-10.6 mariadb-server-core-10.6 mysql-common
10 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Need to get 15.1 MB/24.3 MB of archives.
After this operation, 189 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 https://mirror.mariadb.org/repo/10.6/ubuntu jammy/main amd64 mariadb-common all 1:10.6.23+maria~ubu2204 [3,914 B]
Get:2 https://mirror.mariadb.org/repo/10.6/ubuntu jammy/main amd64 mariadb-server all 1:10.6.23+maria~ubu2204 [2,684 B]
Get:3 https://mirror.mariadb.org/repo/10.6/ubuntu jammy/main amd64 libmariadb3 amd64 1:10.6.23+maria~ubu2204 [176 kB]
Get:4 https://mirror.mariadb.org/repo/10.6/ubuntu jammy/main amd64 mariadb-client-core-10.6 amd64 1:10.6.23+maria~ubu2204 [1,069 kB]
Get:5 https://mirror.mariadb.org/repo/10.6/ubuntu jammy/main amd64 mariadb-server-10.6 amd64 1:10.6.23+maria~ubu2204 [3,253 kB]
Get:6 https://mirrors.ircam.fr/pub/mariadb/mariadb-10.6.23/repo/ubuntu jammy/main amd64 galera-4 amd64 26.4.23-ubu2204 [10.6 MB]
Fetched 15.1 MB in 1s (13.4 MB/s)
Preconfiguring packages ...
(Reading database ... 135951 files and directories currently installed.)
Preparing to unpack .../mysql-common_1%3a10.6.23+maria~ubu2204_all.deb ...
Unpacking mysql-common (1:10.6.23+maria~ubu2204) over (1:10.6.22+maria~ubu2204) ...
Preparing to unpack .../mariadb-common_1%3a10.6.23+maria~ubu2204_all.deb ...
Unpacking mariadb-common (1:10.6.23+maria~ubu2204) over (1:10.6.22+maria~ubu2204) ...
Preparing to unpack .../mariadb-server_1%3a10.6.23+maria~ubu2204_all.deb ...
Unpacking mariadb-server (1:10.6.23+maria~ubu2204) over (1:10.6.22+maria~ubu2204) ...
Preparing to unpack .../mariadb-client_1%3a10.6.23+maria~ubu2204_all.deb ...
Unpacking mariadb-client (1:10.6.23+maria~ubu2204) over (1:10.6.22+maria~ubu2204) ...
Preparing to unpack .../libmariadb3_1%3a10.6.23+maria~ubu2204_amd64.deb ...
Unpacking libmariadb3:amd64 (1:10.6.23+maria~ubu2204) over (1:10.6.22+maria~ubu2204) ...
dpkg: mariadb-client-10.6: dependency problems, but removing anyway as you requested:
mariadb-server-10.6 depends on mariadb-client-10.6 (>= 1:10.6.22+maria~ubu2204).
mariadb-client depends on mariadb-client-10.6 (>= 1:10.6.23+maria~ubu2204).
dbconfig-mysql depends on default-mysql-client | virtual-mysql-client; however:
Package default-mysql-client is not installed.
Package mariadb-client-10.6 which provides default-mysql-client is to be removed.
Package mariadb-client-10.5 which provides default-mysql-client is not installed.
Package mariadb-client-10.4 which provides default-mysql-client is not installed.
Package virtual-mysql-client is not installed.
Package mariadb-client-10.6 which provides virtual-mysql-client is to be removed.
Package mariadb-client-10.5 which provides virtual-mysql-client is not installed.
Package mariadb-client-10.4 which provides virtual-mysql-client is not installed.
dbconfig-mysql depends on default-mysql-client | virtual-mysql-client; however:
Package default-mysql-client is not installed.
Package mariadb-client-10.6 which provides default-mysql-client is to be removed.
Package mariadb-client-10.5 which provides default-mysql-client is not installed.
Package mariadb-client-10.4 which provides default-mysql-client is not installed.
Package virtual-mysql-client is not installed.
Package mariadb-client-10.6 which provides virtual-mysql-client is to be removed.
Package mariadb-client-10.5 which provides virtual-mysql-client is not installed.
Package mariadb-client-10.4 which provides virtual-mysql-client is not installed.
(Reading database ... 135951 files and directories currently installed.)
Removing mariadb-client-10.6 (1:10.6.22+maria~ubu2204) ...
Setting up mysql-common (1:10.6.23+maria~ubu2204) ...
Setting up mariadb-common (1:10.6.23+maria~ubu2204) ...
(Reading database ... 135850 files and directories currently installed.)
Preparing to unpack .../mariadb-server-10.6_1%3a10.6.23+maria~ubu2204_amd64.deb ...
/var/lib/mysql: found previous version 10.6
Unpacking mariadb-server-10.6 (1:10.6.23+maria~ubu2204) over (1:10.6.22+maria~ubu2204) ...
Preparing to unpack .../mariadb-server-core-10.6_1%3a10.6.23+maria~ubu2204_amd64.deb ...
Unpacking mariadb-server-core-10.6 (1:10.6.23+maria~ubu2204) over (1:10.6.22+maria~ubu2204) ...
Preparing to unpack .../mariadb-client-core-10.6_1%3a10.6.23+maria~ubu2204_amd64.deb ...
Unpacking mariadb-client-core-10.6 (1:10.6.23+maria~ubu2204) over (1:10.6.22+maria~ubu2204) ...
Selecting previously unselected package mariadb-client-10.6.
Preparing to unpack .../mariadb-client-10.6_1%3a10.6.23+maria~ubu2204_amd64.deb ...
Unpacking mariadb-client-10.6 (1:10.6.23+maria~ubu2204) ...
Preparing to unpack .../galera-4_26.4.23-ubu2204_amd64.deb ...
Unpacking galera-4 (26.4.23-ubu2204) over (26.4.22-ubu2204) ...
Setting up galera-4 (26.4.23-ubu2204) ...
Setting up libmariadb3:amd64 (1:10.6.23+maria~ubu2204) ...
Setting up mariadb-server-core-10.6 (1:10.6.23+maria~ubu2204) ...
Setting up mariadb-client-core-10.6 (1:10.6.23+maria~ubu2204) ...
Setting up mariadb-client-10.6 (1:10.6.23+maria~ubu2204) ...
Setting up mariadb-client (1:10.6.23+maria~ubu2204) ...
Setting up mariadb-server-10.6 (1:10.6.23+maria~ubu2204) ...
mariadb-extra.socket is a disabled or a static unit not running, not starting it.
mariadb-extra.socket is a disabled or a static unit, not starting it.
Setting up mariadb-server (1:10.6.23+maria~ubu2204) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.10) ...
root@jeanne:/etc/apt/sources.list.d# systemctl restart mariadb