ArcoLinux(D) 6.8 will be released on 01 June 2018!

[INFO] System won't update - libmozjs-52.so.0

Post Reply
jasonleeg
Crewman
Posts: 10
Joined: Tue Feb 06, 2018 10:59 pm
Great Britain
[INFO] System won't update - libmozjs-52.so.0

Post by jasonleeg » Sat May 05, 2018 4:58 pm

Hi there, I've tried to update the system and I get an error message about conflicting files, the update aborts and none of the 41 items are updated. I've attached a screenshot of the error......so, how can this be solved.
Thank you for your help


User avatar
Zver43
Crewman
Posts: 37
Joined: Wed Dec 20, 2017 2:29 pm
Estonia
Re: System won't update

Post by Zver43 » Sun May 06, 2018 4:07 am

is it this error ?

error: failed to commit transaction (conflicting files)
js52: /usr/lib/libmozjs-52.so.0 exists in filesystem
Errors occurred, no packages were upgraded.
[foo@al661-vb-n750 ~]$

Fix is here ------ copied from https://www.archlinux.org/news/js52-527 ... ervention/ upgrade requires intervention
---------------------------------
2018-05-04 - Jan Steffens

Due to the SONAME of /usr/lib/libmozjs-52.so not matching its file name, ldconfig created an untracked file /usr/lib/libmozjs-52.so.0. This is now fixed and both files are present in the package.

To pass the upgrade, remove /usr/lib/libmozjs-52.so.0 prior to upgrading.
--------------------------

this means you must be Root to delete this file
i have done this on several machines and all works ...

User avatar
erikdubois
Captain
Posts: 748
Joined: Tue Nov 07, 2017 2:45 pm
Location: Belgium
Contact:
Belgium
Re: [OPEN] System won't update

Post by erikdubois » Sun May 06, 2018 6:49 pm

quite correct
thanks for responding :geek:

Code: Select all

sudo rm /usr/lib/libmozjs-52.so.0
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
and only then use the power of our moderators.

jasonleeg
Crewman
Posts: 10
Joined: Tue Feb 06, 2018 10:59 pm
Great Britain
Re: [OPEN] System won't update

Post by jasonleeg » Sun May 06, 2018 7:08 pm

Brilliant, this worked. Thank you both for your help.

User avatar
erikdubois
Captain
Posts: 748
Joined: Tue Nov 07, 2017 2:45 pm
Location: Belgium
Contact:
Belgium
Re: [SOLVED] System won't update - libmozjs-52.so.0

Post by erikdubois » Wed May 09, 2018 4:01 pm

To anyone who reads this :

Any future issues on your system.... then

First check Arch Linux @ https://www.archlinux.org/.

It is not the first issue nor will it be the last. But this website will tell if there is a problem and if there is a solution.

ArcoLinux is based on Arch Linux. This means that Manjaro, Antergos and any other distro will get the same message if the software is installed.
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
and only then use the power of our moderators.


Post Reply