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.

Whenever I am trying to install unity tweak tool through command line, this message shows up

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?

How to rectify this ?

share|improve this question
    
reboot the computer and try again. –  Alvar Aug 19 '13 at 10:29
    
I have done but the same problem persists... –  Mohsin Shiraz Aug 20 '13 at 8:11
    
You get this error when another program is using the admin privileges. Like when you start update manager or does anything with sudo in the terminal, the admin privileges will be locked to that process, so no other can use it. so just start one terminal and try to install unity tweak from there, without anything else running. Report back if it works now. –  Alvar Aug 20 '13 at 9:15
    
it is working now... –  Mohsin Shiraz Aug 21 '13 at 14:20
add comment

1 Answer

Make sure that you have not opened other programs that use dpkg like the Software Manager or the software updater and try again.

share|improve this answer
add comment

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.