Problème systemd après upgrade debian

quand on change de release, il y a des nouveaux paquets, seul full-upgrade les prends en compte

https://manpages.debian.org/stretch/apt/apt.8.fr.html

Si tu as trop peur, tu fais une simulation, tu verras le compte-rendu

sudo apt -s full-upgrade
vm293 ~ > sudo apt -s full-upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  libclamav7 linux-headers-4.9.0-9-amd64 linux-headers-4.9.0-9-common
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
Les NOUVEAUX paquets suivants seront installés :
  libclamav9 linux-headers-4.9.0-11-amd64 linux-headers-4.9.0-11-common
Les paquets suivants seront mis à jour :
  apache2 apache2-bin apache2-data apache2-doc apache2-suexec-pristine apache2-utils autopoint base-files clamav clamav-base clamav-daemon clamav-docs clamav-freshclam
  clamdscan dovecot-core dovecot-imapd dovecot-mysql dovecot-pop3d dovecot-sieve gettext gettext-base ghostscript grub-common grub-pc grub-pc-bin grub2-common
  libapache2-mod-php7.0 libasprintf-dev libasprintf0v5 libcups2 libcupsimage2 libexpat1 libexpat1-dev libgd3 libgettextpo-dev libgettextpo0 libglib2.0-0 libglib2.0-data
  libgs9 libgs9-common libicu57 libldap-2.4-2 libldap-common libmariadbclient18 libnghttp2-14 libpam-systemd libsystemd0 libudev1 libxslt1.1 linux-compiler-gcc-6-x86
  linux-headers-amd64 linux-kbuild-4.9 linux-libc-dev mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common mariadb-server-10.1 mariadb-server-core-10.1
  open-vm-tools php7.0 php7.0-bz2 php7.0-cli php7.0-common php7.0-curl php7.0-gd php7.0-json php7.0-mbstring php7.0-mysql php7.0-opcache php7.0-readline php7.0-soap
  php7.0-xml php7.0-zip systemd systemd-sysv tzdata udev unzip
