Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

"There is another synaptic running in interactive mode"


  • Please log in to reply
21 replies to this topic

#1 bwrighttwo

bwrighttwo

  • Members
  • 717 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:09:24 PM

Posted 09 August 2014 - 11:16 PM

I get this when I try to update Mint 15  Mate.

 

"There is another synaptic running in interactive mode"

 

 



BC AdBot (Login to Remove)

 


m

#2 TsVk!

TsVk!

    penguin farmer


  • Members
  • 6,230 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:The Antipodes
  • Local time:12:24 PM

Posted 09 August 2014 - 11:24 PM

Open a terminal window, then use the command

ps aux | grep synaptic

How may processes called synaptic are there?
Post the results back to this thread if you are not sure how to interpret the results. The first column of the results gives the PID.

Any stay processes can be killed with the kill command with the process identification number PID as the argument


kill <PID>

Then run the apt-get or the updater.

 

:busy:



#3 bwrighttwo

bwrighttwo
  • Topic Starter

  • Members
  • 717 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:09:24 PM

Posted 09 August 2014 - 11:27 PM

ham       3188  0.1  0.2 458792 14804 ?        Sl   Aug09   0:05 gksu /usr/sbin/synaptic
root      3189  0.0  0.0  83072  2760 ?        Ss   Aug09   0:00 /usr/bin/sudo -H -S -p GNOME_SUDO_PASS -u root -- /usr/sbin/synaptic
root      3191  0.3  1.6 549932 101924 ?       Sl   Aug09   0:11 /usr/sbin/synaptic
root      3990  0.0  0.0   4440   628 ?        S    00:13   0:00 /bin/sh -c sudo /usr/sbin/synaptic --hide-main-window --non-interactive --parent-window-id 65011748 -o Synaptic::closeZvt=true --progress-str "Please wait, this can take some time" --finish-str "Update is complete" --set-selections-file /tmp/tmpHyX349
root      3991  0.0  0.0  82680  2540 ?        S    00:13   0:00 sudo /usr/sbin/synaptic --hide-main-window --non-interactive --parent-window-id 65011748 -o Synaptic::closeZvt=true --progress-str Please wait, this can take some time --finish-str Update is complete --set-selections-file /tmp/tmpHyX349
root      3992  0.0  0.2 386624 14712 ?        S    00:13   0:00 /usr/sbin/synaptic --hide-main-window --non-interactive --parent-window-id 65011748 -o Synaptic::closeZvt=true --progress-str Please wait, this can take some time --finish-str Update is complete --set-selections-file /tmp/tmpHyX349
root      4019  0.0  0.0  13632   964 pts/0    S+   00:26   0:00 grep --colour=auto synaptic
 



#4 TsVk!

TsVk!

    penguin farmer


  • Members
  • 6,230 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:The Antipodes
  • Local time:12:24 PM

Posted 09 August 2014 - 11:38 PM

Looks like your update is finished now.



#5 bwrighttwo

bwrighttwo
  • Topic Starter

  • Members
  • 717 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:09:24 PM

Posted 09 August 2014 - 11:45 PM

Last 3 errors when running apt-get update as superuser.

 

E: Some index files failed to download. They have been ignored, or old ones used instead.
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?



#6 sflatechguy

sflatechguy

  • BC Advisor
  • 2,164 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:09:24 PM

Posted 09 August 2014 - 11:49 PM

You can try sudo lsof /var/lib/dpkg/lock to find out which process is using it, then kill -9 <PID> to end it.



#7 bwrighttwo

bwrighttwo
  • Topic Starter

  • Members
  • 717 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:09:24 PM

Posted 09 August 2014 - 11:52 PM

Results

 

lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/ham/gvfs
      Output information may be incomplete.
COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF    NODE NAME
synaptic 3191 root   11uW  REG  252,0        0 2622455 /var/lib/dpkg/lock



#8 bwrighttwo

bwrighttwo
  • Topic Starter

  • Members
  • 717 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:09:24 PM

Posted 09 August 2014 - 11:57 PM

kill -9 <3139>

 

 

would that be the command to use?



#9 sflatechguy

sflatechguy

  • BC Advisor
  • 2,164 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:09:24 PM

Posted 10 August 2014 - 12:00 AM

Yes. But lsof wasn't able to get all the info -- see the warning.

 

Type  ps aux | grep apt  and kill all the apt, apt-get and/or aptitude processes that may be running as well.



#10 bwrighttwo

bwrighttwo
  • Topic Starter

  • Members
  • 717 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:09:24 PM

Posted 10 August 2014 - 12:05 AM

Soorry to be such a pain in the a. but, do i just put all pids in the <>?

 

 

ham       3188  0.1  0.2 458792 14804 ?        Sl   Aug09   0:09 gksu /usr/sbin/synaptic
root      3189  0.0  0.0  83072  2760 ?        Ss   Aug09   0:00 /usr/bin/sudo -H -S -p GNOME_SUDO_PASS -u root -- /usr/sbin/synaptic
root      3191  0.2  1.6 549932 101924 ?       Sl   Aug09   0:11 /usr/sbin/synaptic
root      4231  0.0  0.0  13632   960 pts/0    S+   01:01   0:00 grep --colour=auto apt



#11 sflatechguy

sflatechguy

  • BC Advisor
  • 2,164 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:09:24 PM

Posted 10 August 2014 - 12:08 AM

Not a problem. :wink:

 

You can type kill -9 3139 3188 3189 3191 4231


Edited by sflatechguy, 10 August 2014 - 12:10 AM.


#12 bwrighttwo

bwrighttwo
  • Topic Starter

  • Members
  • 717 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:09:24 PM

Posted 10 August 2014 - 12:29 AM

I did a c&p from your post and entered one wrong pid.  I did the 'ps aux | grep apt' again.   It looks like something is changing the pid.   here is what i did.

 

 

 

ham-Dell-System-Inspiron-N4110 ham # kill -9 3139 3188 3189 3191 4231
bash: kill: (3139) - No such process
bash: kill: (4231) - No such process
ham-Dell-System-Inspiron-N4110 ham # kill -9 3189
bash: kill: (3189) - No such process
ham-Dell-System-Inspiron-N4110 ham # kill -9 3188 3189 3191 4231
bash: kill: (3189) - No such process
bash: kill: (3191) - No such process
bash: kill: (4231) - No such process
ham-Dell-System-Inspiron-N4110 ham # ps aux | grep apt
root      4291  0.0  0.0  13628   960 pts/0    S+   01:22   0:00 grep --colour=auto apt
ham-Dell-System-Inspiron-N4110 ham # kill -9 4291
bash: kill: (4291) - No such process



#13 bwrighttwo

bwrighttwo
  • Topic Starter

  • Members
  • 717 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:09:24 PM

Posted 10 August 2014 - 12:37 AM

Did not get the other synaptc running errors this time but i still get a bunch of 404 errors.


Edited by bwrighttwo, 10 August 2014 - 12:37 AM.


#14 bwrighttwo

bwrighttwo
  • Topic Starter

  • Members
  • 717 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:09:24 PM

Posted 10 August 2014 - 12:42 AM

I think i need to run PPA purge???????



#15 sflatechguy

sflatechguy

  • BC Advisor
  • 2,164 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:09:24 PM

Posted 10 August 2014 - 12:46 AM

if you haven't been using official packages, then yes, you may need to. if you have been using official packages, just do apt-get update.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users