E: could not get lock /var/lib/dpkg/lock-frontend – open (11: resource temporarily unavailable)

In this article let’s discuss about E: could not get lock /var/lib/dpkg/lock-frontend – open (11: resource temporarily unavailable). Let’s go through the following methods without any delay.

Method 1:

sudo killall apt-get

If you are facing any issues with the above approach then try the alternative that is given below. It may look similar but have a try!

Method 2 :

ps aux | grep -i apt

sudo kill 
# Check if the process was killed by running the ‘ps aux | grep -i apt’ command. If it is still running, force kill it with SIGKILL signal:

sudo kill -9 
# Another, easier way would be to use the killall command. This will kill all the instances of a running program:

sudo killall apt apt-get

Hope the above solution works.

Realted Posts : Modulenotfounderror: no module named ‘pysnmp’