PAMAC authorization ERROR (POLKIT)

manjaro org /t/package-manager-authentication-failed/148135
I have exactly the same problem as this guy, polkit gui doesnt show to type password so applications doesnt get privileges, pamac doesnt work and many other gui apps.
I Tried pacman -S polkit
Logs are ok:
nov 03 05:32:35 Thor polkitd[8230]: Loading rules from directory /usr/share/polkit-1/rules.d
nov 03 05:32:35 Thor polkitd[8230]: 05:32:35.422: Loading rules from directory /etc/polkit-1/rules.d
nov 03 05:32:35 Thor polkitd[8230]: 05:32:35.422: Loading rules from directory /usr/share/polkit-1/rules.d
nov 03 05:32:35 Thor polkitd[8230]: Finished loading, compiling and executing 7 rules
nov 03 05:32:35 Thor polkitd[8230]: 05:32:35.422: Finished loading, compiling and executing 7 rules
nov 03 05:32:35 Thor polkitd[8230]: Entering main event loop
nov 03 05:32:35 Thor polkitd[8230]: Connected to the system bus
nov 03 05:32:35 Thor polkitd[8230]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
nov 03 05:32:35 Thor systemd[1]: Started Authorization Manager.
nov 03 05:32:35 Thor polkitd[8230]: 05:32:35.423: Acquired the name org.freedesktop.PolicyKit1 on the system bus

What should else I do ? ( network tray icon and pulseaudio doenst start too, sometimes when I reboot they work)

So … are you up to date and everything?
Did you use an older image, upgrade, but not take care of pam.d pacnews?

sudo pacman-mirros -f && sudo pacman -Syyu
pacdiff -o

Thanks for answering but No! What I’ve done that I think it was the issue, is that I’ve uninstalled wine staging and installed wine stable. I didnt do any partial upgrade, in fact it was just 3 days that I’ve installed manjaro on my pc.

