Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Having trouble with software center. it says Canceling but does nothing.

I get

E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
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?

I tried a hard reboot and the problem still exists. Thanks for your help

share|improve this question

marked as duplicate by Mitch Aug 3 at 9:02

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
No solution yet....Help...I could spend the two hours formatting and rebuilding the system and data but I donwanna –  Jess W Farnsworth Oct 30 '13 at 3:29

1 Answer 1

You can try

sudo killall apt-get

if this doesn't work, try to manually remove the lock:

sudo rm /var/lib/dpkg/lock
sudo dpkg --configure -a
sudo apt-get update
share|improve this answer
    
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/ still locked by another process. How can I find that process and kill it? jess@jess-OptiPlex-GX260:~$ rrrggg. its gonna get a wipe if it does not beave –  Jess W Farnsworth Oct 28 '13 at 18:55
    
I still am having issues with this, and software center, despite removing the cache, is still hung up says searching. Anyone with any ideas? Running out of paticence. –  Jess W Farnsworth Oct 29 '13 at 5:08
    
so try those commands: sudo rm /var/lib/apt/lists/* -vf then sudo apt-get update –  Hakeem Wahab Oct 29 '13 at 8:27
    
Finally solved. Thanks Hakeem. I finally got it using the first.I still had locked file issues, so I rm'ed each locked file one at a time from the top and ran configure - a option until it rebuilt each file, finally asking if I wanted grub to create something. I said yes. then did the update. At this point, I was still showing waiting under the software center. I died a reboot, and everything appears clear now. Thanks. –  Jess W Farnsworth Oct 30 '13 at 17:18

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