夜雨聆风学习资料网

ARTICLE · 1048536

Ubuntu 安装更新软件报错问题

Ubuntu 安装更新软件报错问题

Ubuntu 安装软件报错问题 错误信息 book@100ask:~/workspace/rk3399$ sudo apt-get install repo git-core gitk git-gui gcc-arm-linux-gnueabihf u-boottools [sudo] password for book: E: 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/lock-frontend), is another process using it? book@100ask:~/workspace/rk3399$

无法获得锁 /var/lib/dpkg/lock-frontend。锁正由进程 3080(unattended-upgr)持有 N: 请注意,直接移除锁文件不一定是合适的解决方案,且可能损坏您的系统。

处理方法

sudo rm /var/lib/dpkg/lock-frontendsudo rm /var/lib/dpkg/lock

相关学习资料