manjaro / pamac

This repo has been archived. Our code is now hosted at
https://gitlab.manjaro.org/
GNU General Public License v3.0
223 stars 38 forks source link

Authentification failed #415

Closed DasJott closed 6 years ago

DasJott commented 6 years ago

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...

guinux commented 6 years ago

It's certainly because there is no polkit authentication agent running. https://wiki.archlinux.org/index.php/Polkit#Authentication_agents

DasJott commented 6 years ago

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.

ngarafol commented 6 years ago

@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
DasJott commented 6 years ago

@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.

DasJott commented 6 years ago

It seems something is crashing after suspend. Also after suspend it sometimes just reloads the list instead of applying updates when clicking "apply".