Closed DasJott closed 6 years ago
It's certainly because there is no polkit authentication agent running. https://wiki.archlinux.org/index.php/Polkit#Authentication_agents
Maybe. I have Arch installed with Deepin Desktop. Installed pamac through pacman and it usually works. But every once in a while it doesn't. So I can not use pamac as a result.
I restarted polkit.service with no changes.
@DasJott with deepin it is /usr/lib/polkit-1-dde/dde-polkit-agent
Had same problem, think I fixed it by autostarting it :)
cat .config/autostart/polkit.desktop
[Desktop Entry]
Name=polkit agent
Comment=polkit agent
Exec=/usr/lib/polkit-1-dde/dde-polkit-agent
Terminal=false
Type=Application
NoDisplay=true
@ngarafol Thank you! I just created the file just in case... but normally it was started on boot but it seems to have crashed at some point. But thank you anyway.
It seems something is crashing after suspend. Also after suspend it sometimes just reloads the list instead of applying updates when clicking "apply".
I can not use pamac for updateing my system since a few days. I always get a huge dialog saying that authentication has failed.
A pro tip would be, to ask for the password in the first place and then decide, whether an authentication is possible and not directly deny access...