can't install updates

Asked by dree

updates are available but cannot be installed
E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable) E: Unable to lock the download directory
should i lock the download directory? and how can i do such things?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu firefox-3.0 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Thomas Krüger (thkrueger) said :
#1

This message usally apears if two programs are accessing the package managers database at the same time.
The second program is locked out.
Check if two programs are using the database (e.g. Synaptic and the Update Manager). If it is not the case reboot your machine.

Revision history for this message
Soul-Sing (soulzing) said :
#2

That happens when synaptic or another package update / installation application is already running. Close any other package managers (including Add/Remove application, language pack installer, etc.) and retry.

or sudo rm /var/cache/apt/archives/lock
    sudo apt-get update

Can you help with this problem?

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

To post a message you must log in.