root@ubuntu-studio:/# 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:
hyphen-en-us icedtea-netx-common libhdb9-heimdal libkdc2-heimdal libntdb1
libreoffice-help-de libreoffice-help-en-gb libreoffice-help-en-us
libreoffice-l10n-de libreoffice-l10n-en-gb libreoffice-l10n-en-za
linux-headers-4.2.0-27 linux-headers-4.2.0-27-generic
linux-headers-4.2.0-27-lowlatency linux-image-4.2.0-27-generic
linux-image-4.2.0-27-lowlatency linux-image-extra-4.2.0-27-generic
mythes-en-au openoffice.org-hyphenation python-ntdb
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 libpam-systemd:amd64 (204-5ubuntu20.19) ...
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
invoke-rc.d: unknown initscript, /etc/init.d/systemd-logind not found.
dpkg: error processing package libpam-systemd:amd64 (--configure):
subprocess installed post-installation script returned error exit status 100
Errors were encountered while processing:
libpam-systemd:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)