78 mis à jour, 3 nouvellement installés, 0 à enlever et 0 non mis à jour.
3 partiellement installés ou enlevés.
Inst libsystemd0 [232-25+deb9u11] (232-25+deb9u12 Debian:9.11/oldstable [amd64]) [systemd:amd64 ]
Conf libsystemd0 (232-25+deb9u12 Debian:9.11/oldstable [amd64]) [systemd:amd64 ]
Inst libpam-systemd [232-25+deb9u11] (232-25+deb9u12 Debian:9.11/oldstable [amd64]) [systemd:amd64 ]
Inst systemd [232-25+deb9u11] (232-25+deb9u12 Debian:9.11/oldstable [amd64])
Inst udev [232-25+deb9u11] (232-25+deb9u12 Debian:9.11/oldstable [amd64]) []
Inst libudev1 [232-25+deb9u11] (232-25+deb9u12 Debian:9.11/oldstable [amd64])
Conf libudev1 (232-25+deb9u12 Debian:9.11/oldstable [amd64])
Conf systemd (232-25+deb9u12 Debian:9.11/oldstable [amd64])
Inst systemd-sysv [232-25+deb9u11] (232-25+deb9u12 Debian:9.11/oldstable [amd64])
Inst base-files [9.9+deb9u9] (9.9+deb9u11 Debian:9.11/oldstable [amd64])
Conf base-files (9.9+deb9u11 Debian:9.11/oldstable [amd64])
Inst libldap-common [2.4.44+dfsg-5+deb9u2] (2.4.44+dfsg-5+deb9u3 Debian:9.11/oldstable [all])
Inst libldap-2.4-2 [2.4.44+dfsg-5+deb9u2] (2.4.44+dfsg-5+deb9u3 Debian:9.11/oldstable [amd64])
Inst libnghttp2-14 [1.18.1-1] (1.18.1-1+deb9u1 Debian-Security:9/oldstable [amd64])
Inst apache2 [2.4.25-3+deb9u7] (2.4.25-3+deb9u8 Debian:9.11/oldstable, Debian-Security:9/oldstable [amd64]) []
Inst apache2-bin [2.4.25-3+deb9u7] (2.4.25-3+deb9u8 Debian:9.11/oldstable, Debian-Security:9/oldstable [amd64]) []
Inst apache2-utils [2.4.25-3+deb9u7] (2.4.25-3+deb9u8 Debian:9.11/oldstable, Debian-Security:9/oldstable [amd64]) []
Inst apache2-data [2.4.25-3+deb9u7] (2.4.25-3+deb9u8 Debian:9.11/oldstable, Debian-Security:9/oldstable [all])
Inst grub-pc [2.02~beta3-5+deb9u1] (2.02~beta3-5+deb9u2 Debian:9.11/oldstable [amd64]) []
Inst grub2-common [2.02~beta3-5+deb9u1] (2.02~beta3-5+deb9u2 Debian:9.11/oldstable [amd64]) []
Inst grub-pc-bin [2.02~beta3-5+deb9u1] (2.02~beta3-5+deb9u2 Debian:9.11/oldstable [amd64]) []
Inst libasprintf-dev [0.19.8.1-2] (0.19.8.1-2+deb9u1 Debian:9.11/oldstable [amd64]) []
Inst libasprintf0v5 [0.19.8.1-2] (0.19.8.1-2+deb9u1 Debian:9.11/oldstable [amd64]) []
Inst gettext-base [0.19.8.1-2] (0.19.8.1-2+deb9u1 Debian:9.11/oldstable [amd64]) []
Inst grub-common [2.02~beta3-5+deb9u1] (2.02~beta3-5+deb9u2 Debian:9.11/oldstable [amd64])
Inst mariadb-common [10.1.38-0+deb9u1] (10.1.41-0+deb9u1 Debian:9.11/oldstable [all])
Inst mariadb-client-core-10.1 [10.1.38-0+deb9u1] (10.1.41-0+deb9u1 Debian:9.11/oldstable [amd64])
Conf mariadb-common (10.1.41-0+deb9u1 Debian:9.11/oldstable [all])
Inst mariadb-server-10.1 [10.1.38-0+deb9u1] (10.1.41-0+deb9u1 Debian:9.11/oldstable [amd64]) []
Inst mariadb-client-10.1 [10.1.38-0+deb9u1] (10.1.41-0+deb9u1 Debian:9.11/oldstable [amd64]) []
Inst mariadb-server-core-10.1 [10.1.38-0+deb9u1] (10.1.41-0+deb9u1 Debian:9.11/oldstable [amd64])
Inst tzdata [2019a-0+deb9u1] (2019c-0+deb9u1 Debian:oldstable-updates [all])
Inst apache2-doc [2.4.25-3+deb9u7] (2.4.25-3+deb9u8 Debian:9.11/oldstable, Debian-Security:9/oldstable [all])
Inst apache2-suexec-pristine [2.4.25-3+deb9u7] (2.4.25-3+deb9u8 Debian:9.11/oldstable, Debian-Security:9/oldstable [amd64])
Inst libgettextpo-dev [0.19.8.1-2] (0.19.8.1-2+deb9u1 Debian:9.11/oldstable [amd64]) []
Inst libgettextpo0 [0.19.8.1-2] (0.19.8.1-2+deb9u1 Debian:9.11/oldstable [amd64])
Inst libglib2.0-0 [2.50.3-2] (2.50.3-2+deb9u1 Debian:9.11/oldstable [amd64])
Inst gettext [0.19.8.1-2] (0.19.8.1-2+deb9u1 Debian:9.11/oldstable [amd64])
Inst autopoint [0.19.8.1-2] (0.19.8.1-2+deb9u1 Debian:9.11/oldstable [all])
Inst libclamav9 (0.101.4+dfsg-0+deb9u1 Debian:9.11/oldstable [amd64])
Inst clamav-daemon [0.100.3+dfsg-0+deb9u1] (0.101.4+dfsg-0+deb9u1 Debian:9.11/oldstable [amd64]) []
Inst clamdscan [0.100.3+dfsg-0+deb9u1] (0.101.4+dfsg-0+deb9u1 Debian:9.11/oldstable [amd64]) []
Inst clamav-base [0.100.3+dfsg-0+deb9u1] (0.101.4+dfsg-0+deb9u1 Debian:9.11/oldstable [all])
Inst clamav-freshclam [0.100.3+dfsg-0+deb9u1] (0.101.4+dfsg-0+deb9u1 Debian:9.11/oldstable [amd64])
Inst clamav [0.100.3+dfsg-0+deb9u1] (0.101.4+dfsg-0+deb9u1 Debian:9.11/oldstable [amd64])
Inst clamav-docs [0.100.3+dfsg-0+deb9u1] (0.101.4+dfsg-0+deb9u1 Debian:9.11/oldstable [all])
Inst dovecot-sieve [1:2.2.27-3+deb9u4] (1:2.2.27-3+deb9u5 Debian:9.11/oldstable, Debian-Security:9/oldstable [amd64]) []
Inst dovecot-imapd [1:2.2.27-3+deb9u4] (1:2.2.27-3+deb9u5 Debian:9.11/oldstable, Debian-Security:9/oldstable [amd64]) []
Inst dovecot-pop3d [1:2.2.27-3+deb9u4] (1:2.2.27-3+deb9u5 Debian:9.11/oldstable, Debian-Security:9/oldstable [amd64]) []
Inst libmariadbclient18 [10.1.38-0+deb9u1] (10.1.41-0+deb9u1 Debian:9.11/oldstable [amd64]) []
Inst dovecot-mysql [1:2.2.27-3+deb9u4] (1:2.2.27-3+deb9u5 Debian:9.11/oldstable, Debian-Security:9/oldstable [amd64]) []
Inst dovecot-core [1:2.2.27-3+deb9u4] (1:2.2.27-3+deb9u5 Debian:9.11/oldstable, Debian-Security:9/oldstable [amd64])
Inst libcupsimage2 [2.2.1-8+deb9u3] (2.2.1-8+deb9u4 Debian:9.11/oldstable [amd64]) []
Inst libcups2 [2.2.1-8+deb9u3] (2.2.1-8+deb9u4 Debian:9.11/oldstable [amd64])
Inst libexpat1-dev [2.2.0-2+deb9u2] (2.2.0-2+deb9u3 Debian-Security:9/oldstable [amd64]) []
Inst libexpat1 [2.2.0-2+deb9u2] (2.2.0-2+deb9u3 Debian-Security:9/oldstable [amd64])
Inst ghostscript [9.26a~dfsg-0+deb9u3] (9.26a~dfsg-0+deb9u5 Debian-Security:9/oldstable [amd64]) []
Inst libgs9 [9.26a~dfsg-0+deb9u3] (9.26a~dfsg-0+deb9u5 Debian-Security:9/oldstable [amd64]) []
Inst libgs9-common [9.26a~dfsg-0+deb9u3] (9.26a~dfsg-0+deb9u5 Debian-Security:9/oldstable [all])
Inst php7.0-zip [7.0.33-0+deb9u3] (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64]) []
Inst libxslt1.1 [1.1.29-2.1] (1.1.29-2.1+deb9u1 Debian:9.11/oldstable [amd64]) []
Inst php7.0-xml [7.0.33-0+deb9u3] (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64]) []
Inst php7.0-soap [7.0.33-0+deb9u3] (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64]) []
Inst php7.0-readline [7.0.33-0+deb9u3] (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64]) []
Inst php7.0-opcache [7.0.33-0+deb9u3] (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64]) []
Inst php7.0-mysql [7.0.33-0+deb9u3] (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64]) []
Inst php7.0-mbstring [7.0.33-0+deb9u3] (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64]) []
Inst php7.0-json [7.0.33-0+deb9u3] (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64]) []
Inst libgd3 [2.2.4-2+deb9u4] (2.2.4-2+deb9u5 Debian:9.11/oldstable [amd64]) []
Inst php7.0-gd [7.0.33-0+deb9u3] (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64]) []
Inst php7.0-curl [7.0.33-0+deb9u3] (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64]) []
Inst php7.0-bz2 [7.0.33-0+deb9u3] (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64]) []
Inst libapache2-mod-php7.0 [7.0.33-0+deb9u3] (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64]) []
Inst php7.0-cli [7.0.33-0+deb9u3] (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64]) []
Inst php7.0-common [7.0.33-0+deb9u3] (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64])
Inst libglib2.0-data [2.50.3-2] (2.50.3-2+deb9u1 Debian:9.11/oldstable [all])
Inst libicu57 [57.1-6+deb9u2] (57.1-6+deb9u3 Debian:9.11/oldstable [amd64])
Inst linux-compiler-gcc-6-x86 [4.9.168-1+deb9u4] (4.9.189-3+deb9u1 Debian-Security:9/oldstable [amd64])
Inst linux-headers-4.9.0-11-common (4.9.189-3+deb9u1 Debian-Security:9/oldstable [all])
Inst linux-kbuild-4.9 [4.9.168-1+deb9u4] (4.9.189-3+deb9u1 Debian-Security:9/oldstable [amd64])
Inst linux-headers-4.9.0-11-amd64 (4.9.189-3+deb9u1 Debian-Security:9/oldstable [amd64])
Inst linux-headers-amd64 [4.9+80+deb9u7] (4.9+80+deb9u9 Debian:9.11/oldstable [amd64])
Inst linux-libc-dev [4.9.168-1+deb9u4] (4.9.189-3+deb9u1 Debian-Security:9/oldstable [amd64])
Inst php7.0 [7.0.33-0+deb9u3] (7.0.33-0+deb9u5 Debian-Security:9/oldstable [all])
Inst unzip [6.0-21+deb9u1] (6.0-21+deb9u2 Debian:9.11/oldstable [amd64])
Inst open-vm-tools [2:10.1.5-5055683-4+deb9u1] (2:10.1.5-5055683-4+deb9u2 Debian:9.11/oldstable [amd64])
Conf libpam-systemd (232-25+deb9u12 Debian:9.11/oldstable [amd64])
Conf udev (232-25+deb9u12 Debian:9.11/oldstable [amd64])
Conf systemd-sysv (232-25+deb9u12 Debian:9.11/oldstable [amd64])
Conf libldap-common (2.4.44+dfsg-5+deb9u3 Debian:9.11/oldstable [all])
Conf libldap-2.4-2 (2.4.44+dfsg-5+deb9u3 Debian:9.11/oldstable [amd64])
Conf libnghttp2-14 (1.18.1-1+deb9u1 Debian-Security:9/oldstable [amd64])
Conf apache2 (2.4.25-3+deb9u8 Debian:9.11/oldstable, Debian-Security:9/oldstable [amd64])
Conf apache2-bin (2.4.25-3+deb9u8 Debian:9.11/oldstable, Debian-Security:9/oldstable [amd64])
Conf apache2-utils (2.4.25-3+deb9u8 Debian:9.11/oldstable, Debian-Security:9/oldstable [amd64])
Conf apache2-data (2.4.25-3+deb9u8 Debian:9.11/oldstable, Debian-Security:9/oldstable [all])
Conf grub-pc (2.02~beta3-5+deb9u2 Debian:9.11/oldstable [amd64])
Conf grub2-common (2.02~beta3-5+deb9u2 Debian:9.11/oldstable [amd64])
Conf grub-pc-bin (2.02~beta3-5+deb9u2 Debian:9.11/oldstable [amd64])
Conf libasprintf-dev (0.19.8.1-2+deb9u1 Debian:9.11/oldstable [amd64])
Conf libasprintf0v5 (0.19.8.1-2+deb9u1 Debian:9.11/oldstable [amd64])
Conf gettext-base (0.19.8.1-2+deb9u1 Debian:9.11/oldstable [amd64])
Conf grub-common (2.02~beta3-5+deb9u2 Debian:9.11/oldstable [amd64])
Conf mariadb-client-core-10.1 (10.1.41-0+deb9u1 Debian:9.11/oldstable [amd64])
Conf mariadb-server-10.1 (10.1.41-0+deb9u1 Debian:9.11/oldstable [amd64])
Conf mariadb-client-10.1 (10.1.41-0+deb9u1 Debian:9.11/oldstable [amd64])
Conf mariadb-server-core-10.1 (10.1.41-0+deb9u1 Debian:9.11/oldstable [amd64])
Conf tzdata (2019c-0+deb9u1 Debian:oldstable-updates [all])
Conf apache2-doc (2.4.25-3+deb9u8 Debian:9.11/oldstable, Debian-Security:9/oldstable [all])
Conf apache2-suexec-pristine (2.4.25-3+deb9u8 Debian:9.11/oldstable, Debian-Security:9/oldstable [amd64])
Conf libgettextpo-dev (0.19.8.1-2+deb9u1 Debian:9.11/oldstable [amd64])
Conf libgettextpo0 (0.19.8.1-2+deb9u1 Debian:9.11/oldstable [amd64])
Conf libglib2.0-0 (2.50.3-2+deb9u1 Debian:9.11/oldstable [amd64])
Conf gettext (0.19.8.1-2+deb9u1 Debian:9.11/oldstable [amd64])
Conf autopoint (0.19.8.1-2+deb9u1 Debian:9.11/oldstable [all])
Conf libclamav9 (0.101.4+dfsg-0+deb9u1 Debian:9.11/oldstable [amd64])
Conf clamav-daemon (0.101.4+dfsg-0+deb9u1 Debian:9.11/oldstable [amd64])
Conf clamdscan (0.101.4+dfsg-0+deb9u1 Debian:9.11/oldstable [amd64])
Conf clamav-base (0.101.4+dfsg-0+deb9u1 Debian:9.11/oldstable [all])
Conf clamav-freshclam (0.101.4+dfsg-0+deb9u1 Debian:9.11/oldstable [amd64])
Conf clamav (0.101.4+dfsg-0+deb9u1 Debian:9.11/oldstable [amd64])
Conf clamav-docs (0.101.4+dfsg-0+deb9u1 Debian:9.11/oldstable [all])
Conf dovecot-sieve (1:2.2.27-3+deb9u5 Debian:9.11/oldstable, Debian-Security:9/oldstable [amd64])
Conf dovecot-imapd (1:2.2.27-3+deb9u5 Debian:9.11/oldstable, Debian-Security:9/oldstable [amd64])
Conf dovecot-pop3d (1:2.2.27-3+deb9u5 Debian:9.11/oldstable, Debian-Security:9/oldstable [amd64])
Conf libmariadbclient18 (10.1.41-0+deb9u1 Debian:9.11/oldstable [amd64])
Conf dovecot-mysql (1:2.2.27-3+deb9u5 Debian:9.11/oldstable, Debian-Security:9/oldstable [amd64])
Conf dovecot-core (1:2.2.27-3+deb9u5 Debian:9.11/oldstable, Debian-Security:9/oldstable [amd64])
Conf libcupsimage2 (2.2.1-8+deb9u4 Debian:9.11/oldstable [amd64])
Conf libcups2 (2.2.1-8+deb9u4 Debian:9.11/oldstable [amd64])
Conf libexpat1-dev (2.2.0-2+deb9u3 Debian-Security:9/oldstable [amd64])
Conf libexpat1 (2.2.0-2+deb9u3 Debian-Security:9/oldstable [amd64])
Conf ghostscript (9.26a~dfsg-0+deb9u5 Debian-Security:9/oldstable [amd64])
Conf libgs9 (9.26a~dfsg-0+deb9u5 Debian-Security:9/oldstable [amd64])
Conf libgs9-common (9.26a~dfsg-0+deb9u5 Debian-Security:9/oldstable [all])
Conf php7.0-zip (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64])
Conf libxslt1.1 (1.1.29-2.1+deb9u1 Debian:9.11/oldstable [amd64])
Conf php7.0-xml (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64])
Conf php7.0-soap (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64])
Conf php7.0-readline (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64])
Conf php7.0-opcache (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64])
Conf php7.0-mysql (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64])
Conf php7.0-mbstring (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64])
Conf php7.0-json (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64])
Conf libgd3 (2.2.4-2+deb9u5 Debian:9.11/oldstable [amd64])
Conf php7.0-gd (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64])
Conf php7.0-curl (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64])
Conf php7.0-bz2 (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64])
Conf libapache2-mod-php7.0 (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64])
Conf php7.0-cli (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64])
Conf php7.0-common (7.0.33-0+deb9u5 Debian-Security:9/oldstable [amd64])
Conf libglib2.0-data (2.50.3-2+deb9u1 Debian:9.11/oldstable [all])
Conf libicu57 (57.1-6+deb9u3 Debian:9.11/oldstable [amd64])
Conf linux-compiler-gcc-6-x86 (4.9.189-3+deb9u1 Debian-Security:9/oldstable [amd64])
Conf linux-headers-4.9.0-11-common (4.9.189-3+deb9u1 Debian-Security:9/oldstable [all])
Conf linux-kbuild-4.9 (4.9.189-3+deb9u1 Debian-Security:9/oldstable [amd64])
Conf linux-headers-4.9.0-11-amd64 (4.9.189-3+deb9u1 Debian-Security:9/oldstable [amd64])
Conf linux-headers-amd64 (4.9+80+deb9u9 Debian:9.11/oldstable [amd64])
Conf linux-libc-dev (4.9.189-3+deb9u1 Debian-Security:9/oldstable [amd64])
Conf php7.0 (7.0.33-0+deb9u5 Debian-Security:9/oldstable [all])
Conf unzip (6.0-21+deb9u2 Debian:9.11/oldstable [amd64])
Conf open-vm-tools (2:10.1.5-5055683-4+deb9u2 Debian:9.11/oldstable [amd64])
Conf fail2ban (0.9.6-2 Debian:9.11/oldstable [all])
Conf rsyslog (8.24.0-1 Debian:9.11/oldstable [amd64])
Conf openssh-server (1:7.4p1-10+deb9u7 Debian:9.11/oldstable [amd64])

