Unable to install/upgrade packages in root terminal

I’m not sure if I did something wrong, but I am unable to use apt upgrade. I keep getting these error messages:

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?
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?

Any help as to why this is happening would be greatly appreciated, thanks!
In case it matters, I was trying to install xorg, slim, and I3 when this happened.

Please send us screenshot of this issue along with your username.


username perryryan

Can you checking whether apt is already running ? and try killing them?

ps -aux | grep apt
kill -9 <found_pid>

thank you so much that worked! I have no idea why I didn’t check for apt running already.

1 Like