运行apt-get install时提示"无法获得锁 /var/lib/dpkg/lock"

提示如下:

E: 无法获得锁 /var/lib/dpkg/lock - open (11: 资源暂时不可用)

先执行sudo ps -aux|grep apt-get,记录下apt-get的pid,依次执行sudo kill <pid>

Donate
  • Copyright: Copyright is owned by the author. For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source.

请我喝杯咖啡吧~

支付宝
微信