::INFO Downloading mirrors from repo.manjaro.org
::INFO Using default mirror file
::INFO Querying mirrors - This may take some time
  1.911 Ukraine        : http://mirrors.colocall.net/manjaro/
  ..... Ukraine        : ftp://mirrors.colocall.net/manjaro/
  ..... Italy          : https://manjaro.mirror.garr.it/manjaro/
  2.057 Switzerland    : https://manjaro.osmir.ch/
  1.789 Switzerland    : http://manjaro.osmir.ch/
  2.080 Netherlands    : https://manjaro.mirrors.lavatech.top/
  1.231 Netherlands    : http://manjaro.mirrors.lavatech.top/
  ..... Pakistan       : https://repo.inara.pk/manjaro/
  ..... Pakistan       : http://repo.inara.pk/manjaro/
  1.669 Canada         : https://osmirror.org/manjaro/
  ..... China          : https://mirrors.huaweicloud.com/manjaro/
  ..... China          : http://mirrors.huaweicloud.com/manjaro/
  2.927 Italy          : https://ba.mirror.garr.it/mirrors/manjaro/
  ..... Norway         : http://mirror.terrahost.no/linux/manjaro/
  2.597 Spain          : https://ftp.caliu.cat/pub/distribucions/manjaro/
  ..... Spain          : http://ftp.caliu.cat/pub/distribucions/manjaro/
  2.721 Poland         : https://mirror.tuchola-dc.pl/manjaro/
  3.552 Iran           : https://repo.iut.ac.ir/repo/manjaro/
  1.609 Iran           : http://repo.iut.ac.ir/repo/manjaro/
  ..... France         : http://ftp.free.org/mirrors/repo.manjaro.org/repos/
  ..... France         : ftp://ftp.free.org/mirrors/repo.manjaro.org/repos/
  2.090 France         : https://manjaro.mcofficer.me/
  ..... Germany        : https://ftp.halifax.rwth-aachen.de/manjaro/
  ..... Germany        : ftp://ftp.halifax.rwth-aachen.de/manjaro/
  ..... Austria        : http://mirror.inode.at/manjaro/
  1.994 United_States  : https://repo.ialab.dsu.edu/manjaro/
  0.986 United_States  : http://repo.ialab.dsu.edu/manjaro/
  ..... China          : https://mirrors.sjtug.sjtu.edu.cn/manjaro/
  1.601 United_States  : https://mirror.clarkson.edu/manjaro/
  2.202 Netherlands    : https://mirror.koddos.net/manjaro/
  1.375 United_States  : https://mirror.math.princeton.edu/pub/manjaro/
  3.633 France         : https://mirror.oldsql.cc/manjaro/
  2.956 Sweden         : https://mirror.zetup.net/manjaro/
  ..... Sweden         : https://ftp.lysator.liu.se/pub/manjaro/
  ..... Sweden         : ftp://ftp.lysator.liu.se/pub/manjaro/
  2.034 Indonesia      : https://mirror.deace.id/manjaro/
  1.971 Indonesia      : http://mirror.deace.id/manjaro/
  3.470 Russia         : https://mirror.truenetwork.ru/manjaro/
  1.544 Russia         : http://mirror.truenetwork.ru/manjaro/
  2.506 Bulgaria       : https://manjaro.ipacct.com/manjaro/
  3.216 Chile          : https://mirror.ufro.cl/manjaro/
  3.557 Singapore      : https://download.nus.edu.sg/mirror/manjaro/
  0.296 Brazil         : https://www.caco.ic.unicamp.br/manjaro/
  ..... Austria        : http://mirror.easyname.at/manjaro/
  ..... Austria        : ftp://mirror.easyname.at/manjaro/
  3.131 Germany        : https://mirror.atysleaks.org/manjaro/
  ..... Germany        : http://mirror.atysleaks.org/manjaro/
  ..... Poland         : http://ftp.vectranet.pl/manjaro/
  ..... Poland         : ftp://ftp.vectranet.pl/manjaro/
  ..... France         : http://kibo.remi.lu/
  2.115 Chile          : https://mirror1.cl.netactuate.com/manjaro/
  1.386 Chile          : http://mirror1.cl.netactuate.com/manjaro/
  ..... Chile          : ftp://mirror1.cl.netactuate.com/manjaro/
  ..... New_Zealand    : http://manjaro.mirrors.theom.nz/
  1.747 Costa_Rica     : https://mirrors.ucr.ac.cr/manjaro/
  ..... Bangladesh     : http://mirror.xeonbd.com/manjaro/
  1.594 China          : https://mirrors.aliyun.com/manjaro/
  2.591 Georgia        : https://manjaro.grena.ge/
  1.505 Georgia        : http://manjaro.grena.ge/
  2.158 Germany        : https://manjaro.moson.eu/
  1.623 Germany        : http://manjaro.moson.eu/
  2.043 Germany        : https://mirror.alpix.eu/manjaro/
  ..... China          : https://mirrors.tuna.tsinghua.edu.cn/manjaro/
  ..... Bulgaria       : http://manjaro.telecoms.bg/
  2.374 Belgium        : https://mirror.futureweb.be/manjaro/
  1.247 Belgium        : http://mirror.futureweb.be/manjaro/
  ..... Denmark        : https://www.uex.dk/public/manjaro/
  ..... Japan          : http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/
  ..... Portugal       : http://ftp.dei.uc.pt/pub/linux/manjaro/
  1.513 United_States  : https://mirrors.gigenet.com/manjaro/
  1.002 United_States  : http://mirrors.gigenet.com/manjaro/
  1.795 United_Kingdom : https://www.mirrorservice.org/sites/repo.manjaro.org/re
  ..... Taiwan         : http://free.nchc.org.tw/manjaro/
  0.349 Brazil         : https://manjaro.c3sl.ufpr.br/
  ..... Turkey         : http://ftp.linux.org.tr/manjaro/
  ..... Turkey         : ftp://ftp.linux.org.tr/manjaro/
  ..... Belarus        : http://mirror.datacenter.by/pub/mirrors/manjaro/
  2.606 United_States  : https://mirrors.ocf.berkeley.edu/manjaro/
  ..... South_Africa   : http://mirror.is.co.za/mirrors/manjaro.org/
  ..... Greece         : https://ftp.cc.uoc.gr/mirrors/linux/manjaro/
  ..... Greece         : http://ftp.cc.uoc.gr/mirrors/linux/manjaro/
  ..... Greece         : ftp://ftp.cc.uoc.gr/mirrors/linux/manjaro/
  0.605 Australia      : https://manjaro.lucassymons.net/
  1.716 United_Kingdom : http://manjaro.mirrors.uk2.net/
  3.268 South_Korea    : https://mirror.d-tl.com/manjaro/
  2.953 Iceland        : https://mirrors.opensource.is/manjaro/
  ..... Iceland        : http://mirrors.opensource.is/manjaro/
  ..... Iceland        : ftp://mirrors.opensource.is/manjaro/

