Raspberry Pi4 upgrade error
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
Leave a comment