canot update in any way...

Asked by lamka

i type in tyerminal n that shown...

how to lock the directory?
sudo apt-get install update-manager
Password:
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?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu synaptic Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bhavani Shankar (bhavi) said :
#1

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.

Revision history for this message
Ian Ace (iaculallad) said :
#2

You could use the terminal to terminate apt-running applications.

ps aux | grep apt

Keep in mind the process ID and use pkill to terminate it:

sudo pkill -9 PID

HTH.

Regards,

Ian

Can you help with this problem?

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

To post a message you must log in.