E: dpkg locked

E: 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?

ps -A | grep apt
# 1234 aptd
kill -9 1234

rm /var/lib/dpkg/lock
dpkg --configure -a

rm /var/lib/apt/lists/lock
rm /var/cache/apt/archives/lock
apt update

 

上一篇:haproxy配置文件详解


下一篇:Ubuntu-18.04.4-desktop-amd64安装gcc