I recommend to call dh_installinit with --no-start. This won't harm the
phone or the boot, but will prevent this failure when you try to install
the package on a machine without android. Note that on a desktop with
upstart it seems to work:

Setting up powerd (0.16+15.04.20150120-0ubuntu1) ...
powerd start/running, process 1802

but it's not running, and dmesg shows:

[  333.993882] init: powerd main process ended, respawning
[  334.145907] init: powerd main process (1864) killed by ABRT signal
[  334.145922] init: powerd respawning too fast, stopped

i. e. as upstart doesn't treat this as a failure (even though startup
fails), the package install happens to work. But that's not true under
systemd.

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

Title:
  systemd service blocks upgrade on desktop

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

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

Reply via email to