sudo dpkg 报错 E: Could not get lock /var/lib/dpkg/lock-frontend

报错:

E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 8888 (aptd) - open (11: Resource temporarily unavailable)
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?

不要使用rm方式删除lock,否则可能导致系统问题。人家提示里说了

$ sudo kill -9 8888 # 8888是上述提示中提到的进程PID
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页