update fiesty

Asked by Dave Stroud

E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the list directory

It is not searching at all. This has been going on for two days. Sudo apt-get returns the same error. Is repository down? Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
seisen1
Solved:
Last query:
Last reply:
Revision history for this message
Ulf Karlsson (ohmega) said :
#1

It seems like you have an apt process suspended in the background or something. Check your process list. If not, just remove the lock file.

Revision history for this message
Dave Stroud (bigdavesr) said :
#2

where do I find lock file. Please thanks

Revision history for this message
seisen1 (seisen-deactivatedaccount-deactivatedaccount) said :
#3

I had that same problem and it was the update manager running in the background trying to get updates. How long do you have your computer running before you boot?

Revision history for this message
Dave Stroud (bigdavesr) said :
#4

I run most of the day. Shutdown for 6-8 hours at night.

Revision history for this message
Best seisen1 (seisen-deactivatedaccount-deactivatedaccount) said :
#5

Open up your gnome system monitor and see if you have more than one instance of synaptic or something else running.

Revision history for this message
Dave Stroud (bigdavesr) said :
#6

I turned off automatic update and restarted my computer. That fixed it. Thanks again. You folks are great.

Revision history for this message
bigsharp02 (bigsharp02) said :
#7

Do this:

ps aux | grep apt-get

and see if the process is running if it is then kill it and try again...

If not then you may have fried your lib dir, I had a friend do that to his server when updating to a new version.