::ERROR ftp error: error_perm('550 Failed to change directory.') 'ftp://mirrors.opensource.is/manjaro/'

  ..... Italy          : https://ct.mirror.garr.it/mirrors/manjaro/
  ..... Netherlands    : http://ftp.snt.utwente.nl/pub/linux/manjaro/
  ..... Netherlands    : ftp://ftp.snt.utwente.nl/pub/linux/manjaro/
  ..... Japan          : http://ftp.riken.jp/Linux/manjaro/
  ..... Japan          : ftp://ftp.riken.jp/Linux/manjaro/
  3.042 Germany        : https://mirror.23media.com/manjaro/
  1.230 Germany        : http://mirror.23media.com/manjaro/
  ..... Germany        : http://ftp.tu-chemnitz.de/pub/linux/manjaro/
  ..... Germany        : ftp://ftp.tu-chemnitz.de/pub/linux/manjaro/
  2.772 Czech          : https://mirror.dkm.cz/manjaro/
  1.201 United_States  : http://distro.ibiblio.org/manjaro/
  ..... Australia      : https://mirror.aarnet.edu.au/pub/manjaro/
  ..... Australia      : http://mirror.aarnet.edu.au/pub/manjaro/
  2.677 Uruguay        : https://manjaro.repo.cure.edu.uy/
  ..... Uruguay        : http://manjaro.repo.cure.edu.uy/
  2.914 France         : https://manjaro.ynh.ovh/
  ..... Russia         : https://mirror.yandex.ru/mirrors/manjaro/

::ERROR _ssl.c:1106: The handshake operation timed out 'https://mirror.yandex.ru/mirrors/manjaro/'

  ..... China          : https://mirrors.tuna.tsinghua.edu.cn/manjaro/
  2.287 Germany        : https://manjaro.moson.org/
  ..... Germany        : http://manjaro.moson.org/
  2.374 Ukraine        : https://fastmirror.pp.ua/manjaro/
  ..... Ukraine        : http://fastmirror.pp.ua/manjaro/
  1.358 United_States  : https://mirror.dacentec.com/manjaro/
  2.112 Denmark        : https://mirrors.dotsrc.org/manjaro/
  2.002 Switzerland    : https://mirror.init7.net/manjaro/
  1.223 Switzerland    : http://mirror.init7.net/manjaro/
  0.745 Brazil         : http://linorg.usp.br/manjaro/
  2.481 Germany        : https://mirror.netcologne.de/manjaro/
  3.383 Hungary        : https://quantum-mirror.hu/mirrors/pub/manjaro/
  1.359 Hungary        : http://quantum-mirror.hu/mirrors/pub/manjaro/
  2.342 United_Kingdom : https://uk.mirrors.fossho.st/manjaro/
  ..... United_Kingdom : http://uk.mirrors.fossho.st/manjaro/
  ..... Philippines    : http://mirror.rise.ph/manjaro/
  ..... Philippines    : ftp://mirror.rise.ph/manjaro/
  ..... Hong_Kong      : http://ftp.cuhk.edu.hk/pub/Linux/manjaro/
  ..... Hong_Kong      : ftp://ftp.cuhk.edu.hk/pub/Linux/manjaro/
  1.929 Germany        : https://mirror.netzspielplatz.de/manjaro/packages/
  2.478 Bulgaria       : https://mirrors.netix.net/manjaro/
  ..... China          : https://mirrors.ustc.edu.cn/manjaro/
  3.916 Kenya          : https://manjaro.mirror.liquidtelecom.com/
  ..... Kenya          : http://manjaro.mirror.liquidtelecom.com/
  1.191 Chile          : http://manjaro.dcc.uchile.cl/
  2.564 Netherlands    : https://ftp.nluug.nl/pub/os/Linux/distr/manjaro/
  ..... Netherlands    : ftp://ftp.nluug.nl/pub/os/Linux/distr/manjaro/
