I upgraded a VPS from Ubuntu 14.04 LTS to 16.04 LTS. During the upgrade the libc6 preinst script showed this error:
Checking for services that may need to be restarted...
Checking init scripts...
/var/lib/dpkg/tmp.ci/preinst: 355: /var/lib/dpkg/tmp.ci/preinst: runlevel: not found
Then the upgrade process hung for, I think, unrelated reasons.
/sbin/runlevel is part of the 'upstart' package in 14.04, but it was moved to systemd-sysv in 16.05.
At this point in the upgrade upstart already upgraded to the xenial version, but systemd-sysv wasn't yet installed.
I upgraded a VPS from Ubuntu 14.04 LTS to 16.04 LTS. During the upgrade the libc6 preinst script showed this error:
Checking for services that may need to be restarted... lib/dpkg/ tmp.ci/ preinst: 355: /var/lib/ dpkg/tmp. ci/preinst: runlevel: not found
Checking init scripts...
/var/
Then the upgrade process hung for, I think, unrelated reasons.
/sbin/runlevel is part of the 'upstart' package in 14.04, but it was moved to systemd-sysv in 16.05.
At this point in the upgrade upstart already upgraded to the xenial version, but systemd-sysv wasn't yet installed.