弹出状态:
Cannot obtain lock E: Could not get lock/var/lib/dpkg/lock-frontend.
It is held by process 2197 (unattended-upgr)
W: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to aquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?"
我该怎么办?我不知道是否有其他进程正在使用它!
答案1
该错误告诉您unattended-upgrades
当前正在进行更新。
您需要等待它完成。
完成后,您可以继续手动更新。
答案2
我确实等待了;然后更新了除带有前缀“lib”的更新之外的每个获取的更新;然后我更新了“lib”;每个人都成功安装。