Ca a l’air de passer mais est-ce que ce sera exactement pareil en exec réelle ?

Par contre il va mettre à jour apache2/PHP/MYSQL et j’aimerais pas que ça me plante les applications. Je ferai ça Mardi quand je passerai en maintenance.

Pas de dépôts exotiques utilisés ?

Et j’approuve le full-upgrade, à vrai dire je pensais que cela avait été fait…

Non:

vm293 ~ > cat /etc/apt/sources.list
     # Debian Stretch, dépôt principal + paquets non libres
    deb http://deb.debian.org/debian/ stretch main contrib non-free
    # Debian Stretch, mises à jour de sécurité + paquets non libres
    deb http://security.debian.org/ stretch/updates main contrib non-free
    # Debian Stretch, mises à jour "volatiles" + paquets non libres
    deb http://deb.debian.org/debian/ stretch-updates main contrib non-free

Non. Longue histoire sur cet upgrade. Pour faire court l’upgrade avait planté le serveur il y a un mois et quelques et j’avais été informé par l’hébergeur qu’il fallait passer par eux pour des upgrade majeurs, qu’il fourniraient une VM avec la Debian9 installée et qu’il faudrait que je transfère les applis et re paramètre tout sur la nouvelle machine. Ca me plaisait pas trop mais bon…
Mais comme ils ont mis du temps à fournir la nouvelle VM et que mes applications étaient en panne j’ai fini par bricoler l’ancienne VM pour qu’elle tourne et on a oublié l’upgrade jusqu’à hier où j’ai voulu installer PHP7.0 pour tester une nouvelle version des applis ce qui a déclenché le problème sur les 3 paquets.
Voilà pourquoi je n’avais pas fait le full-upgrade.

