E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable
After the last software update I've been getting this:
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? Can't run apt-get, synaptic package manager, or any other. Have read and tried some solutions, but they don't do anything. Running Ubuntu 12.04. Anyone else? Or anyone know how to fix this? Thanks. |
This seems to have fixed it....
mkdir ~/beckupVarLib sudo mv /var/lib/apt/lists/* ~/beckupVarLib sudo apt-get update |
If you are getting this
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? It means you are trying to get packages from multiple sources. Are you trying to run synaptic package manager, ubuntu software center, software updater and commands like (apt-get update or apt-get upgrade or apt-get install package_name) You can't run two sources simultaneously. You have to close all other and run only one. The process locks the apt and if you pause the process (send it in background), it gives you dpkg lock error. Either you need to kill one process completely or you have to delete the lock file which is in /var/lib/dpkg/lock & /var/cache/apt/archives/lock |
All times are GMT -5. The time now is 05:27 PM. |