0

When I try to run sudo apt-get install my terminal starts to install whatever I'm trying to install, then it goes into a weird state

enter image description here

If I exit the terminal and try to sudo apt-get install again, I get this:

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

When I restart my computer, and try to apt-get install I get this:

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 

When I run sudo dpkg --configure -a and then run sudo apt-get install again, I then go back to the original problem (see above).

Terrance
  • 41,612
  • 7
  • 124
  • 183

0 Answers0