IT/linux
[linux] ubuntu Error: Waiting for cache lock
주니-
2022. 9. 30. 11:05
환경
OS : Ubuntu 20.04 LTS
error
'Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend’
solution
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock*
# 이후 패키지 업데이트
sudo dpkg --configure -a
sudo apt update