YunoHost 4.0 (Buster) release / Sortie de YunoHost 4.0 (Buster)

Arghh !
Pas de chance de mon côté, sur une Raspberry pi.
Après une mise à jour qui s’est bien déroulée, la migration vers 4.x sous Debian Buster ne veut pas se faire.
Rien n’y fait.
Et m’indique des erreurs que je n’arrive pas à résoudre.

Tentative de résolution avec sudo apt install --fix-broken

sudo apt install --fix-broken

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  etckeeper firmware-ralink fonts-lyx glances guile-2.2-libs hddtemp iproute
  javascript-common libblas-common libblas3 libboost-filesystem1.62.0
  libboost-iostreams1.62.0 libboost-system1.62.0 libgfortran3 libhiredis0.13
  libjs-angularjs libjs-jquery libjs-jquery-ui libjs-lodash liblapack3
  libncurses6 libpython3.7-minimal libwebpdemux2 libwebpmux2 python-apt
  python-gnupg python-matplotlib-data python3-bottle python3-chardet
  python3-crypto python3-cycler python3-dateutil python3-docker
  python3-influxdb python3-matplotlib python3-netifaces python3-numpy
  python3-pil python3-pkg-resources python3-psutil python3-pyasn1
  python3-pyparsing python3-pysnmp4 python3-pystache python3-requests
  python3-six python3-tz python3-urllib3 python3-websocket python3.7-minimal
  rename sgml-base xml-core
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libalgorithm-diff-xs-perl libdbi-perl libfcgi-perl libfile-fcntllock-perl
  libgdbm-compat4 libgdbm6 libhiredis0.14 libhtml-parser-perl
  liblocale-gettext-perl libnetaddr-ip-perl libnginx-mod-http-auth-pam
  libnginx-mod-http-cache-purge libnginx-mod-http-dav-ext
  libnginx-mod-http-echo libnginx-mod-http-fancyindex libnginx-mod-http-geoip
  libnginx-mod-http-headers-more-filter libnginx-mod-http-image-filter
  libnginx-mod-http-lua libnginx-mod-http-ndk libnginx-mod-http-perl
  libnginx-mod-http-subs-filter libnginx-mod-http-uploadprogress
  libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter
  libnginx-mod-mail libnginx-mod-nchan libnginx-mod-stream libpam-systemd
  libperl5.28 libsocket6-perl libterm-readkey-perl libtext-charwidth-perl
  libtext-iconv-perl libtext-soundex-perl nginx-extras perl perl-base
  perl-modules-5.28 systemd
Suggested packages:
  libclone-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl
  gdbm-l10n libdata-dump-perl nginx-doc perl-doc libterm-readline-gnu-perl
  | libterm-readline-perl-perl libb-debug-perl systemd-container policykit-1
The following packages will be REMOVED:
  libdbd-mysql-perl
The following NEW packages will be installed:
  libgdbm-compat4 libgdbm6 libhiredis0.14 libperl5.28 perl-modules-5.28
The following packages will be upgraded:
  libalgorithm-diff-xs-perl libdbi-perl libfcgi-perl libfile-fcntllock-perl
  libhtml-parser-perl liblocale-gettext-perl libnetaddr-ip-perl
  libnginx-mod-http-auth-pam libnginx-mod-http-cache-purge
  libnginx-mod-http-dav-ext libnginx-mod-http-echo
  libnginx-mod-http-fancyindex libnginx-mod-http-geoip
  libnginx-mod-http-headers-more-filter libnginx-mod-http-image-filter
  libnginx-mod-http-lua libnginx-mod-http-ndk libnginx-mod-http-perl
  libnginx-mod-http-subs-filter libnginx-mod-http-uploadprogress
  libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter
  libnginx-mod-mail libnginx-mod-nchan libnginx-mod-stream libpam-systemd
  libsocket6-perl libterm-readkey-perl libtext-charwidth-perl
  libtext-iconv-perl libtext-soundex-perl nginx-extras perl perl-base systemd
35 upgraded, 5 newly installed, 1 to remove and 635 not upgraded.
6 not fully installed or removed.
Need to get 0 B/14.8 MB of archives.
After this operation, 45.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] 

