Debian 8.3. : Mise à jour udev /systemd

Bonsoir à tous,

Un simple update / upgrade est en train de me gâcher mon week-end :

[quote]Extracting templates from packages: 100%
Preconfiguring packages …
Setting up udev (215-17+deb8u3) …
Failed to execute operation: Launch helper exited with unknown return code 1
Failed to execute operation: Launch helper exited with unknown return code 1
Failed to restart udev.service: Launch helper exited with unknown return code 1
invoke-rc.d: initscript udev, action “restart” failed.
dpkg: error processing package udev (–configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
udev
E: Sub-process /usr/bin/dpkg returned an error code (1)
[/quote]

Bien entendu, un “apt-get -f install” ne réosud rien :

[quote]Setting up udev (215-17+deb8u3) …
Failed to execute operation: Launch helper exited with unknown return code 1
Failed to execute operation: Launch helper exited with unknown return code 1
Failed to restart udev.service: Launch helper exited with unknown return code 1
invoke-rc.d: initscript udev, action “restart” failed.
dpkg: error processing package udev (–configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of systemd:
systemd depends on udev (>= 208-8); however:
Package udev is not configured yet.

dpkg: error processing package systemd (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
udev
systemd
E: Sub-process /usr/bin/dpkg returned an error code (1)
[/quote]

Si vous avez une idée, je suis preneur : -)

Bonne soirée

Canard grippé des Landes

Salut,

À première vue, [mono]udev[/mono] est cassé ou en conflit, peut-être via le jeu de dépendances et je doute, raisonnablement, qu’il soit le seul dans cette posture.
Un [mono]copier/coller[/mono] [mono]intégral[/mono] de cette mise à jour,[mono]s’impose[/mono].

[quote=“canard40”]Bien entendu, un “apt-get -f install” ne réosud rien :
[/quote]
C’est une action à proscrire, pour le bien être de ton système, de mon point de vue.
Toujours dans le cadre de la raison, il me semble que, tu as lancé un [mono]apt-get upgrade[/mono] (ou supérieur : [mono]dist-upgrade[/mono]) ou [mono]apt upgrade[/mono] et plus encore.
En passant, qu’en pense [mono]aptitude[/mono] ?
As-tu visionné les logs de [mono]systemd[/mono] ?
Que retourne [mono]$ apt-cache policy[/mono] ?
Le tout, dans l’ordre, merci.

Merci pour le retour

Pour le copier / coller intégral

[code]apt-get upgrade

Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages have been kept back:
db5.1-util
The following packages will be upgraded:
apache2 apache2-bin apache2-data apache2-utils apt-utils bind9-host ca-certificates dbconfig-common dnsutils file host isc-dhcp-client isc-dhcp-common libapache2-mod-php5 libapt-inst1.5 libbind9-90 libcurl3-gnutls libdns-export100 libdns100 libirs-export91 libisc-export95 libisc95 libisccc90 libisccfg-export90 libisccfg90 libldap-2.4-2 liblwres90 libmagic1 libmysqlclient18 libpam-modules libpam-modules-bin libpam-runtime libpam-systemd libpam0g libpcre3
libpng12-0 libsystemd0 locales multiarch-support mysql-client-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 openssh-client openssh-server openssh-sftp-server passwd php5-cli php5-common php5-gd php5-mcrypt php5-mysql php5-readline python-pygments rsyslog ssh systemd systemd-sysv
59 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2 not fully installed or removed.
Need to get 0 B/31.3 MB of archives.
After this operation, 353 kB disk space will be freed.
Do you want to continue? [Y/n] y
Reading changelogs… Done
Extracting templates from packages: 100%
Preconfiguring packages …
Setting up udev (215-17+deb8u3) …
Failed to execute operation: Launch helper exited with unknown return code 1
Failed to execute operation: Launch helper exited with unknown return code 1
Failed to restart udev.service: Launch helper exited with unknown return code 1
invoke-rc.d: initscript udev, action “restart” failed.
dpkg: error processing package udev (–configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
udev
E: Sub-process /usr/bin/dpkg returned an error code (1)[/code]

Pour aptitude, c’est la même chose : erreur sur la configuration du udev

Concernant les logs de systemd, rien de faramineux et de très verbeux (à condition d’être certain que je cherche au bon endroit)

[quote]apt-cache policy

Package files:
100 /var/lib/dpkg/status
release a=now
500 security.debian.org/ jessie/updates/main Translation-en
500 security.debian.org/ jessie/updates/contrib Translation-en
500 security.debian.org/ jessie/updates/contrib i386 Packages
release v=8,o=Debian,a=stable,n=jessie,l=Debian-Security,c=contrib
origin security.debian.org
500 security.debian.org/ jessie/updates/main i386 Packages
release v=8,o=Debian,a=stable,n=jessie,l=Debian-Security,c=main
origin security.debian.org
500 ftp.debian.org/debian/ jessie-updates/main Translation-en
500 ftp.debian.org/debian/ jessie-updates/contrib Translation-en
500 ftp.debian.org/debian/ jessie-updates/contrib i386 Packages
release o=Debian,a=stable-updates,n=jessie-updates,l=Debian,c=contrib
origin ftp.debian.org
500 ftp.debian.org/debian/ jessie-updates/main i386 Packages
release o=Debian,a=stable-updates,n=jessie-updates,l=Debian,c=main
origin ftp.debian.org
500 ftp.debian.org/debian/ jessie/main Translation-en
500 ftp.debian.org/debian/ jessie/contrib Translation-en
500 ftp.debian.org/debian/ jessie/contrib i386 Packages
release v=8.3,o=Debian,a=stable,n=jessie,l=Debian,c=contrib
origin ftp.debian.org
500 ftp.debian.org/debian/ jessie/main i386 Packages
release v=8.3,o=Debian,a=stable,n=jessie,l=Debian,c=main
origin ftp.debian.org
Pinned packages:[/quote]

D’avance merci pour le retour

Cela sous-entend, le prompt de départ, de fin et le blabla entre les deux.

$ commande blabla $

# commande blabla #

[code]$ cat /etc/apt/preferences
$ cat /etc/apt/preferences.d/*

# dpkg --get-selections | grep hold[/code]

Justement, ces retours m’intéressent et me parlent.

$ aptitude -s upgrade $ aptitude -s safe-upgradee $ aptitude -s full-upgrade

Kénini, je n’en vois aucun, de retour.

Salut

Et voici :

Pour le copier / coller intégral de la mise à jour

[quote]root@WEB:/# apt-get upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages have been kept back:
db5.1-util
The following packages will be upgraded:
apache2 apache2-bin apache2-data apache2-utils apt-utils bind9-host ca-certificates dbconfig-common dnsutils file host
isc-dhcp-client isc-dhcp-common libapache2-mod-php5 libapt-inst1.5 libbind9-90 libcurl3-gnutls libdns-export100
libdns100 libirs-export91 libisc-export95 libisc95 libisccc90 libisccfg-export90 libisccfg90 libldap-2.4-2 liblwres90
libmagic1 libmysqlclient18 libpam-modules libpam-modules-bin libpam-runtime libpam-systemd libpam0g libpcre3
libpng12-0 libsystemd0 locales multiarch-support mysql-client-5.5 mysql-common mysql-server mysql-server-5.5
mysql-server-core-5.5 openssh-client openssh-server openssh-sftp-server passwd php5-cli php5-common php5-gd
php5-mcrypt php5-mysql php5-readline python-pygments rsyslog ssh systemd systemd-sysv
59 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2 not fully installed or removed.
Need to get 0 B/31.3 MB of archives.
After this operation, 353 kB disk space will be freed.
Do you want to continue? [Y/n] y
Reading changelogs… Done
Extracting templates from packages: 100%
Preconfiguring packages …
Setting up udev (215-17+deb8u3) …
Failed to execute operation: Launch helper exited with unknown return code 1
Failed to execute operation: Launch helper exited with unknown return code 1
Failed to restart udev.service: Launch helper exited with unknown return code 1
invoke-rc.d: initscript udev, action “restart” failed.
dpkg: error processing package udev (–configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
udev
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@WEB:/#[/quote]

Pour : cat /etc/apt/preferences

[quote] root@WEB:/# cat /etc/apt/preferences
cat: /etc/apt/preferences: No such file or directory
root@WEB:/# [/quote]

Pour : cat /etc/apt/preferences.d/*

[quote] root@WEB:/# cat /etc/apt/preferences.d/*
cat: /etc/apt/preferences.d/*: No such file or directory
root@WEB:/# [/quote]

Pour : dpkg --get-selections | grep hold

[quote] root@WEB:/# dpkg --get-selections | grep hold
root@WEB:/# [/quote]

Pour : aptitude -s upgrade

[quote]root@WEB:/# aptitude -s upgrade
Resolving dependencies…
The following packages will be upgraded:
apache2 apache2-bin apache2-data apache2-utils apt-utils bind9-host ca-certificates dbconfig-common dnsutils file
host isc-dhcp-client isc-dhcp-common libapache2-mod-php5 libapt-inst1.5 libbind9-90 libcurl3-gnutls
libdns-export100 libdns100 libirs-export91 libisc-export95 libisc95 libisccc90 libisccfg-export90 libisccfg90
libldap-2.4-2 liblwres90 libmagic1 libmysqlclient18 libpam-modules libpam-modules-bin libpam-runtime libpam-systemd
libpam0g libpcre3 libpng12-0 libsystemd0 locales multiarch-support mysql-client-5.5 mysql-common mysql-server
mysql-server-5.5 mysql-server-core-5.5 openssh-client openssh-server openssh-sftp-server passwd php5-cli
php5-common php5-gd php5-mcrypt php5-mysql php5-readline python-pygments rsyslog ssh systemd systemd-sysv
The following partially installed packages will be configured:
udev
59 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/31.3 MB of archives. After unpacking 353 kB will be freed.
Do you want to continue? [Y/n/?] y
Would download/install/remove packages.
root@WEB:/# [/quote]

Pour : aptitude -s upgrade

[quote] root@WEB:/# aptitude -s safe-upgrade
Resolving dependencies…
The following packages will be upgraded:
apache2 apache2-bin apache2-data apache2-utils apt-utils bind9-host ca-certificates dbconfig-common dnsutils file
host isc-dhcp-client isc-dhcp-common libapache2-mod-php5 libapt-inst1.5 libbind9-90 libcurl3-gnutls
libdns-export100 libdns100 libirs-export91 libisc-export95 libisc95 libisccc90 libisccfg-export90 libisccfg90
libldap-2.4-2 liblwres90 libmagic1 libmysqlclient18 libpam-modules libpam-modules-bin libpam-runtime libpam-systemd
libpam0g libpcre3 libpng12-0 libsystemd0 locales multiarch-support mysql-client-5.5 mysql-common mysql-server
mysql-server-5.5 mysql-server-core-5.5 openssh-client openssh-server openssh-sftp-server passwd php5-cli
php5-common php5-gd php5-mcrypt php5-mysql php5-readline python-pygments rsyslog ssh systemd systemd-sysv
The following partially installed packages will be configured:
udev
59 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/31.3 MB of archives. After unpacking 353 kB will be freed.
Do you want to continue? [Y/n/?] y
Would download/install/remove packages.
root@WEB:/# [/quote]

Pour : aptitude -s full-upgrade

[quote] root@WEB:/# aptitude -s full-upgrade
The following packages will be upgraded:
apache2 apache2-bin apache2-data apache2-utils apt-utils bind9-host ca-certificates db5.1-util{b} dbconfig-common
dnsutils file host isc-dhcp-client isc-dhcp-common libapache2-mod-php5 libapt-inst1.5 libbind9-90 libcurl3-gnutls
libdns-export100 libdns100 libirs-export91 libisc-export95 libisc95 libisccc90 libisccfg-export90 libisccfg90
libldap-2.4-2 liblwres90 libmagic1 libmysqlclient18 libpam-modules libpam-modules-bin libpam-runtime libpam-systemd
libpam0g libpcre3 libpng12-0 libsystemd0 locales multiarch-support mysql-client-5.5 mysql-common mysql-server
mysql-server-5.5 mysql-server-core-5.5 openssh-client openssh-server openssh-sftp-server passwd php5-cli
php5-common php5-gd php5-mcrypt php5-mysql php5-readline python-pygments rsyslog ssh systemd systemd-sysv
The following partially installed packages will be configured:
udev
60 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 728 kB/32.0 MB of archives. After unpacking 1449 kB will be used.
The following packages have unmet dependencies:
db5.1-util : Breaks: libdb5.1 (< 5.1.29-8~) but 5.1.29-5 is installed.
The following actions will resolve these dependencies:

 Remove the following packages:
  1. db5.1-util                  
    

Accept this solution? [Y/n/q/?] y
The following packages will be REMOVED:
db5.1-util{a}
The following packages will be upgraded:
apache2 apache2-bin apache2-data apache2-utils apt-utils bind9-host ca-certificates dbconfig-common dnsutils file
host isc-dhcp-client isc-dhcp-common libapache2-mod-php5 libapt-inst1.5 libbind9-90 libcurl3-gnutls
libdns-export100 libdns100 libirs-export91 libisc-export95 libisc95 libisccc90 libisccfg-export90 libisccfg90
libldap-2.4-2 liblwres90 libmagic1 libmysqlclient18 libpam-modules libpam-modules-bin libpam-runtime libpam-systemd
libpam0g libpcre3 libpng12-0 libsystemd0 locales multiarch-support mysql-client-5.5 mysql-common mysql-server
mysql-server-5.5 mysql-server-core-5.5 openssh-client openssh-server openssh-sftp-server passwd php5-cli
php5-common php5-gd php5-mcrypt php5-mysql php5-readline python-pygments rsyslog ssh systemd systemd-sysv
The following partially installed packages will be configured:
udev
59 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B/31.3 MB of archives. After unpacking 607 kB will be freed.
Do you want to continue? [Y/n/?] y
Would download/install/remove packages.
root@WEB:/#
[/quote]

Et voilà

Merci d’avance

Salut,

Il me semble que le souci est en amont d’[mono]udev[/mono].

[mono]libdb5.1[/mono], est issu de Wheezy (Oldstable).

$ apt-cache policy libdb5.1 db5.1-util $ dpkg -l |grep -e libdb5.1 -e db5.1-util

$ aptitude -s remove --purge libdb5.1 $ aptitude -s install db5.1-util