LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-19-2017, 01:47 PM   #1
actinide
Member
 
Registered: Jan 2012
Posts: 323

Rep: Reputation: Disabled
Update PPA problem "Another Synaptic is Running"


Hi can anybody help me with this. I've just installed a PPA and now
need to update cache but when I do so it says there is another
synaptic running in interactive mode. Please close it first.

How to fix please
 
Old 02-19-2017, 02:25 PM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
Close Synaptic and any other applications that deal with software updates, then try again.

If you still experience the problem, you can either kill the relevant tasks or, more simply, reboot.
 
Old 02-19-2017, 02:29 PM   #3
actinide
Member
 
Registered: Jan 2012
Posts: 323

Original Poster
Rep: Reputation: Disabled
Have tried rebooting but can't seem to find anything related to synaptic in tasks list
 
Old 02-19-2017, 02:34 PM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
Now that you've rebooted, are you still experiencing the problem?
 
Old 02-19-2017, 02:39 PM   #5
actinide
Member
 
Registered: Jan 2012
Posts: 323

Original Poster
Rep: Reputation: Disabled
Yes
 
Old 02-19-2017, 02:43 PM   #6
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
Ok. Close Synaptic and run the following from the command line:

sudo apt-get update

If there any errors, paste them here. If not, proceed to:

sudo apt-get upgrade

and paste the output here.
 
1 members found this post helpful.
Old 02-19-2017, 02:53 PM   #7
actinide
Member
 
Registered: Jan 2012
Posts: 323

Original Poster
Rep: Reputation: Disabled
Nice one hydrurga thats done it

Last edited by actinide; 02-19-2017 at 02:58 PM.
 
Old 02-19-2017, 02:57 PM   #8
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
Thanks. And the output from sudo apt-get upgrade?
 
Old 02-19-2017, 03:04 PM   #9
actinide
Member
 
Registered: Jan 2012
Posts: 323

Original Poster
Rep: Reputation: Disabled

Last edited by actinide; 02-19-2017 at 03:06 PM.
 
Old 02-19-2017, 03:07 PM   #10
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
Ok, all looks good. Best that you reboot now, due to the grub and dbus updates, and then try Synaptic again.
 
Old 02-19-2017, 05:24 PM   #11
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872Reputation: 2872
Why did you edit your posts like that, actinide? Not only was I unaware that you had done so (you don't get notified for edits on LQ, just for new posts), but by deleting the output from the commands you rendered the thread pretty useless for anyone else reading it in the future.

My advice: don't do editing like that again to remove your output: remember that you're part of a community here. I wasn't just helping you but helping anyone else with a similar problem.

My additional advice: please mark this thread as solved.

For everyone else, I worked out what I think caused this problem in the first place. When you click on Settings->Repositories in Synaptic Package Manager, there is a new window opened. Although it looks as if this part of Synaptic, it is actually software-sources, which you can run directly and independently of Synaptic if you so desire.

Now, the APT package management suite, used by both Synaptic and software-sources, only allows access by one program at a time, enforced by activating a lock in the relevant apt directory. So, if you access software-sources through Synaptic, and then try to refresh the cache in the software-sources window, software-sources can't actually do it because Synaptic has locked APT.

The solution? Either run software-sources directly or, once you have finished running software-sources through Synaptic, close that window and do the cache refresh (reload) from Synaptic itself.
 
2 members found this post helpful.
  


Reply

Tags
ppa


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unique password for "update" and "synaptic" and "apt-get" SaintDanBert Linux - Security 1 09-17-2010 05:53 AM
[SOLVED] Problem running .sh script with "screen" and "java" IJustinI Linux - Newbie 31 06-01-2010 08:13 AM
Synaptic Gui ver on Suse 10.0 - error message : "command synaptic not found" suse2166 Linux - Newbie 6 04-04-2006 02:58 AM
Suse 9.1: "apt-get install synaptic" problem yautja666 Linux - Newbie 4 05-18-2004 11:46 AM
apt-get/Synaptic problem ("duplicate files") TippyToes Linux - Software 3 01-03-2004 09:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration