mysql 服务器错误 ubuntu 20.04

mysql 服务器错误 ubuntu 20.04

我在设置 root 密码时意外停止了 mysql 的安装,现在我无法打开应用程序,也无法卸载它。

sudo apt-get remove --purge mysql*

返回

E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 10071 (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?

谁能帮帮我吗?

答案1

尽管出现警告,仍删除 /var/lib/dpkg/lock-frontend 文件。

相关内容