Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

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

2 Answers 2

up vote 5 down vote accepted

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.

share|improve this answer

Use

sudo rm /var/lib/apt/lists/lock
share|improve this answer
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

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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