I'm running Linux Mint 15 with Cinnamon. I'm fairly new to Linux, and I'm operating from an 8 GB memory stick. In the terminal, I typed the following line:

sudo apt-get install supertuxkart

It was taking hours, so I cancelled using the keys CtrlZ. After that I tried installing drpython by doing

sudo apt-get install drpython

Then it said:

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?

Can anyone help me?

  • If you're new to linux then use the GUI software manager to install things. Why make things harder than they should be? – w4etwetewtwet Jun 24 '13 at 20:22

control+z doesn't cancel the command, it pauses it. You need the process to close in order to start a new install. Bring it back to the foreground using the fg command, then stop it using control+c.



sudo rm /var/lib/apt/lists/lock
  • 1
    I don't think that's the issue in that case, since the OP was running another apt-get process in the background. Forcefully removing the lock and running it a second time could cause problems. – slhck Jul 21 '13 at 6:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.