Mise a jour Mariadb bloquée

I have searched the forum for similar issues

on

This category is for general issues(=something is broken) regarding YunoHost, NOT apps.

on

This form is written in English but feel free to write in French if you’re more comfortable!

on

What type of hardware are you using

Old laptop or computer

What YunoHost version are you running

12.1.41.2

How are you able to access your server

The webadmin
SSH

Are you in a special context or did you perform specific tweaking on your YunoHost instance ?

non

Describe your issue

mise à jour suite à alerte problème PHP
mise a jour lancée en ligne de commande
bloqué sur maj mariadb

Dans l’interface web, il est affiché .

  • Préparation du dépaquetage de …/mariadb-server_1%3a10.11.19-0+deb12u1_amd64.deb …
    Warning: Stopping mariadb.service, but it can still be activated by:
    mariadb.socket
    /var/lib/mysql: found previous version 10.11
    Warning: Stopping mariadb.service, but it can still be activated by:
    mariadb.socket
    Warning: Stopping mysql.service, but it can still be activated by:
    mariadb.socket
  • Dépaquetage de mariadb-server (1:10.11.19-0+deb12u1) sur (1:10.11.18-0+deb12u1) …

des recherche IA m’indique de signaler :
mariadb-server 10.11.19 est bloqué dans postrm, avec mysqladmin ping en attente, mariadbd PID 4805 résiduel et SendSIGKILL=no

Share relevant logs or error messages

sudo systemctl status mariadb -l --no-pager
● mariadb.service - MariaDB 10.11.19 database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; preset: enabled)
Active: deactivating (stop-sigterm) (Result: resources) since Fri 2026-10-23 10:52:32 CEST; 1h 17min ago
TriggeredBy: ● mariadb.socket
Docs: man:mariadbd(8)
systemd (Linux) | Server | MariaDB Documentation
Tasks: 7 (limit: 124776)
Memory: 99.5M
CPU: 1.491s
CGroup: /system.slice/mariadb.service
└─4805 /usr/sbin/mariadbd

oct. 23 11:56:51 monsite.chezmoi systemd[1]: Stopped mariadb.service - MariaDB 10.11.19 database server.
oct. 23 11:56:51 monsite.chezmoi systemd[1]: mariadb.service: Consumed 1.327s CPU time.
oct. 23 11:56:51 monsite.chezmoi systemd[1]: mariadb.service: Found left-over process 4805 (mariadbd) in control group while starting unit. Ignoring.
oct. 23 11:56:51 monsite.chezmoi systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
oct. 23 11:56:51 monsite.chezmoi systemd[1]: mariadb.service: Will not start SendSIGKILL=no service of type KillMode=control-group or mixed while processes exist
oct. 23 11:56:51 monsite.chezmoi systemd[1]: mariadb.service: Failed to run ‘start’ task: Device or resource busy
oct. 23 11:56:51 monsite.chezmoi systemd[1]: Starting mariadb.service - MariaDB 10.11.19 database server…

sudo tail -n 10 /var/log/dpkg.log
2026-10-23 10:52:31 startup packages configure
2026-10-23 10:52:31 configure libpcre2-8-0:amd64 10.42-1+deb12u2
2026-10-23 10:52:31 status unpacked libpcre2-8-0:amd64 10.42-1+deb12u2
2026-10-23 10:52:31 status half-configured libpcre2-8-0:amd64 10.42-1+deb12u2
2026-10-23 10:52:31 status installed libpcre2-8-0:amd64 10.42-1+deb12u2
2026-10-23 10:52:31 startup archives unpack
2026-10-23 10:52:32 upgrade mariadb-server:amd64 1:10.11.18-0+deb12u1 1:10.11.19-0+deb12u1
2026-10-23 10:52:32 status half-configured mariadb-server:amd64 1:10.11.18-0+deb12u1
2026-10-23 10:52:33 status unpacked mariadb-server:amd64 1:10.11.18-0+deb12u1

udo journalctl -u mariadb --since “11:56” -o cat --no-pager
mariadb.service: Scheduled restart job, restart counter is at 385.
Stopped mariadb.service - MariaDB 10.11.18 database server.
mariadb.service: Consumed 1.317s CPU time.
mariadb.service: Found left-over process 4805 (mariadbd) in control group while starting unit. Ignoring.
This usually indicates unclean termination of a previous run, or service implementation deficiencies.
mariadb.service: Will not start SendSIGKILL=no service of type KillMode=control-group or mixed while processes exist
mariadb.service: Failed to run ‘start-pre’ task: Device or resource busy
mariadb.service: Failed with result ‘resources’.
mariadb.service: Unit process 4805 (mariadbd) remains running after unit stopped.
Failed to start mariadb.service - MariaDB 10.11.18 database server.
mariadb.service: Scheduled restart job, restart counter is at 386.
Stopped mariadb.service - MariaDB 10.11.18 database server.
mariadb.service: Consumed 1.318s CPU time.
mariadb.service: Found left-over process 4805 (mariadbd) in control group while starting unit. Ignoring.
This usually indicates unclean termination of a previous run, or service implementation deficiencies.
mariadb.service: Will not start SendSIGKILL=no service of type KillMode=control-group or mixed while processes exist
mariadb.service: Failed to run ‘start-pre’ task: Device or resource busy
mariadb.service: Failed with result ‘resources’.
mariadb.service: Unit process 4805 (mariadbd) remains running after unit stopped.
Failed to start mariadb.service - MariaDB 10.11.18 database server.
mariadb.service: Scheduled restart job, restart counter is at 387.
Stopped mariadb.service - MariaDB 10.11.18 database server.
mariadb.service: Consumed 1.319s CPU time.

2026-10-23 10:52:33 status half-installed mariadb-server:amd64 1:10.11.18-0+deb12u1

Bonjour,

Regarde si tu trouves des pistes dans le sujet suivant, nous sommes plusieirs à avoir été confronté à des soucis de mise à jour pour ce paquet :

Perso je m’en suis sorti en killant le Pid.

Effectivement, en suivant le topic indiqué, j’ai trouvé le process à tuer avec un gros kill -9 et la mise à jour s’est poursuivi.
Merci pour le coup de main.