Waitingforcache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process1565(unattended-upgr)... 原因是 因为其他一些程序正在尝试更新 Ubuntu。 当命令或应用程序更新系统或安装新软件时,它会锁定 dpkg 文件(Debian包管理器)。完成此锁定是为了让两个进程不会同时更改内容,因为这可能...
在Ubuntu中,执行apt install后,出现以下问题: Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3365 (unattended-upgr) 看着描述就是有3365的进程进行占用了source文件。 解决办法:# 删除锁定的文件 rm/var/lib/dpkg/lock 实在没办法解除,直接进行干掉进程。
sudo rm /var/cache/apt/archives/lock sudo rm /var/lib/dpkg/lock sudo rm /var/lib/dpkg/lock-frontend
51CTO博客已为您找到关于waiting for unattended-upgr的相关内容,包含IT学习相关文档代码介绍、相关教程视频课程,以及waiting for unattended-upgr问答内容。更多waiting for unattended-upgr相关解答可以来51CTO博客参与分享和学习,帮助广大IT技术人实现成长和进步。
var/lib/dpkg/lock-frontend. ItisheWaitingforcachelock: Could notgetlock/var/lib/dpkg/lock-frontend. ItisheWaitingforcachelock: Could notgetlock/var/lib/dpkg/lock-frontend. ItisheWaitingforcachelock: Could notgetlock/var/lib/dpkg/lock-frontend. Itishe^C by process5216(unattended-upgr)... ...
var/lib/dpkg/lock-frontend. ItisheWaitingforcachelock: Could notgetlock/var/lib/dpkg/lock-frontend. ItisheWaitingforcachelock: Could notgetlock/var/lib/dpkg/lock-frontend. ItisheWaitingforcachelock: Could notgetlock/var/lib/dpkg/lock-frontend. Itishe^C by process5216(unattended-upgr)... ...