ended_at: 2022-10-14 13:05:35.240661
error: 'Migration 0021_migrate_to_bullseye did not complete, aborting. Error: Failed
  to reinstall mariadb-common ?'
interface: api
operation: tools_migrations_migrate_forward
parent: null
started_at: 2022-10-14 13:05:05.382307
success: false
yunohost_version: 4.4.2.14

============

2022-10-14 15:05:05,439: INFO - Running migration 0021_migrate_to_bullseye...
2022-10-14 15:05:05,489: INFO - Starting migration to Bullseye
2022-10-14 15:05:09,614: INFO - Patching the sources.lists...
2022-10-14 15:05:11,054: INFO - Fetching available upgrades for system packages...
2022-10-14 15:05:11,557: DEBUG - Get:1 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
2022-10-14 15:05:11,639: DEBUG - Hit:2 http://deb.debian.org/debian bullseye InRelease
2022-10-14 15:05:11,641: DEBUG - Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
2022-10-14 15:05:11,643: DEBUG - Hit:4 http://forge.yunohost.org/debian bullseye InRelease
2022-10-14 15:05:11,730: DEBUG - Hit:5 https://packages.sury.org/php bullseye InRelease
2022-10-14 15:05:13,316: DEBUG - Get:6 http://security.debian.org/debian-security bullseye-security/main Sources [160 kB]
2022-10-14 15:05:13,619: DEBUG - Get:7 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [189 kB]
2022-10-14 15:05:15,731: DEBUG - Fetched 441 kB in 3s (140 kB/s)
2022-10-14 15:05:21,946: DEBUG - Reading package lists...
2022-10-14 15:05:24,420: DEBUG - Done
2022-10-14 15:05:27,868: INFO - Applying patch to workaround conflict issue...
2022-10-14 15:05:28,073: DEBUG - Running: sed -i /var/lib/dpkg/status -e 's@Conflicts: apache2, bind9@Conflicts: apache2, bind9@g'
2022-10-14 15:05:28,370: DEBUG - Running: LC_ALL=C DEBIAN_FRONTEND=noninteractive APT_LISTCHANGES_FRONTEND=none apt install --quiet -o=Dpkg::Use-Pty=0 --fix-broken --assume-yes mariadb-common --reinstall -o Dpkg::Options::='--force-confmiss'
2022-10-14 15:05:28,407: DEBUG - 
2022-10-14 15:05:28,410: WARNING - WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
2022-10-14 15:05:28,415: DEBUG - 
2022-10-14 15:05:30,027: INFO - + Reading package lists...
2022-10-14 15:05:30,830: INFO - + Building dependency tree...
2022-10-14 15:05:30,847: INFO - + Reading state information...
2022-10-14 15:05:33,756: INFO - + 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 31 not upgraded.
2022-10-14 15:05:33,759: INFO - + 1 not fully installed or removed.
2022-10-14 15:05:33,762: INFO - + After this operation, 0 B of additional disk space will be used.
2022-10-14 15:05:33,764: WARNING - E: Internal Error, No file name for mariadb-common:amd64
2022-10-14 15:05:34,767: ERROR - Migration 0021_migrate_to_bullseye did not complete, aborting. Error: Failed to reinstall mariadb-common ?
Traceback (most recent call last):
  File "/usr/lib/moulinette/yunohost/tools.py", line 944, in tools_migrations_run
    migration.run()
  File "/usr/lib/moulinette/yunohost/data_migrations/0021_migrate_to_bullseye.py", line 174, in run
    raise YunohostError("Failed to reinstall mariadb-common ?", raw_msg=True)
yunohost.utils.error.YunohostError: Failed to reinstall mariadb-common ?