You are not logged in.
Pages: 1
Topic closed
I think I messed something up in the last update.
Before updating I had to remove /usr/lib/libmozjs-52.so.0. So I thought I should also remove the symlink on it in the same directory. Apparently that was wrong. Now the polkit service is not working anymore as it can't find the library anymore:
$ 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 Tue 2018-06-05 08:48:34 CEST; 13s ago
Docs: man:polkit(8)
Process: 16604 ExecStart=/usr/lib/polkit-1/polkitd --no-debug (code=exited, status=127)
Main PID: 16604 (code=exited, status=127)
Jun 05 08:48:34 yogArch systemd[1]: Starting Authorization Manager...
Jun 05 08:48:34 yogArch polkitd[16604]: /usr/lib/polkit-1/polkitd: error while loading shared libraries: >
Jun 05 08:48:34 yogArch systemd[1]: polkit.service: Main process exited, code=exited, status=127/n/a
Jun 05 08:48:34 yogArch systemd[1]: polkit.service: Failed with result 'exit-code'.
Jun 05 08:48:34 yogArch systemd[1]: Failed to start Authorization Manager.
I checked the /usr/lib directory, and there is no libmozjs version anymore. How can I reinstall it?
Last edited by Cinbu (2018-06-05 07:48:44)
Offline
┌─[Shiv ~]
└─╼ pacman -Qo /usr/lib/libmozjs-52.so.0
/usr/lib/libmozjs-52.so.0 is owned by js52 52.7.3-2
Seeing you removed it, you would:
pacman -Fo /usr/lib/libmozjs-52.so.0
usr/lib/libmozjs-52.so.0 is owned by extra/js52 52.7.3-2
Offline
Thank you jason. I couldn't find the package that contained the library. After installing js52 everything works again.
Just out of curiosity, how could I have figured out the package containing libmozjs without the pacman -Qo command, since I couldn't have done that without having the file?
Offline
See my edit.
Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline
Sorry for necro, google pushed me here, in 2020 fix is:
pacman -S js52
sudo ln -s /usr/lib/libmozjs-52.so /usr/lib/libmozjs-52.so.0
Offline
Closing this old thread.
Offline
Pages: 1
Topic closed