Comment 41 for bug 1773859

Revision history for this message
Dimitri John Ledkov (xnox) wrote : Re: upgrades to 18.04 fail

systemd now correctly conflicts with systemd-shim, and installing both simultaniously is now even harder:

$ sudo apt install systemd-shim
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  python3-netifaces
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  cgmanager cgroup-lite libcgmanager0 libnih-dbus1
Suggested packages:
  pm-utils
The following packages will be REMOVED:
  cloud-init friendly-recovery init libnss-systemd libpam-systemd netplan.io nplan plymouth plymouth-theme-ubuntu-text policykit-1 snapd
  systemd systemd-sysv ubuntu-minimal ubuntu-standard
The following NEW packages will be installed:
  cgmanager cgroup-lite libcgmanager0 libnih-dbus1 systemd-shim
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  init systemd-sysv (due to init)
0 upgraded, 5 newly installed, 15 to remove and 0 not upgraded.
Need to get 147 kB of archives.
After this operation, 77.6 MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
 ?] ^C
ubuntu@ubuntu:~$ dpkg-query -W systemd
systemd 237-3ubuntu10.10

Thus it should also cause removal of systemd-shim on upgrades. Marking as validation done.