0

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 ?

Tim
  • 32,861
  • 27
  • 118
  • 178
  • 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 08: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 09:15
  • it is working now... – Mohsin Shiraz Aug 21 '13 at 14:20

1 Answers1

0

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