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.
** Changed in: sysvinit (Ubuntu Wily)
Status: Incomplete => In Progress
** Changed in: sysvinit (Ubuntu X-series)
Status: Confirmed => In Progress
** Changed in: sysvinit (Ubuntu X-series)
Assignee: (unassigned) => Martin Pitt (pitti)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1504897
Title:
packages with only upstart+systemd without sysvinit fail to upgrade:
subprocess installed post-installation script returned error exit
status 100
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1504897/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs