synaptic
- bbbhltz
- Posts: 255
- Joined: 2024-01-10 14:53
- Location: Normandy
- XMMP/Jabber: bbbhltz@mailbox.org
- Has thanked: 63 times
- Been thanked: 59 times
Re: synaptic
Hi,
Can you give a little bit more info? You used the installer and chose a DE I'm guessing? Did you choose Gnome or another?
Have you tried launching it from the terminal?
The only time I've encountered this issue was when I managed to remove a policykit package.
But, easy things to try first: restart, update/upgrade, purge synaptic and reinstall.
(Also, can you change the title of the first post to something like "Synaptic won't launch"?)
Can you give a little bit more info? You used the installer and chose a DE I'm guessing? Did you choose Gnome or another?
Have you tried launching it from the terminal?
The only time I've encountered this issue was when I managed to remove a policykit package.
But, easy things to try first: restart, update/upgrade, purge synaptic and reinstall.
(Also, can you change the title of the first post to something like "Synaptic won't launch"?)
bbbhltz
longtime desktop Linux user; eternal newbie
longtime desktop Linux user; eternal newbie
- wizard10000
- Global Moderator
- Posts: 1087
- Joined: 2019-04-16 23:15
- Location: southeastern us
- Has thanked: 117 times
- Been thanked: 189 times
Re: synaptic
I'm afraid synaptic doesn't work as it should under Wayland. It'll work fine in an X11 session, though.
we see things not as they are, but as we are.
-- anais nin
-- anais nin
Re: synaptic
I am using XFCE , I also have GNOME installed.
The following is code information:
The following is code information:
Code: Select all
fred@debian:~$ loginctl show-session $(loginctl show-user $(whoami) -p Display --value) -p Type --value
x11
fred@debian:~$ dpkg --status synaptic
Package: synaptic
Status: install ok installed
fred@debian:~$ synaptic-pkexec
==== AUTHENTICATING FOR com.ubuntu.pkexec.synaptic ====
Authentication is required to run the Synaptic Package Manager
Authenticating as: root
Password:
polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
==== AUTHENTICATION FAILED ====
Error executing command as another user: Not authorized
This incident has been reported.
fred@debian:~$ su -
Password:
root@debian:~# synaptic-pkexec
Failed to initialize GTK.
Probably you're running Synaptic on Wayland with root permission.
Please restart your session without Wayland, or run Synaptic without root permission
root@debian:~#
- bbbhltz
- Posts: 255
- Joined: 2024-01-10 14:53
- Location: Normandy
- XMMP/Jabber: bbbhltz@mailbox.org
- Has thanked: 63 times
- Been thanked: 59 times
Re: synaptic
Are there any root-owned files in your home
If there are, you need to change that
Reboot and reinstall Synaptic and don't launch it with
Code: Select all
# find ~/ -user root
Code: Select all
sudo chown -Rc $USER:$USER $HOME
sudo
bbbhltz
longtime desktop Linux user; eternal newbie
longtime desktop Linux user; eternal newbie
-
- Posts: 29
- Joined: 2023-06-30 09:28
- Has thanked: 4 times
- Been thanked: 2 times
Re: synaptic
I'm running v12.6 with Xfce, no problem.
Created a root password?
Put user in sudoers group?
Add user to sudoers (correct the "YourUserName" part):
Created a root password?
Put user in sudoers group?
Add user to sudoers (correct the "YourUserName" part):
Code: Select all
su -
usermod -aG sudo YourUserName
Re: synaptic
"Are there any root-owned files in your home" No- based on the code below
Code: Select all
fred@debian:~$ # find ~/ -user root
fred@debian:~$
Re: synaptic
"Created a root password?"
Yes the root password works
Synaptic worked without a problem in debian 11.9 bullseye
Yes the root password works
Code: Select all
fred@debian:~$ su -
Password:
root@debian:~#
-
- Global Moderator
- Posts: 3073
- Joined: 2018-06-20 15:16
- Location: Colorado
- Has thanked: 63 times
- Been thanked: 254 times
Re: synaptic
Since it was working in 11, assuming you were using 'synaptic-pkexec', something in polkit changed in the upgrade to 12. I did post a year or two back about the restructure of polkit and the loss of use after. Do you know what rules and methods were in use to allow the user through polkit? Since the password fails in your post above, polkit's setup is the issue. No setup and incorrect setup yield that result. It could be that the former rules were pkla based - which broke without the additional package 'polkit-pkla'. The newer js based format had been functional prior.
As I remember, listchanges did mention it.
Also on older installs there may have been no default rule to include sudo members in polkit actions. I believe that is now included by default.
You need to re-configure polkit. There are a few discussion to find that may help...
https://forums.debian.net/viewtopic.php ... it#p795066
My ways may or may not line up with your requirements. You can alter the method in many ways to suite. Using the method I used in that link, you could use the sudo group instead if desired.
Mottainai
Re: synaptic
Thanks for all the input - problem "solved"
Briefly- the problem was that synaptic would not open under the Xfce
platform.
I went around the problem by entering the Gnome classic on Xorg platform
- clicking on the wheel - upper right hand bar- shows platform options.
- synaptic launches from this platform.
Once I downloaded packages, I restarted the computer and logged
into the Xfce platform.
I know it sounds like a lot of work - but I really prefer the Xfce platform
for its simplicity and ease of use.
Briefly- the problem was that synaptic would not open under the Xfce
platform.
I went around the problem by entering the Gnome classic on Xorg platform
- clicking on the wheel - upper right hand bar- shows platform options.
- synaptic launches from this platform.
Once I downloaded packages, I restarted the computer and logged
into the Xfce platform.
I know it sounds like a lot of work - but I really prefer the Xfce platform
for its simplicity and ease of use.
Re: synaptic
Yes, Xfce is a nice desktop.
As to Synaptic, I haven't used it for many years. When I did have it I just used it as a package browser. There is another package browser that is very handy, Gnome Package Search.
Code: Select all
# apt install package search