← Back to team overview

dx-packages team mailing list archive

[Bug 1773859] Re: upgrades to 18.04 fail

 

A friend of mine also got this on upgrade (he's not skilled so was quite
critical to him):

Whole error on further upgrades were (sorry for italian locale):

I seguenti pacchetti NUOVI saranno installati:
  libmsgpackc2 tmate
0 aggiornati, 2 installati, 1 da rimuovere e 1 non aggiornati.
1 non completamente installati o rimossi.
È necessario scaricare 0 B/259 kB di archivi.
Dopo quest'operazione, verranno occupati 652 kB di spazio su disco.
Continuare? [S/n] s
(Lettura del database... 402540 file e directory attualmente installati.)
Rimozione di systemd-shim (9-1bzr4ubuntu1)...
Rimozione di "deviazione di /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service in /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd da systemd-shim"
dpkg-divert: errore: la rinomina comprende il sovrascrivere "/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service" con
   il file "/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd", non consentito
dpkg: errore nell'elaborare il pacchetto systemd-shim (--remove):
 installed systemd-shim package post-removal script subprocess returned error exit status 2
Si sono verificati degli errori nell'elaborazione:
 systemd-shim
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to systemd-shim in Ubuntu.
https://bugs.launchpad.net/bugs/1773859

Title:
  upgrades to 18.04 fail

Status in systemd package in Ubuntu:
  Confirmed
Status in systemd-shim package in Ubuntu:
  Incomplete
Status in systemd source package in Bionic:
  Confirmed
Status in systemd-shim source package in Bionic:
  Confirmed

Bug description:
  $ sudo apt upgrade
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Calculating upgrade... Done
  The following packages will be REMOVED:
    systemd-shim
  0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
  1 not fully installed or removed.
  After this operation, 71.7 kB disk space will be freed.
  Do you want to continue? [Y/n] y
  (Reading database ... 632222 files and directories currently installed.)
  Removing systemd-shim (9-1bzr4ubuntu1) ...
  Removing 'diversion of /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service to /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd by systemd-shim'
  dpkg-divert: error: rename involves overwriting '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service' with
    different file '/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd', not allowed
  dpkg: error processing package systemd-shim (--remove):
   subprocess installed post-removal script returned error exit status 2
  Errors were encountered while processing:
   systemd-shim
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  Commenting out the dpkg-divert in systemd-shim's postrm solved this
  for me and I was about to continue the upgrade.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1773859/+subscriptions


References