Comment 6 for bug 1312975

Revision history for this message
Anders Kaseorg (andersk) wrote :

Even with the fixed invoke-rc.d (sysv-rc 2.88dsf-41ubuntu10 in utopic-proposed), I still can’t upgrade cgroup-lite:

Preparing to unpack .../cgroup-lite_1.10_all.deb ...
Failed to issue method call: Unit cgroup-lite.service not loaded.
invoke-rc.d: initscript cgroup-lite, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 5
dpkg: trying script from the new package instead ...
Failed to issue method call: Unit cgroup-lite.service not loaded.
invoke-rc.d: initscript cgroup-lite, action "stop" failed.
dpkg: error processing archive /var/cache/apt/archives/cgroup-lite_1.10_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 5
Failed to issue method call: Unit cgroup-lite.service failed to load: No such file or directory. See system logs and 'systemctl status cgroup-lite.service' for details.
invoke-rc.d: initscript cgroup-lite, action "start" failed.
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 6
Errors were encountered while processing:
 /var/cache/apt/archives/cgroup-lite_1.10_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: error processing package cgroup-lite (--configure):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting configuration
Errors were encountered while processing:
 cgroup-lite