sudo 安装软件时报错。无法获得锁 /var/lib/dpkg/lock-frontend - open (11: 资源暂时不可用)

sudo apt install git
E: 无法获得锁 /var/lib/dpkg/lock-frontend - open (11: 资源暂时不可用)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?


根据保存信息,进行解锁即可
sudo rm /var/lib/dpkg/lock-frontend

此时就好了 sudo apt install git
发布了14 篇原创文章 · 获赞 0 · 访问量 283

猜你喜欢

转载自blog.csdn.net/bc520bc/article/details/104638272