I'm trying to install awn and when I do the sudo apt-get update, it spits out this..
Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable)
Unable to lock the list directory
This can happen when open synaptic. If not can try using this command.
sudo aptitude update
And if you still get the same error message, run below command.
ps -A
and then run
sudo kill -9 with apt and/or apt get ID
We can't run apt and apt-get at the same time, or at the same time as dpkg, Synaptic, Adept, or any other number of package managers. To prevent themselves from getting messed up, they each create a lock file. While the lock file for the package system (dpkg is the root) is in place, nobody can access it until the lock is released.
If you're getting the same exact error, you can always just blow away the lock file if you're REALLY sure you don't have two running.
sudo rm /var/lib/apt/lists/lock
Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable)
Unable to lock the list directory
This can happen when open synaptic. If not can try using this command.
sudo aptitude update
And if you still get the same error message, run below command.
ps -A
and then run
sudo kill -9 with apt and/or apt get ID
We can't run apt and apt-get at the same time, or at the same time as dpkg, Synaptic, Adept, or any other number of package managers. To prevent themselves from getting messed up, they each create a lock file. While the lock file for the package system (dpkg is the root) is in place, nobody can access it until the lock is released.
If you're getting the same exact error, you can always just blow away the lock file if you're REALLY sure you don't have two running.
sudo rm /var/lib/apt/lists/lock