[SOLVED] Unable to lock the administration directory /var/lib/dpkg/ in Ubuntu
Recently I got a problem of unlocking directory while using Ubuntu 12.10 alpha version. The error I got was :
"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?
This sort of problem arises when you are trying to install one application while the other is running in the synaptics or the terminal. How to unlock the directory now? The best is wait until the application that is installing from the terminal, update manager or synaptics and then you can proceed.
But the problem is the Synaptics package Manager may crash sometimes and you cannot and some process may still using the lock /var/lib/dpkig/. So you should now kill the lock process using the following command from the terminal:
After it is installed , I hope the lock problem will be solved..
Hope this Helps!
RefreshIt
"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?
This sort of problem arises when you are trying to install one application while the other is running in the synaptics or the terminal. How to unlock the directory now? The best is wait until the application that is installing from the terminal, update manager or synaptics and then you can proceed.
But the problem is the Synaptics package Manager may crash sometimes and you cannot and some process may still using the lock /var/lib/dpkig/. So you should now kill the lock process using the following command from the terminal:
sudo fuser -vki /var/lib/dpkg/lock
sudo dpkg --configure -a
After it is installed , I hope the lock problem will be solved..
Hope this Helps!
RefreshIt
[SOLVED] Unable to lock the administration directory /var/lib/dpkg/ in Ubuntu
Reviewed by RefreshIt
on
12:41:00 PM
Rating:
No comments: