The _khAttAm_ blog

Sharing views and experiences

[SOLVED] Unable to get Exclusive Lock Problem While Launching Synaptic, /var/lib/dpkg/lock – open (11 Resource temporarily unavailable) Error

January28

I am using Ubuntu 10.04 Lucid Lynx Alpha and I encountered this while installing ltsp-server. The package being configured was ldm-server.

I was installing an application and Synaptic Package Manager just froze forever while configuring a package. I had to shut it down using sudo killall synaptic. Then, when I tried to launch t again, it would come up with “Unable to get Exclusive Lock” message. When I tried apt-get from Terminal, I got /var/lib/dpkg/lock – open (11 Resource temporarily unavailable).

I checked the processes by running “gksu gnome-system-monitor” from the run dialog, but could not find any packages related to apt or update. If you are facing the similar problem and if you find anything related to these, you should either stop the process from where it is running or kill them with gnome-system-monitor. I then killed update-notifier but that did not do it (that should not have done it anyways :) ).

Then I just ran this in my terminal:

1
sudo rm /var/lib/dpkg/lock

i.e. I just removed /var/lib/dpkg/lock.
This did it. I was able to open Synaptic Again.

But again I received “Sub Process Pre Removable Script Returned Error Exit Status X” problem, but solved it:

http://www.khattam.info/2009/08/04/solved-subprocess-pre-removal-script-returned-error-exit-status-2-error/

http://www.khattam.info/wp-content/plugins/sociofluid/images/digg_32.png http://www.khattam.info/wp-content/plugins/sociofluid/images/reddit_32.png http://www.khattam.info/wp-content/plugins/sociofluid/images/stumbleupon_32.png http://www.khattam.info/wp-content/plugins/sociofluid/images/delicious_32.png http://www.khattam.info/wp-content/plugins/sociofluid/images/technorati_32.png http://www.khattam.info/wp-content/plugins/sociofluid/images/google_32.png http://www.khattam.info/wp-content/plugins/sociofluid/images/myspace_32.png http://www.khattam.info/wp-content/plugins/sociofluid/images/facebook_32.png http://www.khattam.info/wp-content/plugins/sociofluid/images/yahoobuzz_32.png http://www.khattam.info/wp-content/plugins/sociofluid/images/twitter_32.png
If you enjoyed this post, make sure you subscribe to my RSS feed!

Related posts:

  1. [SOLVED] “subprocess pre-removal script returned error exit status 2″ error
  2. [SOLVED] “error: mountall Could not Connect to Plymouth”, “mountall main process (x) terminated with status 1″
  3. [SOLVED] LTSP, “error: LTSP client installation ended abnormally”
  4. [SOLVED] Gtk-Message: Failed to load module “gnomenu-panel”
  5. [SOLVED] ‘Murrine configuration option “scrollbar_color”, “gradients” is no longer supported and will be ignored.’
posted under Desktop, Linux

Email will not be published

Website example

Your Comment:

 

Get Adobe Flash playerPlugin by khattam.info
Get Adobe Flash playerPlugin by wpburn.com wordpress themes