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

under Linux  tag     Published on June 15th , 2020 at 07:36 am

错误提示

解决方案

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

sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock-frontend

无法锁定管理目录(/var/lib/dpkg/),是否有其他进程正占用它?

sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock

本文由simyng创作, 采用知识共享署名4.0 国际许可协议进行许可,转载前请务必署名
  文章最后更新时间为:June 14th , 2020 at 11:36 pm