Reading changelogs... Done
Extracting templates from packages: 100%
Setting up util-linux (2.33.1-0.1) ...
insserv: warning: current start runlevel(s) (empty) of script `hwclock.sh' overrides LSB defaults (S).
insserv: warning: current stop runlevel(s) (S) of script `hwclock.sh' overrides LSB defaults (0 6).
insserv: FATAL: service udev is missed in the runlevels 2 3 4 5 to use service raspi-config
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package util-linux (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mount:
 mount depends on util-linux (>= 2.29.2-3~); however:
  Package util-linux is not configured yet.

dpkg: error processing package mount (--configure):
 dependency problems - leaving unconfigured
Setting up nginx-common (1.14.2-2+deb10u1) ...
insserv: FATAL: service udev is missed in the runlevels 2 3 4 5 to use service raspi-config
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package nginx-common (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 util-linux
 mount
 nginx-common
E: Sub-process /usr/bin/dpkg returned an error code (1)

Puis, tentative de résolution avec sudo dpkg --configure -a

     sudo dpkg --configure -a

dpkg: dependency problems prevent configuration of libnet-ssleay-perl:
 libnet-ssleay-perl depends on perl (>= 5.28.0-3); however:
  Version of perl on system is 5.24.1-3+deb9u7.
 libnet-ssleay-perl depends on perlapi-5.28.0; however:
  Package perlapi-5.28.0 is not installed.

dpkg: error processing package libnet-ssleay-perl (--configure):
 dependency problems - leaving unconfigured
Setting up nginx-common (1.14.2-2+deb10u1) ...
insserv: FATAL: service udev is missed in the runlevels 2 3 4 5 to use service raspi-config
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package nginx-common (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent processing triggers for systemd:
 systemd depends on libsystemd0 (= 232-25+deb9u12); however:
  Version of libsystemd0:armhf on system is 241-7~deb10u4+rpi1.

dpkg: error processing package systemd (--configure):
 dependency problems - leaving triggers unprocessed
Setting up postgresql-common (200+deb10u3) ...
supported-versions: WARNING! Unknown distribution: raspbian
debian found in ID_LIKE, treating as Debian
insserv: FATAL: service udev is missed in the runlevels 2 3 4 5 to use service raspi-config
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package postgresql-common (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up util-linux (2.33.1-0.1) ...
insserv: warning: current start runlevel(s) (empty) of script `hwclock.sh' overrides LSB defaults (S).
insserv: warning: current stop runlevel(s) (S) of script `hwclock.sh' overrides LSB defaults (0 6).
insserv: FATAL: service udev is missed in the runlevels 2 3 4 5 to use service raspi-config
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package util-linux (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libgssapi-perl:
 libgssapi-perl depends on perl (>= 5.28.0-3); however:
  Version of perl on system is 5.24.1-3+deb9u7.
 libgssapi-perl depends on perlapi-5.28.0; however:
  Package perlapi-5.28.0 is not installed.

dpkg: error processing package libgssapi-perl (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mount:
 mount depends on util-linux (>= 2.29.2-3~); however:
  Package util-linux is not configured yet.

dpkg: error processing package mount (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libnet-ssleay-perl
 nginx-common
 systemd
 postgresql-common
 util-linux
 libgssapi-perl
 mount

Si je relance la migration via l’UI, j’ai un code d’erreur:

L’opération 'Exécuter les migrations' a échoué ! Pour obtenir de l’aide, merci de partager le journal de l’opération en cliquant ici

La migration 0015_migrate_to_buster a échoué avec l’exception Vous ne pouvez pas faire ça maintenant car dpkg/apt (le gestionnaire de paquets du système) semble avoir laissé des choses non configurées. Vous pouvez essayer de résoudre ce problème en vous connectant via SSH et en exécutant `sudo apt install --fix-broken` et/ou `sudo dpkg --configure -a'. : annulation

Erreurs si je lance la migration en ligne de commande:

sudo yunohost tools migrations migrate --accept-disclaimer

Info: Running migration 0015_migrate_to_buster...
Info: Starting migration to Buster
Info: Patching the sources.lists...
Info: Fetching available upgrades for system packages...
Info: Starting upgrade of system packages that needs to be upgrade independently...
Info: Starting main upgrade...
grav-ynh-deps was already set on hold.
Error: Migration 0015_migrate_to_buster did not complete, aborting. Error: You cannot do this right now because dpkg/APT (the system package managers) seems to be in a broken state… You can try to solve this issue by connecting through SSH and running `sudo apt install --fix-broken` and/or `sudo dpkg --configure -a`.
Info: The operation 'Run migrations' could not be completed. Please share the full log of this operation using the command 'commande-de-génération-du-partage-de-log-ici-cachée' to get help

Log d’erreur généré

Le log d’erreur se trouve ici