Re: Unable to upgrade Mariadb

From: Xavier Humbert <>
Date: Sat, 20 May 2023 17:40:54 UTC
Le 5/20/23 11:58, Xavier Humbert a écrit :
> Hi,
> I have MariaDB 10.4 installed, and wanted to upgrade to 10.5
> I know that I have to upgrade client first so I dit
>   portupgrade -vf -o databases/mariadb105-client mariadb104-client
> It fails at install stage with error
>   pkg-static: mariadb105-client-10.5.19 conflicts with 
> mariadb104-server-10.4.28 (installs files into the same place). 
> Problematic file: /usr/local/bin/mariadb-waitpid
> I previously upgraded from 10.3  to 10.4 without problem
Il eventually manage to upgrade by deleting mariadb104-server first, the 
upgrading the client, then reinstallin mariadb105-server

This is not satifying

But now, I have this error :

[root@numenor ~]# mariadb-upgrade -p -v
Enter password:
Looking for 'mariadb' as: mariadb
Looking for 'mariadb-check' as: mariadb-check
Error: Server version (10.4.28-MariaDB) does not match with the version of
the server (10.5.19-MariaDB) with which this program was 
built/distributed. You can
use --skip-version-check to skip this check.
FATAL ERROR: Upgrade failed
[root@numenor ~]# pkg info mariadb\*

Any help appreciated



Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer