You are not logged in.
Hi.
I Installed lastest kde on my new arch setup.
but every time i want to *un*install my apps it says:you have no authorization to execute this operation
i have installed polkit and kde-polkit.
Anyway to fix that?
Edit:I Installed gnome-keyring or something like that and problem fixed!
Last edited by BAR777 (2021-09-26 08:11:17)
Which groups is your user in? By default polkit considers only users of the wheel group to be admins and will only allow them to be asked for elevated privileges: https://wiki.archlinux.org/title/Polkit … identities
Offline
Which groups is your user in? By default polkit considers only users of the wheel group to be admins and will only allow them to be asked for elevated privileges: https://wiki.archlinux.org/title/Polkit … identities
Hi V1del.
My group is wheel.
Your groups "is" not wheel, please post the output of
idOnline
Your groups "is" not wheel, please post the output of
id
HI @seth
uid=1000(bardia) gid=1000(bardia) groups=1000(bardia),998(wheel)
bardia is my username.
Also a special thanks to you that helping me out in other topics in past.
Tip1:
It only says when I want to remove an app.On Install it didnt ask me for password.
Tip2:
Polkit works fine in every other apps(ex*pamac*)
https://archlinux.org/packages/extra/x86_64/discover/ doesn't ship w/ polkit rules to begin with.
Are you trying to remove a pacman or a flatschpak package?
Online
https://archlinux.org/packages/extra/x86_64/discover/ doesn't ship w/ polkit rules to begin with.
Are you trying to remove a pacman or a flatschpak package?
Any package
ANYTHING.
It's packagekit that ships with the relevant rules and it is indeed a default - albeit a questionable one - to allow passwordless installation/upgrades but that doesn't really explain why popping a dialog for removal doesn't work
Offline
It's packagekit that ships with the relevant rules and it is indeed a default - albeit a questionable one - to allow passwordless installation/upgrades but that doesn't really explain why popping a dialog for removal doesn't work
So @V1del Any solution to fix discover?
Can you actually "pkexec ls" and receive a password prompt?
Online
Can you actually "pkexec ls" and receive a password prompt?
Yes
https://forum.kde.org/viewtopic.php?f=2 … 59#p440799
https://askubuntu.com/a/1333981
https://bugs.kde.org/show_bug.cgi?id=398367
but every time i want to *un*install my apps it says:you have no authorization to execute this operation
Do you get a similar dialog for discover? If so: for which user credentials does it ask? Is it root and do you provide the root password?
Online
Offline
https://forum.kde.org/viewtopic.php?f=2 … 59#p440799
https://askubuntu.com/a/1333981https://bugs.kde.org/show_bug.cgi?id=398367
but every time i want to *un*install my apps it says:you have no authorization to execute this operation
Do you get a similar dialog for discover? If so: for which user credentials does it ask? Is it root and do you provide the root password?
I didnt get any dialog
sus
I Installed gnome-keyring or something like that and problem fixed!
Thx guys
That can only be necessary if your polkit auth provider is not kde-polkit what's your output for
ps aux | grep polkitOffline
Afaiu the patch packagekit by default does't *interactively* ask for the creds (or anything), so if the opened gnome-keyring now offers them that might sidestep the issue.
Online
That can only be necessary if your polkit auth provider is not kde-polkit what's your output for
ps aux | grep polkit
polkitd 1060 0.0 0.5 2515892 22820 ? Ssl 09:47 0:00 /usr/lib/polkit-1/polkitd --no-debug
bardia 1067 0.1 2.7 852796 103972 ? Sl 09:47 0:01 /usr/lib/polkit-kde-authentication-agent-1
bardia 14168 0.0 0.0 6496 2532 pts/2 S<+ 10:00 0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox polkit
Afaiu the patch packagekit by default does't *interactively* ask for the creds (or anything), so if the opened gnome-keyring now offers them that might sidestep the issue.
Hmm what do u mean?
I am confused.
The post was a reply to V1del - and it lacks a comma ;-)
(Trying to reason why gnome-keyring might side-step the issue despite polkit-kde-authentication-agent-1 being available)
Online
Fixed in 5.22.5-2
Offline
Fixed in 5.22.5-2
Thx