今天使用apt命令,sudo apt-get install openssh-server,提示:
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/
解决步骤
(1)ps afx|grep apt 查看被占用进程
ml.png
(2)接着使用命令杀掉进程即可
sudo kill 进程id
网友评论