📌  相关文章
📜  E: 无法打开锁文件 var lib dpkg lock-frontend - open (13: Permission denied) E: 无法获取 dpkg 前端锁 (var lib dpkg lock-frontend),你是 root 吗? - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:01.197000             🧑  作者: Mango

代码示例6
#You can delete the lock file with the following command.
sudo rm /var/lib/apt/lists/lock
#You may also need to delete the lock file in the cache directory
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock