Best way to solve the problem of
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?
Solution from https://itsfoss.com/could-not-get-lock-error/
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?
Solution from https://itsfoss.com/could-not-get-lock-error/
ps aux | grep -i apt
sudo kill -9 <process id>sudo killall apt apt-getlsof /var/lib/dpkg/locklsof /var/lib/apt/lists/locklsof /var/cache/apt/archives/locksudo kill -9 PIDsudo rm /var/lib/apt/lists/locksudo rm /var/cache/apt/archives/locksudo rm /var/lib/dpkg/locksudo dpkg --configure -alsof /var/lib/dpkg/lock-frontendsudo kill -9 PIDsudo rm /var/lib/dpkg/lock-frontendsudo dpkg --configure -a
Comments
Post a Comment