Bonjour
J’ai repris les hostilités ce matin :slight_smile: avec le full-upgrade dont voici les éléments principaux de la trace

vm293 ~ > apt full-upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  libclamav7 linux-headers-4.9.0-9-amd64 linux-headers-4.9.0-9-common
Veuillez utiliser « apt autoremove » pour les supprimer.
Les NOUVEAUX paquets suivants seront installés :
  libclamav9 linux-headers-4.9.0-11-amd64 linux-headers-4.9.0-11-common
Les paquets suivants seront mis à jour :
  apache2 apache2-bin apache2-data apache2-doc apache2-suexec-pristine apache2-utils autopoint base-files clamav clamav-base clamav-daemon clamav-docs
  clamav-freshclam clamdscan dovecot-core dovecot-imapd dovecot-mysql dovecot-pop3d dovecot-sieve e2fslibs e2fsprogs gettext gettext-base ghostscript grub-common
  grub-pc grub-pc-bin grub2-common libapache2-mod-php7.0 libasprintf-dev libasprintf0v5 libcomerr2 libcups2 libcupsimage2 libexpat1 libexpat1-dev libgd3
  libgettextpo-dev libgettextpo0 libglib2.0-0 libglib2.0-data libgs9 libgs9-common libicu57 libldap-2.4-2 libldap-common libmariadbclient18 libnghttp2-14
  libpam-systemd libss2 libssl1.0.2 libssl1.1 libsystemd0 libudev1 libxslt1.1 linux-compiler-gcc-6-x86 linux-headers-amd64 linux-kbuild-4.9 linux-libc-dev
  mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common mariadb-server-10.1 mariadb-server-core-10.1 open-vm-tools openssl php7.0 php7.0-bz2 php7.0-cli
  php7.0-common php7.0-curl php7.0-gd php7.0-json php7.0-mbstring php7.0-mysql php7.0-opcache php7.0-readline php7.0-soap php7.0-xml php7.0-zip sudo systemd
  systemd-sysv tzdata udev unzip
