LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 07-20-2018, 02:40 PM   #1
jeffneedle
LQ Newbie
 
Registered: Apr 2015
Posts: 13

Rep: Reputation: Disabled
Problems with synaptic


Hi. Using 5.0, fully updated. I've used terminal to install synaptic. When I try to run synaptic from the menus, I get an error -- unable to run synaptic-pkexec. Anyone know what's happening and how I can fix it? thanks.
 
Old 07-20-2018, 02:57 PM   #2
Mill J
Member
 
Registered: Feb 2017
Location: 127.0.0.1 Sweet 127.0.0.1
Distribution: Void, LFS, Haiku, Quirky on Rpi and many others
Posts: 864
Blog Entries: 2

Rep: Reputation: 314Reputation: 314Reputation: 314Reputation: 314
And what happens when you run
Code:
 synaptic
from the terminal?
 
Old 07-20-2018, 03:24 PM   #3
the_waiter
LQ Newbie
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 11

Rep: Reputation: Disabled
Hello there

Just installed synaptic to reproduce your issue, but everything works fine here.
 
Old 07-20-2018, 03:51 PM   #4
jeffneedle
LQ Newbie
 
Registered: Apr 2015
Posts: 13

Original Poster
Rep: Reputation: Disabled
Error messages, then synaptic launches. I can't seem to be able to attach a screenshot. Sigh I think I'll wait until 5.0 final is released and some of the problems are resolved. Thanks.
 
Old 07-20-2018, 04:09 PM   #5
Mill J
Member
 
Registered: Feb 2017
Location: 127.0.0.1 Sweet 127.0.0.1
Distribution: Void, LFS, Haiku, Quirky on Rpi and many others
Posts: 864
Blog Entries: 2

Rep: Reputation: 314Reputation: 314Reputation: 314Reputation: 314
Could you copy and paste the errors you get? Please enclose it in [code][ /code ] tags. To attach an image and use code tags, click on Go Advanced under the quick reply text ctrl.

Hope this helps.
 
Old 07-20-2018, 06:58 PM   #6
Jeff91
Bodhi Developer
 
Registered: Jan 2009
Location: Bloomington, IL
Distribution: Bodhi
Posts: 354

Rep: Reputation: 44
Quote:
Originally Posted by jeffneedle View Post
Error messages, then synaptic launches. I can't seem to be able to attach a screenshot. Sigh I think I'll wait until 5.0 final is released and some of the problems are resolved. Thanks.
Can't reproduce this issue here. It likely won't be fixed if you or someone else who can produce it can't help debug it. The existing disc image is basically ready for release outside of the website app center needing some links updated for it.

EDIT: If you'd like to help debug the issue you can run this command in terminal and share the output when it doesn't work:

Code:
synaptic-pkexec
If you prefer to take a screenshot rather than copy + paste the output, the default Bodhi image viewer gives you an option to upload an image when you right click on it.

Last edited by Jeff91; 07-20-2018 at 07:04 PM.
 
Old 07-20-2018, 09:47 PM   #7
jeffneedle
LQ Newbie
 
Registered: Apr 2015
Posts: 13

Original Poster
Rep: Reputation: Disabled
Thanks. Under some time pressure, I had to install another Linux distro. Time lines I must meet. I hope to return to Bodhi soon.
 
Old 07-24-2018, 04:21 AM   #8
Randy4bodhi
LQ Newbie
 
Registered: Jun 2018
Location: Northeastern Indiana
Distribution: Custom Ubuntu (Old Farts Linux), Bodhi Linux
Posts: 16

Rep: Reputation: Disabled
Quote:
Originally Posted by jeffneedle View Post
Hi. Using 5.0, fully updated. I've used terminal to install synaptic. When I try to run synaptic from the menus, I get an error -- unable to run synaptic-pkexec. Anyone know what's happening and how I can fix it? thanks.
I'm guessing it may have do something with gksu being depricated in ubuntu 18.04. Policykit is now handling the task. I had the same problem. Synaptic would only run from terminal with
Code:
sudo synaptic
I had the same problem with users and groups (users-admin). But it won't run with sudo command at all by design. For some reason policy kit authentication agent wouldn't run at start up even when I added it to startup applications. Nor would the policy kit. For reasons, I have not determined, the only way I could get it to work was to make sure the following packages where installed...

