sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock-frontend
转载于:(2条消息) 【Linux Ubuntu20】解决无法获得锁 /var/lib/dpkg/lock-frontend,锁正由进程 xxxx(unattended-upgr)持有的问题_明歌儿的杂记-CSDN博客
标签:锁正,20,lib,lock,sudo,报错,var,frontend,dpkg
来源: https://www.cnblogs.com/tingtaishou/p/15427763.html