Apt-get update was fine but after apt-get upgrade -terminal frozen ay mysql message about log.
Told another script is locking it.
root@zorin162-VirtualBox:~# apt-get upgrade
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 59302 (apt-get)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
root@zorin162-VirtualBox:~# apt-get upgrade
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 59302 (apt-get)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
root@zorin162-VirtualBox:~# rm /var/lib/dpkg/lock
root@zorin162-VirtualBox:~# dpkg --configure --pending
dpkg: error: dpkg frontend lock is locked by another process
If another process is using updates you can't have two sessions of updates at once. For example, if you start Software Updater off you can't install packages via Synaptic, as dpkg is having to run to install the updates - this is the only time this happens - you can't have to instances of 'root' elevation at once.