!-- flowchart 箭头图标 勿删 --
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
sudo ap