Raspberry Pi4 upgrade error

less than 1 minute read

Could not get lock /var/lib/dpkg/lock-frontend

Error sentence

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-get update
sudo apt-get upgrade


Go to top

Leave a comment