The last round of updates is causing another dependency problem:
Total 11 MB/s | 104 MB 00:00:09
Running transaction check
Running transaction test
Transaction check error:
file /usr/lib64/libonig.so.5.0.0 from install of oniguruma-6.8.2-1.el7.x86_64 conflicts with file from package oniguruma5-6.9.4-1.el7.remi.x86_64
When I try removing the conflicting package, it appears it’s required by php-scl and the mbstring extensions:
[root@neth ~]# yum remove oniguruma5
Loaded plugins: changelog, fastestmirror, nethserver_events, priorities
Resolving Dependencies
--> Running transaction check
---> Package oniguruma5.x86_64 0:6.9.4-1.el7.remi will be erased
--> Processing Dependency: libonig.so.5()(64bit) for package: php73-php-mbstring-7.3.12-1.el7.remi.x86_64
--> Processing Dependency: libonig.so.5()(64bit) for package: php74-php-mbstring-7.4.0-1.el7.remi.x86_64
--> Processing Dependency: libonig.so.5()(64bit) for package: php72-php-mbstring-7.2.25-1.el7.remi.x86_64
--> Running transaction check
---> Package php72-php-mbstring.x86_64 0:7.2.25-1.el7.remi will be erased
--> Processing Dependency: php72-php-mbstring for package: nethserver-php-scl-1.3.0-1.ns7.sdl.x86_64
---> Package php73-php-mbstring.x86_64 0:7.3.12-1.el7.remi will be erased
---> Package php74-php-mbstring.x86_64 0:7.4.0-1.el7.remi will be erased
--> Running transaction check
---> Package nethserver-php-scl.x86_64 0:1.3.0-1.ns7.sdl will be erased
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Removing:
oniguruma5 x86_64 6.9.4-1.el7.remi @remi-safe 729 k
Removing for dependencies:
nethserver-php-scl x86_64 1.3.0-1.ns7.sdl @stephdl 331 k
php72-php-mbstring x86_64 7.2.25-1.el7.remi @remi-safe 1.0 M
php73-php-mbstring x86_64 7.3.12-1.el7.remi @remi-safe 1.0 M
php74-php-mbstring x86_64 7.4.0-1.el7.remi @remi-safe 1.0 M
Transaction Summary
====================================================================================================================================
Remove 1 Package (+4 Dependent packages)
I could no doubt skip this particular package with --skip-broken, (no I can’t) but it seems there should be a better way ahead with this.
@stephdl? Any input? Removing oniguruma5 would result in the removal of your php-scl module, as well as the mbstring extension for PHP 7.2, 7.3, and 7.4. Removing oniguruma would result in the removal of jq, Cockpit, Dante, and the subscription and subscription-UI modules.
I think it’s the subscription again (which honestly seems to cause more problems than it solves)–it disables remi-safe, so uniguruma5php wasn’t getting installed at all. Enabling that repo lets the upgrade proceed without problems (and also upgrades a lot of PHP stuff).
I cannot reproduce sorry, could you test yourself please
check /etc/yum.repos.d/remi-safe.repo the repo is enabled by default
modify enabled=1 to enabled=0
trigger the event signal-event software-repos-save
the repository is enabled back
I am not really aware about subscription, but I am sure of two things :
It use the same way to enable/disable repositories, else I would be pleased to learn more and fix my module
It is important to get this program up and to be confident on it
could you post the /var/log/messages of the event software-repos-save
the version of nethserver-php-scl, it must be : nethserver-php-scl-1.3.0-1.ns7.sdl.x86_64
# ================= DO NOT MODIFY THIS FILE =================
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at NethServer official site: https://www.nethserver.org
#
#
#
# This file is read by software-repos-save event
#
# Listed repositories will be enabled, everything else will be disabled
#
# Blank lines and lines beginning with "#" are ignored
#
sb-base
sb-updates
sb-epel
sb-extras
sb-centos-sclo-rh
sb-centos-sclo-sclo
sb-nethserver-base
sb-nethserver-updates