Comment 16 for bug 1504897

Revision history for this message
Martin Pitt (pitti) wrote : Re: packages with only upstart+systemd without sysvinit fail to upgrade: subprocess installed post-installation script returned error exit status 100

Ah, I can finally reproduce this! It seems the crucial difference is using do-release-upgrade; with apt-get or apt it always works fine.

I start from a slightly minimized vivid cloud image.

sudo apt-get install -y ubuntu-release-upgrader-core ofono
sudo do-release-upgrade -d

(using "lxc juju-local" instead of "ofono" as in bug 1490110 works too).

This even works in a schroot with policy-rc.d (which is much faster as it doesn't have to dist-upgrade the kernel etc). The upgrade doesn't fail, but one still sees

Setting up ofono (1.17.bzr6904+15.10.20150928.1-0ubuntu1) ...
Installing new version of config file /etc/dbus-1/system.d/ofono.conf ...
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
invoke-rc.d: unknown initscript, /etc/init.d/ofono not found.
invoke-rc.d: policy-rc.d denied execution of start.