sudo apt-get update not working

Asked by Ashutosh Tiwari on 2013-10-23

WHEN I ENTER apt-get update...i get this...

naveen@naveen-Extensa-4620:~$ sudo apt-get update
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
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?
WHAT SHOULD I DO?
THANKS IN ADVANCE

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Last query:
2013-10-23
Last reply:
2013-10-24

This question was originally filed as bug #1243677.

Brian Murray (brian-murray) said : #1

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs#When%20not%20to%20file%20a%20bug.

daniel CURTIS (anoda) said : #2

Hi. It seems, that another process is already using mentioned directories. This could be Update Manager, apt-get and so on. Maybe Ashutosh should running this command to try solve his problem?:

,-----[ Error 2:E ]
| sudo rm /var/lib/apt/lists/lock
`-----

Best regards.

Thomas Kr├╝ger (thkrueger) said : #3

The apt system is locked by an other process. This is in most cases caused by another program accessing it. Sometimes background task do that as well. If the problem persists, please try this point one after the other:

1. End all running programs
2. Reboot
3. Follow this procedure: https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure

Can you help with this problem?

Provide an answer of your own, or ask Ashutosh Tiwari for more information if necessary.

To post a message you must log in.