The error in the log is:
Setting up libpam0g (1.1.2-2ubuntu8.3) ... debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
Please post the output of the following commands run from a terminal:
sudo fuser -v /var/cache/debconf/config.dat pstree
The error in the log is:
Setting up libpam0g (1.1.2-2ubuntu8.3) ... debconf/ config. dat is locked by another process: Resource temporarily unavailable
debconf: DbDriver "config": /var/cache/
Please post the output of the following commands run from a terminal:
sudo fuser -v /var/cache/ debconf/ config. dat
pstree