[SOLVED] Unable to get Exclusive Lock Problem While Launching Synaptic, /var/lib/dpkg/lock – open (11 Resource temporarily unavailable) Error
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/
If you enjoyed this post, make sure you subscribe to my RSS feed!Related posts:
- [SOLVED] “subprocess pre-removal script returned error exit status 2″ error
- [SOLVED] “BADSIG 40976EAF437D05B5″ when reloading package lists in Synaptic/apt/update-manager in Ubuntu 10.04 Lucid Lynx
- [SOLVED] “error: mountall Could not Connect to Plymouth”, “mountall main process (x) terminated with status 1″
- [SOLVED] Gtk-Message: Failed to load module “rgba”: librgba.so: cannot open shared object file: No such file or directory
- [SOLVED] ERROR: Depends: binutils (<2.20.2) but 2.20.51.20100710-1ubuntu2 is to be installed while installing 0ad from getdeb in Maverick
