$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
account-plugin-ubuntuone git-remote-bzr hello libcr0 libibverbs1 libsmpeg0
libtorque2 musescore-common packagekit-tools qtdeclarative5-ubuntuone1.0
tkdnd unity-scope-click-departmentsdb
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up cgmanager (0.32-4ubuntu1.1) ...
Failed to get D-Bus connection: No connection to service manager.
Failed to get D-Bus connection: No connection to service manager.
invoke-rc.d: initscript cgmanager, action "start" failed.
dpkg: error processing package cgmanager (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
cgmanager
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ sudo apt-get install -f plugin- ubuntuone git-remote-bzr hello libcr0 libibverbs1 libsmpeg0 ubuntuone1. 0 click-departmen tsdb
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
account-
libtorque2 musescore-common packagekit-tools qtdeclarative5-
tkdnd unity-scope-
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up cgmanager (0.32-4ubuntu1.1) ...
Failed to get D-Bus connection: No connection to service manager.
Failed to get D-Bus connection: No connection to service manager.
invoke-rc.d: initscript cgmanager, action "start" failed.
dpkg: error processing package cgmanager (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
cgmanager
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ $ cgm ping && echo ok || echo false
ok
$