1. Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
    E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
    在apt-get  安装mysql的时候,服务器突然断开连接,因为网络不好,后来连上后,再次执行安装就会爆出这个错误。需要杀掉apt-get安装的进程,让其释放锁。 ps aux | grep -i apt  查看进程id,第二列的数字就是pid,然后kill  pid 即可。

  2. 参考: https://itsfoss.com/could-not-get-lock-error/