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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-19-2017, 12:47 PM
|
#1
|
Member
Registered: Jan 2012
Posts: 333
Rep:
|
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
|
|
|
02-19-2017, 01:25 PM
|
#2
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
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.
|
|
|
02-19-2017, 01:29 PM
|
#3
|
Member
Registered: Jan 2012
Posts: 333
Original Poster
Rep:
|
Have tried rebooting but can't seem to find anything related to synaptic in tasks list
|
|
|
02-19-2017, 01:34 PM
|
#4
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
Now that you've rebooted, are you still experiencing the problem?
|
|
|
02-19-2017, 01:39 PM
|
#5
|
Member
Registered: Jan 2012
Posts: 333
Original Poster
Rep:
|
Yes
|
|
|
02-19-2017, 01:43 PM
|
#6
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
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.
|
02-19-2017, 01:53 PM
|
#7
|
Member
Registered: Jan 2012
Posts: 333
Original Poster
Rep:
|
Nice one hydrurga thats done it
Last edited by actinide; 02-19-2017 at 01:58 PM.
|
|
|
02-19-2017, 01:57 PM
|
#8
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
Thanks. And the output from sudo apt-get upgrade?
|
|
|
02-19-2017, 02:04 PM
|
#9
|
Member
Registered: Jan 2012
Posts: 333
Original Poster
Rep:
|
Last edited by actinide; 02-19-2017 at 02:06 PM.
|
|
|
02-19-2017, 02:07 PM
|
#10
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
Ok, all looks good. Best that you reboot now, due to the grub and dbus updates, and then try Synaptic again.
|
|
|
02-19-2017, 04:24 PM
|
#11
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
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.
|
All times are GMT -5. The time now is 11:43 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|