86 mis à jour, 3 nouvellement installés, 0 à enlever et 0 non mis à jour.
3 partiellement installés ou enlevés.
Il est nécessaire de prendre 91,3 Mo dans les archives.
...
Job for ssh.service failed because the control process exited with error code.
See "systemctl status ssh.service" and "journalctl -xe" for details.
invoke-rc.d: initscript ssh, action "restart" failed.
● ssh.service - OpenBSD Secure Shell server
   Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2019-10-16 10:05:21 CEST; 7ms ago
  Process: 11915 ExecStart=/usr/sbin/sshd -D $SSHD_OPTS (code=exited, status=255)
  Process: 11913 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
 Main PID: 11915 (code=exited, status=255)

oct. 16 10:05:21 vm293 systemd[1]: Starting OpenBSD Secure Shell server...
oct. 16 10:05:21 vm293 systemd[1]: ssh.service: Main process exited, code=exited, status=255/n/a
oct. 16 10:05:21 vm293 systemd[1]: Failed to start OpenBSD Secure Shell server.
oct. 16 10:05:21 vm293 systemd[1]: ssh.service: Unit entered failed state.
oct. 16 10:05:21 vm293 systemd[1]: ssh.service: Failed with result 'exit-code'.
dpkg: erreur de traitement du paquet openssh-server (--configure) :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
Traitement des actions différées (« triggers ») pour libc-bin (2.24-11+deb9u4) ...
...
Des erreurs ont été rencontrées pendant l'exécution :
 openssh-server
 rsyslog
 apache2
