How to fix the dpkg fronted lock error - yunkon-kim/test-on-github-actions GitHub Wiki
Error message E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
sudo killall apt apt-get- delete directories if nothing appeared in step 1
sudo rm /var/lib/apt/lists/locksudo rm /var/cache/apt/archives/locksudo rm /var/lib/dpkg/lock*
sudo dpkg --configure -asudo apt update