policy-kit-1-gnome policykit-desktop-privileges policykit-1 lxpolkit polkit-kde-agent-1

Then make sure the policy kit authentication agent and lxpolkit are both running at start up.

Have no clue why I needed the kde polkit agent. But it works for me.
 
Old 07-24-2018, 07:20 AM   #9
BaronMunchausen
LQ Newbie
 
Registered: Jun 2018
Posts: 18

Rep: Reputation: Disabled
Hi, guys,

I confirm that Synaptic stopped working when is started from the GUI menu. This occurs on my current Bodhi 4.5.5 system.

When Synaptic is started from the command line, it works.

Deleting Synaptic and re-installing it again does not solve the problem.

Thank you,

BM
 
Old 07-24-2018, 12:05 PM   #10
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX
Posts: 2,062
Blog Entries: 4

Rep: Reputation: 878Reputation: 878Reputation: 878Reputation: 878Reputation: 878Reputation: 878Reputation: 878
synaptic-pkexec on my Debian system is just a tiny shell script, so you can write one yourself and put it in /usr/bin.

#!/bin/sh
pkexec "/usr/sbin/synaptic" "$@"
 
Old 07-24-2018, 01:21 PM   #11
jeffneedle
LQ Newbie
 
Registered: Apr 2015
Posts: 13

Original Poster
Rep: Reputation: Disabled
Thanks.
 
Old 07-25-2018, 04:15 AM   #12
Randy4bodhi
LQ Newbie
 
Registered: Jun 2018
Location: Northeastern Indiana
Distribution: Custom Ubuntu (Old Farts Linux), Bodhi Linux
Posts: 16

Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
synaptic-pkexec on my Debian system is just a tiny shell script, so you can write one yourself and put it in /usr/bin.

#!/bin/sh
pkexec "/usr/sbin/synaptic" "$@"
Would that work for the file manager (pcmanfm)? I'll give it a go,when I get a second.
 
Old 07-25-2018, 04:24 AM   #13
Randy4bodhi
LQ Newbie
 
Registered: Jun 2018
Location: Northeastern Indiana
Distribution: Custom Ubuntu (Old Farts Linux), Bodhi Linux
Posts: 16

Rep: Reputation: Disabled
Quote:
Originally Posted by Randy4bodhi View Post
Would that work for the file manager (pcmanfm)? I'll give it a go,when I get a second.
Nope says it can't open display.
 
Old 07-25-2018, 07:39 AM   #14
BaronMunchausen
LQ Newbie
 
Registered: Jun 2018
Posts: 18

Rep: Reputation: Disabled
Big thank you to hazel for the script to solve the problem.

Still, there is a question - why Synaptic worked with no problem for months and then all of the sudden it stopped working? I am referring to Bodhi 4.5.5.

Thank you,

BM
 
Old 07-25-2018, 01:00 PM   #15
Randy4bodhi
LQ Newbie
 
Registered: Jun 2018
Location: Northeastern Indiana
Distribution: Custom Ubuntu (Old Farts Linux), Bodhi Linux
Posts: 16

Rep: Reputation: Disabled
Quote:
Originally Posted by BaronMunchausen View Post
Big thank you to hazel for the script to solve the problem.

Still, there is a question - why Synaptic worked with no problem for months and then all of the sudden it stopped working? I am referring to Bodhi 4.5.5.

Thank you,

BM
I wonder if something changed in your startup. pkexec still needs the policymanager, authentication agent and a policy kit to run. It should work if the authentication agent and a polkit such as lxpolkit are running when you start synaptic.
 
  


Reply


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
Problems w/ Synaptic Muzzly Debian 4 04-23-2009 08:33 PM
problems with my synaptic paulrosenthal07 Linux - Newbie 1 09-16-2007 08:56 PM
Problems with Synaptic Clarence27 Linux - Newbie 3 07-30-2006 02:14 PM
synaptic problems canyon289 Linux - Software 1 07-08-2005 11:44 PM
problems with synaptic hey_fidel Linux - Software 1 11-13-2004 12:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi

All times are GMT -5. The time now is 06:30 PM.

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