E: Sub-process /usr/bin/dpkg returned an error code (1)

Curieusement ssh et apache fonctionnent toujours. Je reviens donc sur syslog:

vm293 ~ > systemctl start syslog 
Job for rsyslog.service failed because the control process exited with error code.
See "systemctl status rsyslog.service" and "journalctl -xe" for details.
vm293 ~ > journalctl -xe
-- L'unité (unit) rsyslog.service a terminé son arrêt.
oct. 16 10:19:16 vm293.jn-hebergement.com systemd[1]: Starting System Logging Service...
-- Subject: L'unité (unit) rsyslog.service a commencé à démarrer
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- L'unité (unit) rsyslog.service a commencé à démarrer.
oct. 16 10:19:16 vm293.jn-hebergement.com systemd[1]: rsyslog.service: Main process exited, code=exited, status=1/FAILURE
oct. 16 10:19:16 vm293.jn-hebergement.com systemd[1]: Failed to start System Logging Service.
-- Subject: L'unité (unit) rsyslog.service a échoué
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- L'unité (unit) rsyslog.service a échoué, avec le résultat failed.
oct. 16 10:19:16 vm293.jn-hebergement.com systemd[1]: rsyslog.service: Unit entered failed state.
oct. 16 10:19:16 vm293.jn-hebergement.com systemd[1]: rsyslog.service: Failed with result 'exit-code'.
oct. 16 10:19:16 vm293.jn-hebergement.com systemd[1]: rsyslog.service: Service hold-off time over, scheduling restart.
oct. 16 10:19:16 vm293.jn-hebergement.com systemd[1]: Stopped System Logging Service.
-- Subject: L'unité (unit) rsyslog.service a terminé son arrêt
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- L'unité (unit) rsyslog.service a terminé son arrêt.
oct. 16 10:19:16 vm293.jn-hebergement.com systemd[1]: rsyslog.service: Start request repeated too quickly.
oct. 16 10:19:16 vm293.jn-hebergement.com systemd[1]: Failed to start System Logging Service.
-- Subject: L'unité (unit) rsyslog.service a échoué
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- L'unité (unit) rsyslog.service a échoué, avec le résultat failed.
oct. 16 10:19:16 vm293.jn-hebergement.com systemd[1]: syslog.socket: Unit entered failed state.
oct. 16 10:19:16 vm293.jn-hebergement.com systemd[1]: rsyslog.service: Unit entered failed state.
oct. 16 10:19:16 vm293.jn-hebergement.com systemd[1]: rsyslog.service: Failed with result 'exit-code'.

Galère…

Quel est le type de virtualisation utilisé par ton hébergeur ?
Si c’est de la virtualisation de type « isolateur » (LXC, OpenVZ, etc.), ils ont raison et tu risques d’avoir des tas de problèmes en essayant de mettre à niveau.

C’est une VMWARE, donc un Hyperviseur de type 2

Il faudrait vérifier la compatibilité entre la version VMWare utilisée et Debian 9 en tant qu’OS invité :
https://www.vmware.com/resources/compatibility/search.php?deviceCategory=software&details=1&operatingSystems=235&page=1&display_interval=10&sortColumn=Partner&sortOrder=Asc&testConfig=16

je ne suis pas sur de savoir trouver laversion exacte . J’utilise virt-what mais le man ne donne pas d’info sur les options

vm293 ~ > virt-what -v
1.15
vm293 ~ > virt-what
vmware

J’ai envoyé une demande d’info à l’hébergeur. J’attends la réponse

Attention vmware ESXI est de type 1 par contre vmware fusion et vmware workstation sont de type 2.
Et de mémoire avec ESXI il est possible de faire tourner du Debian 9 voir 10

Y-a-t-il moyen de connaitre la version depuis la debian ?

De l’hyperviseur non, tout juste de quel hyperviseur il s’agit.