According to the dpkg terminal log, the first package that failed was cgmanager:
Setting up cgmanager (0.32-4ubuntu1.2) ...
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
dpkg: dependency problems prevent configuration of systemd-shim:
[...]
According to the dpkg terminal log, the first package that failed was cgmanager:
Setting up cgmanager (0.32-4ubuntu1.2) ...
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
dpkg: dependency problems prevent configuration of systemd-shim:
[...]