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
What to do?