On using this command sudo dpkg --configure -a
this is the output I receive.
Setting up libpam-systemd:amd64 (229-4ubuntu17) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing package libpam-systemd:amd64 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
libpam-systemd:amd64
Please help resolve this I am not able to install anything new using apt-get
.