Similar experience on a DO instance.  Initial do-release-upgrade failure
due to bug #1793932: exim4 deprecated conffile issue.  Now recovery is
systemd-shim (9-1bzr4ubuntu1) blocked. @digitalcircuit's 2018-06-10
suggestion above did not work for me.  Will restore 16.04 and try again
later.

Details:
$ sudo apt-get install -f
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:
  cgmanager libcryptsetup4 rename
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  debconf debconf-i18n exim4-base exim4-daemon-heavy libapparmor-perl 
libgdbm-compat4 libgdbm5 libhtml-parser-perl
  liblocale-gettext-perl libmailutils5 libnet-ssleay-perl libpam-systemd 
libperl5.26 libreadline7 libsocket6-perl libssl1.1
  libtext-charwidth-perl libtext-iconv-perl networkd-dispatcher perl perl-base 
perl-modules-5.26 perl-openssl-defaults
  systemd
Suggested packages:
  debconf-doc debconf-utils libterm-readline-gnu-perl libgtk3-perl 
libnet-ldap-perl libqtgui4-perl libqtcore4-perl eximon4
  exim4-doc-html | exim4-doc-info spf-tools-perl swaks gdbm-l10n 
libdata-dump-perl perl-doc libterm-readline-gnu-perl
  | libterm-readline-perl-perl systemd-container policykit-1
The following packages will be REMOVED:
  libperl5.22 perl-modules-5.22 systemd-shim
The following NEW packages will be installed:
  libgdbm-compat4 libgdbm5 libmailutils5 libperl5.26 libreadline7 libssl1.1 
networkd-dispatcher perl-modules-5.26
  perl-openssl-defaults
The following packages will be upgraded:
  debconf debconf-i18n exim4-base exim4-daemon-heavy libapparmor-perl 
libhtml-parser-perl liblocale-gettext-perl
  libnet-ssleay-perl libpam-systemd libsocket6-perl libtext-charwidth-perl 
libtext-iconv-perl perl perl-base systemd
15 upgraded, 9 newly installed, 3 to remove and 389 not upgraded.
3 not fully installed or removed.
Need to get 0 B/14.9 MB of archives.
After this operation, 3,000 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Preconfiguring packages ...
(Reading database ... 97832 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

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

Title:
  upgrades to 18.04 fail

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to