repowerd.service never starts due to dependency on missing lxc-android-config.service

Bug #1602597 reported by Michał Sawicz
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
repowerd
Fix Released
Undecided
Unassigned
repowerd (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Installing repowerd on a clean non-android vivid+overlay system fails, because repowerd.service has a Requires=lxc-android-config.service [1], which obviously does not exist on non-android devices.

I believe the two lines should be replaced by Wants= [2], "This is the recommended way to hook start-up of one unit to the start-up of another unit".

[1] https://git.launchpad.net/repowerd/tree/debian/repowerd.service?id=b19a7384345e31138db8bd3f4626dd9d3034d98e#n3
[2] https://www.freedesktop.org/software/systemd/man/systemd.unit.html#%5BUnit%5D%20Section%20Options

ProblemType: Package
DistroRelease: Ubuntu 15.04
Package: repowerd 2016.06+15.04.20160706.1-0ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-28.47-generic 4.4.13
Uname: Linux 4.4.0-28-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.8
Architecture: amd64
Date: Wed Jul 13 09:24:31 2016
DuplicateSignature: package:repowerd:2016.06+15.04.20160706.1-0ubuntu1 [origin: LP-PPA-ci-train-ppa-service-stable-phone-overlay]:subprocess installed post-installation script returned error exit status 6
ErrorMessage: subprocess installed post-installation script returned error exit status 6
RelatedPackageVersions:
 dpkg 1.17.25ubuntu1.1
 apt 1.0.9.7ubuntu4.2
SourcePackage: repowerd
Title: package repowerd 2016.06+15.04.20160706.1-0ubuntu1 [origin: LP-PPA-ci-train-ppa-service-stable-phone-overlay] failed to install/upgrade: subprocess installed post-installation script returned error exit status 6
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Michał Sawicz (saviq) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Confirmed broken on yakkety desktop too:

$ sudo systemctl start repowerd
[sudo] password for dan:
Failed to start repowerd.service: Unit lxc-android-config.service not found.

Changed in repowerd:
status: New → In Progress
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Fix proposed (but launchpad refuses to link it here):
https://code.launchpad.net/~saviq/repowerd/+git/repowerd/+merge/299925

summary: - package repowerd 2016.06+15.04.20160706.1-0ubuntu1 [origin: LP-PPA-ci-
- train-ppa-service-stable-phone-overlay] failed to install/upgrade:
- subprocess installed post-installation script returned error exit status
- 6
+ repowerd.service never starts due to dependency on missing lxc-android-
+ config.service
Changed in repowerd:
status: In Progress → Fix Released
Changed in repowerd (Ubuntu):
status: New → Fix Committed
Michael Terry (mterry)
Changed in repowerd (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.