You are not logged in.

#1 2018-06-06 19:46:48

!llum1nated
Member
Registered: 2017-02-23
Posts: 11

(Solved) Unable to fix polkit

Hi. I updated my system with pacman -Syu.

But I forget some things before doing that.

And I saw a message later on on Arch website that I needed to remove /usr/lib/libmozjs-52.so.0

But after doing that gnome doesnt start anymore, also LXDE is acting weird.

I already try to search forum but couldnt find anything about this solution.

When I do, get:

 systemctl status polkit
● polkit.service - Authorization Manager
   Loaded: loaded (/usr/lib/systemd/system/polkit.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2018-06-06 21:43:43 CEST; 12s ago
     Docs: man:polkit(8)
  Process: 3369 ExecStart=/usr/lib/polkit-1/polkitd --no-debug (code=exited, status=127)
 Main PID: 3369 (code=exited, status=127)

jun 06 21:43:43 ArchLinux systemd[1]: Starting Authorization Manager...
jun 06 21:43:43 ArchLinux polkitd[3369]: /usr/lib/polkit-1/polkitd: error while loading shared librar>
jun 06 21:43:43 ArchLinux systemd[1]: polkit.service: Main process exited, code=exited, status=127/n/a
jun 06 21:43:43 ArchLinux systemd[1]: polkit.service: Failed with result 'exit-code'.
jun 06 21:43:43 ArchLinux systemd[1]: Failed to start Authorization Manager.

I already have problems for some weeks and unable to fix it. Does anyone know solutions?

Last edited by !llum1nated (2018-06-06 21:21:45)

Offline

#2 2018-06-06 19:54:46

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,849

Re: (Solved) Unable to fix polkit

You updated and then removed the file? Bad idea.
You needed to remove the file in order to prevent a package conflict (the file was casually autogenerated and not tracked but is now provided by the package)

=> re-install js52

Offline

#3 2018-06-06 20:19:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: (Solved) Unable to fix polkit

The news specifically talks about updating, if you were still affected by the same issue you wouldn't be able to update there'd be an error message. If the update went without a hitch removing the file is the wrong thing to do.

Offline

#4 2018-06-06 21:21:25

!llum1nated
Member
Registered: 2017-02-23
Posts: 11

Re: (Solved) Unable to fix polkit

Thanks for the answers. This fixed or solved my problem.

pacman -Qo /usr/lib/libmozjs-52.so
pacman -Fo /usr/lib/libmozjs-52.so
sudo pacman -Syu js52
reboot

Last edited by !llum1nated (2018-06-06 21:22:15)

Offline

Board footer

Powered by FluxBB