Bug#854041: systemd: dpkg fails for systemd package when upgrading from jessie to stretch

Carsten Brandt debian at cebe.cc
Fri Feb 3 11:03:16 GMT 2017


Package: systemd
Version: 215-17+deb8u6
Severity: normal

Dear Maintainer,

while upgrading from jessie to stretch I encounter the following error with dpkg trying to upgrade systemd package:

		# apt-get dist-upgrade
        ...
		dpkg: systemd: Abhängigkeitsprobleme, wird aber wie gefordert dennoch entfernt:
		 dbus-user-session hängt ab von systemd; aber:
		  Paket systemd soll entfernt werden.
		 systemd-sysv hängt ab von systemd (= 215-17+deb8u6).
		 systemd-sysv hängt ab von systemd.
		 systemd-sysv hängt ab von systemd (= 215-17+deb8u6).
		 systemd-sysv hängt ab von systemd.
		 libpam-systemd:amd64 hängt ab von systemd (= 215-17+deb8u6).

		(Lese Datenbank ... 307696 Dateien und Verzeichnisse sind derzeit installiert.)
		Entfernen von systemd (215-17+deb8u6) ...
		systemd is the active init system, please switch to another before removing systemd.
		dpkg: Fehler beim Bearbeiten des Paketes systemd (--remove):
		 Unterprozess installiertes pre-removal-Skript gab den Fehlerwert 1 zurück
		Failed to stop lib-init-rw.mount: Unit lib-init-rw.mount not loaded.
		addgroup: Die Gruppe »systemd-journal« existiert bereits als Systemgruppe. Programmende.
		Fehler traten auf beim Bearbeiten von:
		 systemd
		E: Sub-process /usr/bin/dpkg returned an error code (1)

The full output can be found at the following URL:
https://gist.github.com/cebe/67c135b990d5c7a92149e4e7113c555c

For the upgrade I removed the jessie-backports repository from source.list and replaced
"jessie" with "stretch" the apt sources.list file is also included in the URL above.

Please let me know if you need further information.

best regards,
Carsten Brandt

-- Package-specific info:

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages systemd depends on:
ii  acl             2.2.52-2
ii  adduser         3.113+nmu3
ii  initscripts     2.88dsf-59.8
ii  libacl1         2.2.52-2
ii  libaudit1       1:2.6.7-1
ii  libblkid1       2.29.1-1
ii  libc6           2.24-9
ii  libcap2         1:2.24-8
ii  libcap2-bin     1:2.24-8
ii  libcryptsetup4  2:1.6.6-5
ii  libgcrypt20     1.7.5-3
ii  libkmod2        18-3
ii  liblzma5        5.2.2-1.2
ii  libpam0g        1.1.8-3.5
ii  libselinux1     2.6-3
iu  libsystemd0     232-14
ii  mount           2.29.1-1
ii  sysv-rc         2.88dsf-59.8
ii  udev            215-17+deb8u6
ii  util-linux      2.29.1-1

Versions of packages systemd recommends:
iu  dbus            1.10.14-1
ii  libpam-systemd  215-17+deb8u6

Versions of packages systemd suggests:
pn  systemd-ui  <none>

-- no debconf information



More information about the Pkg-systemd-maintainers mailing list