::INFO Writing mirror list
::Brazil          : https://www.caco.ic.unicamp.br/manjaro/stable
::Brazil          : https://manjaro.c3sl.ufpr.br/stable
::Australia       : https://manjaro.lucassymons.net/stable
::Brazil          : http://linorg.usp.br/manjaro/stable
::United_States   : https://repo.ialab.dsu.edu/manjaro/stable
::United_States   : https://mirrors.gigenet.com/manjaro/stable
::Chile           : http://manjaro.dcc.uchile.cl/stable
::United_States   : http://distro.ibiblio.org/manjaro/stable
::Switzerland     : https://mirror.init7.net/manjaro/stable
::Germany         : https://mirror.23media.com/manjaro/stable
::Netherlands     : https://manjaro.mirrors.lavatech.top/stable
::Belgium         : https://mirror.futureweb.be/manjaro/stable
::United_States   : https://mirror.dacentec.com/manjaro/stable
::Hungary         : https://quantum-mirror.hu/mirrors/pub/manjaro/stable
::United_States   : https://mirror.math.princeton.edu/pub/manjaro/stable
::Georgia         : https://manjaro.grena.ge/stable
::Russia          : https://mirror.truenetwork.ru/manjaro/stable
::China           : https://mirrors.aliyun.com/manjaro/stable
::United_States   : https://mirror.clarkson.edu/manjaro/stable
::Iran            : https://repo.iut.ac.ir/repo/manjaro/stable
::Germany         : https://manjaro.moson.eu/stable
::Canada          : https://osmirror.org/manjaro/stable
::United_Kingdom  : http://manjaro.mirrors.uk2.net/stable
::Costa_Rica      : https://mirrors.ucr.ac.cr/manjaro/stable
::Switzerland     : https://manjaro.osmir.ch/stable
::United_Kingdom  : https://www.mirrorservice.org/sites/repo.manjaro.org/repos/sta
::Germany         : https://mirror.netzspielplatz.de/manjaro/packages/stable
::Indonesia       : https://mirror.deace.id/manjaro/stable
::Germany         : https://manjaro.moson.org/stable
::United_Kingdom  : https://uk.mirrors.fossho.st/manjaro/stable
::Germany         : https://mirror.alpix.eu/manjaro/stable
::France          : http://kibo.remi.lu/stable
::France          : https://manjaro.mcofficer.me/stable
::Denmark         : https://mirrors.dotsrc.org/manjaro/stable
::Spain           : https://ftp.caliu.cat/pub/distribucions/manjaro/stable
::Netherlands     : https://mirror.koddos.net/manjaro/stable
::Ukraine         : https://fastmirror.pp.ua/manjaro/stable
::Germany         : https://mirror.atysleaks.org/manjaro/stable
::Uruguay         : https://manjaro.repo.cure.edu.uy/stable
::Bulgaria        : https://mirrors.netix.net/manjaro/stable
::Germany         : https://mirror.netcologne.de/manjaro/stable
::Bulgaria        : https://manjaro.ipacct.com/manjaro/stable
::Chile           : https://mirror1.cl.netactuate.com/manjaro/stable
::United_States   : https://mirrors.ocf.berkeley.edu/manjaro/stable
::Netherlands     : http://ftp.snt.utwente.nl/pub/linux/manjaro/stable
::Poland          : https://mirror.tuchola-dc.pl/manjaro/stable
::Czech           : https://mirror.dkm.cz/manjaro/stable
::France          : https://manjaro.ynh.ovh/stable
::Italy           : https://ba.mirror.garr.it/mirrors/manjaro/stable
::Sweden          : https://mirror.zetup.net/manjaro/stable
::Austria         : http://mirror.inode.at/manjaro/stable
::Chile           : https://mirror.ufro.cl/manjaro/stable
::Germany         : https://ftp.halifax.rwth-aachen.de/manjaro/stable
::South_Korea     : https://mirror.d-tl.com/manjaro/stable
::Belarus         : http://mirror.datacenter.by/pub/mirrors/manjaro/stable
::Kenya           : https://manjaro.mirror.liquidtelecom.com/stable
::Norway          : http://mirror.terrahost.no/linux/manjaro/stable
::Singapore       : https://download.nus.edu.sg/mirror/manjaro/stable
::France          : https://mirror.oldsql.cc/manjaro/stable
::Poland          : http://ftp.vectranet.pl/manjaro/stable
::Portugal        : http://ftp.dei.uc.pt/pub/linux/manjaro/stable
::Australia       : https://mirror.aarnet.edu.au/pub/manjaro/stable
::Sweden          : https://ftp.lysator.liu.se/pub/manjaro/stable
::Ukraine         : http://mirrors.colocall.net/manjaro/stable
::France          : http://ftp.free.org/mirrors/repo.manjaro.org/repos/stable
::Austria         : http://mirror.easyname.at/manjaro/stable
::Pakistan        : https://repo.inara.pk/manjaro/stable
::New_Zealand     : http://manjaro.mirrors.theom.nz/stable
::Turkey          : http://ftp.linux.org.tr/manjaro/stable
::Bulgaria        : http://manjaro.telecoms.bg/stable
::Italy           : https://manjaro.mirror.garr.it/manjaro/stable
::Bangladesh      : http://mirror.xeonbd.com/manjaro/stable
::China           : https://mirrors.huaweicloud.com/manjaro/stable
::China           : https://mirrors.sjtug.sjtu.edu.cn/manjaro/stable
::Greece          : https://ftp.cc.uoc.gr/mirrors/linux/manjaro/stable
::Philippines     : http://mirror.rise.ph/manjaro/stable
::South_Africa    : http://mirror.is.co.za/mirrors/manjaro.org/stable
::Netherlands     : https://ftp.nluug.nl/pub/os/Linux/distr/manjaro/stable
::Italy           : https://ct.mirror.garr.it/mirrors/manjaro/stable
::Denmark         : https://www.uex.dk/public/manjaro/stable
::China           : https://mirrors.tuna.tsinghua.edu.cn/manjaro/stable
::Germany         : http://ftp.tu-chemnitz.de/pub/linux/manjaro/stable
::Japan           : http://ftp.riken.jp/Linux/manjaro/stable
::Japan           : http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/stable
::China           : https://mirrors.tuna.tsinghua.edu.cn/manjaro/stable
::Hong_Kong       : http://ftp.cuhk.edu.hk/pub/Linux/manjaro/stable
::Taiwan          : http://free.nchc.org.tw/manjaro/stable
::China           : https://mirrors.ustc.edu.cn/manjaro/stable
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
[sudo] senha para samuel: 
:: Sincronizando a base de dados de pacotes...
 core                  169,2 KiB  1410 KiB/s 00:00 [######################] 100%
 extra                2038,2 KiB  8,06 MiB/s 00:00 [######################] 100%
 community               6,2 MiB  9,87 MiB/s 00:01 [######################] 100%
 multilib              193,0 KiB  11,1 MiB/s 00:00 [######################] 100%
:: Iniciando atualização completa do sistema...
nada para fazer

-> My netbeans opens “kde wallet” to type password, idk why.
Other programs doesnt open wallet password.
It’s strange because this is a fresh installation I did just 3 days ago, and I didnt modify much… the bug happened after rebooting which I didnt had done for a long time.

This will show us what you’ve done:

cat /var/log/pacman.log | sed -e "s/$HOSTNAME/HOST/gI" -e "s/$USER/USER/gI" | curl -F 'f:1=<-' ix.io

http://ix.io/2CSe

Thanks here is

(ignore last lines which I reinstalled sudo, it was an tip of a friend) the problem happens before that

Another thing: My user doesnt have “rights” to start anything that need user, like gufw, but if i start xfce4 as sudo, it works without asking password of course. So the thing is messed with my user I guess, maybe we can get the approach of allowing my user to do anything without asking password or try fix this.

I tried install lxsession-gtk3 and using lxpolkit I got error : Unable to find session for pid

partial solution:
polkit.addRule(function(action, subject) {

if (action.id.indexOf("org.freedesktop.pamac-manager.")) {

return polkit.Result.YES;}});

it doesnt do authorization error anymore and it works. but everything that should be asking password now its not asking

Confirm: this bug is caused by installing wine-staging (replacing original wine 5.20) idk