updates cannot be downloaded

Asked by dustbindiva

When I try to download updates, The error message says:

Another synaptic is running

There is another synaptic running in interactive mode. Please close it first.

I have never seen this before and dont know what I shoud do.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#1

Hi ,
try to make the updates from terminal (ctlr+alt+t)
close all other applications and give these commands

======================
sudo apt-get update
sudo apt-get dist-upgrade
======================

Thanks

Revision history for this message
dustbindiva (dustbindiva) said :
#2

Thanks, but I didnt have any other applications open when I saw this message. But I will run the command in the terminal that you wrote.

Revision history for this message
dustbindiva (dustbindiva) said :
#3

 It says

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?

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#4

Hi ,
open a terminal and run these commands with caution .Copy-paste them from here to terminal
be sure that no other application is open. Just a terminal. No synaptic or update manager. (check the icons for update-manager notification)

================================
sudo rm /var/lib/apt/lists* -vf
sudo rm /var/lib/dpkg/lock
sudo apt-get update
sudo dpkg --configure -a
sudo apt-get upgrade
================================
Thanks

Revision history for this message
linuxnoob18 (hotwheels-12-12) said :
#5

try typing sudo apt-get install -f

Can you help with this problem?

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

To post a message you must log in.