• js52 52.7.3-2 upgrade requires intervention


    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.

    URL: https://www.archlinux.org/news/js52-5273-2-upgrade-requires-intervention/

    js52 is Required By
    cjs
    gjs
    plowshare
    polkit

    So this may is issueing a lot users.

  • After gazillion of different commands to fix the issue, how about this? ;)

    sudo pacman -Syy
    sudo pacman -S js52
    

    Didn’t test it though…

  • @manuel but this will not overwrite the wrong symlinks or i am wrong?

  • To remove the file simply use the command bellow:

    sudo rm /usr/lib/libmozjs-52.so.0
    and update the system with
    sudo pacman -Syu

    WARNING:

    Don’t uninstall the package js52 nor it’s dependencies. One user did and had a long road untill fix the system.

  • @joekamprad said in js52 52.7.3-2 upgrade requires intervention:

    but this will not overwrite the wrong symlinks or i am wrong?

    Actually I don’t know in detail how pacman works exactly.
    I’ve always thought that “pacman -S <package>” for an existing package removes all package files and installs everything “from scratch”.
    But really, I may be horribly wrong here.

  • as it was said by “Papa-Arch” to remove the file prior update i do think it is not the case, and also i would never put in question what Pop say to me ;)

  • @joekamprad
    You have a great point there! ;)

  • Had this error a few days ago. Didn’t check in time with the Arch News unfortunatly.
    I just used to force the overwrite of this file:

    sudo pacman -S --force js52
    

    Might not be the best solution, but I guess it worked, at least I haven’t found a problem since then, but couldn’t find any obvious dependencies with Pacman before.

  • @severus said in js52 52.7.3-2 upgrade requires intervention:

    Might not be the best solution, but I guess it worked,…

    Sure it works! It is the best solution. Congrats!

    …couldn’t find any obvious dependencies with Pacman…

    Pacman itself is not a best tool to study a package dependencies. But among its helpers there’s one, aimed to do exactly that job - to find out all descending and ascending deps of a package. It is pactree.

    pactree use is simple:

    pactree <pkg> = shows descending deps
    pactree --reverse <pkg> = shows ascending deps
    

    js52 pkg has only 3 descending dependencies:

    js52 descending deps = if any of them is being installed, it will also install js52
    --
    
    $ pactree js52
    js52
    ├─gcc-libs
    │ └─glibc
    │   ├─linux-api-headers
    │   ├─tzdata
    │   └─filesystem
    │     └─iana-etc
    ├─readline
    │ ├─glibc
    │ ├─ncurses
    │ │ ├─glibc
    │ │ └─gcc-libs
    │ └─ncurses provides libncursesw.so
    ├─zlib
    │ └─glibc
    └─bash provides sh
      ├─readline
      ├─glibc
      └─ncurses
    $
    

    But the number of js52 ascending dependencies is really huge:

    js52 ascending deps = packages that depend on js52 = all of them need installed js52
    --
    
    $ pactree --reverse js52
    js52
    ├─cjs
    │ ├─cinnamon
    │ └─nemo-preview
    └─polkit
      ├─accountsservice
      │ ├─cinnamon
      │ ├─cinnamon-desktop
      │ │ ├─cinnamon-screensaver
      │ │ │ └─cinnamon
      │ │ ├─cinnamon-session
      │ │ │ └─cinnamon
      │ │ ├─cinnamon-settings-daemon
      │ │ │ ├─cinnamon
      │ │ │ └─cinnamon-control-center
      │ │ │   └─cinnamon
      │ │ ├─muffin
      │ │ │ └─cinnamon
      │ │ └─nemo
      │ │   ├─cinnamon
      │ │   ├─nemo-fileroller
      │ │   ├─nemo-preview
      │ │   └─nemo-share
      │ ├─cinnamon-screensaver
      │ └─lightdm-webkit2-greeter
      ├─cinnamon-settings-daemon
      ├─colord
      │ ├─cinnamon-control-center
      │ ├─cinnamon-settings-daemon
      │ └─gtk3
      │   ├─appstream-glib
      │   │ └─pamac
      │   ├─baobab
      │   ├─blueman
      │   ├─brasero
      │   ├─caribou
      │   │ └─cinnamon
      │   ├─chromium
      │   ├─cinnamon-desktop
      │   ├─cjs
      │   ├─clutter
      │   │ ├─caribou
      │   │ ├─clutter-gst
      │   │ │ ├─nemo-preview
      │   │ │ └─totem
      │   │ ├─clutter-gtk
      │   │ │ ├─cinnamon
      │   │ │ ├─nemo-preview
      │   │ │ └─totem
      │   │ └─muffin
      │   ├─evince
      │   ├─file-roller
      │   │ └─nemo-fileroller
      │   ├─firefox
      │   ├─gcr
      │   │ ├─gnome-keyring
      │   │ │ └─seahorse
      │   │ ├─gnome-online-accounts
      │   │ │ ├─gfbgraph
      │   │ │ │ ├─gnome-online-miners
      │   │ │ │ │ └─gnome-photos
      │   │ │ │ └─gnome-photos
      │   │ │ ├─gnome-online-miners
      │   │ │ ├─gnome-photos
      │   │ │ ├─gvfs-goa
      │   │ │ │ └─gvfs-google
      │   │ │ ├─libgdata
      │   │ │ │ ├─gnome-online-miners
      │   │ │ │ ├─gnome-photos
      │   │ │ │ ├─grilo-plugins
      │   │ │ │ │ ├─gnome-music
      │   │ │ │ │ └─gnome-photos
      │   │ │ │ └─gvfs-google
      │   │ │ └─libzapojit
      │   │ │   └─gnome-online-miners
      │   │ ├─gvfs
      │   │ │ ├─brasero
      │   │ │ ├─gnome-music
      │   │ │ ├─gvfs-goa
      │   │ │ ├─gvfs-mtp
      │   │ │ ├─gvfs-smb
      │   │ │ └─nemo
      │   │ ├─libgdata
      │   │ ├─nm-connection-editor
      │   │ │ ├─cinnamon-control-center
      │   │ │ └─network-manager-applet
      │   │ │   └─cinnamon
      │   │ └─seahorse
      │   ├─geany
      │   ├─gnome-bluetooth
      │   │ └─blueberry
      │   ├─gnome-calculator
      │   ├─gnome-desktop
      │   │ ├─eog
      │   │ ├─evince
      │   │ ├─gnome-font-viewer
      │   │ └─totem
      │   ├─gnome-disk-utility
      │   ├─gnome-font-viewer
      │   ├─gnome-music
      │   ├─gnome-photos
      │   ├─gnome-screenshot
      │   ├─grilo
      │   │ ├─gnome-music
      │   │ ├─gnome-online-miners
      │   │ ├─gnome-photos
      │   │ ├─grilo-plugins
      │   │ └─totem
      │   ├─gtkmm3
      │   │ ├─gnome-system-monitor
      │   │ └─pavucontrol
      │   ├─gtksourceview3
      │   │ ├─gnome-calculator
      │   │ └─nemo-preview
      │   ├─gufw
      │   ├─libdazzle
      │   │ └─gnome-photos
      │   ├─libgnomekbd
      │   │ ├─cinnamon
      │   │ ├─cinnamon-control-center
      │   │ ├─cinnamon-screensaver
      │   │ ├─cinnamon-settings-daemon
      │   │ └─xapps
      │   │   ├─cinnamon
      │   │   ├─cinnamon-screensaver
      │   │   ├─cinnamon-session
      │   │   ├─nemo
      │   │   └─xreader
      │   │     └─nemo-preview
      │   ├─libgxps
      │   │ ├─evince
      │   │ └─tracker-miners
      │   │   ├─gnome-music
      │   │   └─gnome-photos
      │   ├─libkeybinder3
      │   │ └─cinnamon
      │   ├─libpeas
      │   │ ├─eog
      │   │ └─totem
      │   ├─light-locker
      │   │ └─light-locker-settings
      │   ├─nm-connection-editor
      │   ├─notification-daemon
      │   │ └─antergos-welcome
      │   ├─nvidia-settings
      │   ├─orca
      │   ├─pamac
      │   ├─polkit-gnome
      │   │ └─cinnamon
      │   ├─seahorse
      │   ├─systemd-manager
      │   ├─thunderbird
      │   ├─transmission-gtk
      │   ├─vte3
      │   │ ├─gnome-terminal
      │   │ └─pamac
      │   ├─webkit2gtk
      │   │ ├─antergos-welcome
      │   │ ├─cinnamon-screensaver
      │   │ ├─gnome-online-accounts
      │   │ ├─gufw
      │   │ ├─lightdm-webkit2-greeter
      │   │ ├─xreader
      │   │ └─zenity
      │   │   ├─muffin
      │   │   └─steam
      │   └─xdg-user-dirs-gtk
      ├─gconf
      │ ├─lib32-gconf
      │ │ └─steam-native-runtime
      │ ├─libgksu
      │ │ └─gksu
      │ └─steam-native-runtime
      ├─gufw
      ├─lib32-polkit
      │ └─lib32-gconf
      ├─lightdm
      │ ├─light-locker
      │ └─lightdm-webkit2-greeter
      ├─modemmanager
      ├─networkmanager
      │ └─network-manager-applet
      ├─pamac
      ├─polkit-gnome
      ├─rtkit
      │ └─pulseaudio
      │   ├─pulseaudio-alsa
      │   │ └─cinnamon-settings-daemon
      │   └─pulseaudio-bluetooth
      │     └─gnome-bluetooth
      └─udisks2
        ├─gnome-disk-utility
        ├─gvfs
        └─imagewriter-git
    $
    
  • @severus said in js52 52.7.3-2 upgrade requires intervention:

    I just used to force the overwrite of this file:

    sudo pacman -S --force js52
    

    Again, it’s a very good solution.

    But the origianl install reason for js52 package is 'installed by dependency". If js52 is re-installed with your command, it changes the install reason to “explicitly installed”. It is not nice. For stability and reliability it’s better to always keep the original reason.

    Your command becomes:

    sudo pacman -Sy --force --asdeps js52
    

    The command may be used to change the installation reason for the already installed js52.

  • I had the bad idea of uninstaling js52 now I broke the grafical interface!

  • @marine88 Boot into runlevel 3 and run the command right above your post from bash. It will install js52 in a clean way.

  • @just I cant have internet on my laptop to do that!

  • @marine88 GNOME DE ? then a bad thing… but startup from LIVE ISO and chroot into your system to get internet connection…

  • @marine88 said in js52 52.7.3-2 upgrade requires intervention:

    @just I cant have internet on my laptop to do that!

    There is a good chance that the files are in your cache directory., so it’s possible to do a desparate procedure.

    you can check if you have files at /var/cache/pacman/pkg/ if you want.

    the desparete idea is
    for x in $(ls /var/cache/pacman/pkg/); do sudo pacman -U /var/cache/pacman/pkg/$x --noconfirm; done

    this will reinstall all packages you have in your cache, but it’s a bad solution anyway, recommended only if you don’t have internet

  • @fernandomaroto I was able to run and i finishis now i have login screen after do the login all black but i have network on console what can I run now to fix it guys? thanks for the help

  • sudo pacman -Sy antergos-common-meta antergos-kde-meta --needed

  • @marine88 said in js52 52.7.3-2 upgrade requires intervention:

    I cant have internet on my laptop to do that!

    If you have a smartphone, you can do USB tethering and connect to the internet.

  • @joekamprad i did allready almost full functional but screen edges of kde for example is not working good is there anithing more i can do to try fix it? gracias for your help

upgrade73 requires9 js525 52.7.3-21 Posts 22Views 2441
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.