Welcome to Centmin Mod Community
Become a Member

Upgrade Error trying to upgrade packages.

Discussion in 'Install & Upgrades or Pre-Install Questions' started by ElChorizo, Nov 23, 2025.

  1. ElChorizo

    ElChorizo Member

    79
    10
    8
    Apr 29, 2021
    Ratings:
    +18
    Local Time:
    1:41 AM
    1.19.10
    10.3.28
    Getting an error when trying to update the system... AlmaLinux 9.6 and Centmin Mod 140.00beta01

    Code:
    yum.noarch                            4.14.0-31.el9.alma.1               baseos
    yum-utils.noarch                      4.3.0-24.el9_7                     baseos
    
    -------------------------------------------------------------
      To update type these commands:
    -------------------------------------------------------------
      yum update --disableplugin=priorities --setopt=deltarpm=0 --enablerepo=remi
    
    
    
    -------------------------------------------------------------
    * Current Nginx Version: 1.27.3 (061224-031924-almalinux9-kvm-c0432dd)
    * Latest Nginx Available: 1.29.3 (centminmod.com/nginxnews)
    -------------------------------------------------------------
    
    -------------------------------------------------------------
     Centmin Mod local code is up to date at /usr/local/src/centminmod
     no available updates at this time...
    -------------------------------------------------------------
    [21:37][root@ centminmod]# yum update --disableplugin=priorities --setopt=deltarpm=0 --enablerepo=remi
    No matches found for the following disable plugin patterns: priorities
    Last metadata expiration check: 0:03:05 ago on Sat Nov 22 21:34:25 2025.
    Error:
     Problem 1: package opencv-core-4.6.0-7.el9.x86_64 from @System requires libgdal.so.30()(64bit), but none of the providers can be installed
      - cannot install both gdal-libs-3.10.3-3.el9.x86_64 from appstream and gdal-libs-3.4.3-3.el9.x86_64 from @System
      - cannot install the best update candidate for package opencv-core-4.6.0-7.el9.x86_64
      - cannot install the best update candidate for package gdal-libs-3.4.3-3.el9.x86_64
     Problem 2: cannot install both proj-9.6.0-2.el9.x86_64 from appstream and proj-8.2.0-1.el9.x86_64 from @System
      - package libgeotiff-1.7.1-3.el9.x86_64 from @System requires libproj.so.22()(64bit), but none of the providers can be installed
      - cannot install the best update candidate for package proj-8.2.0-1.el9.x86_64
      - cannot install the best update candidate for package libgeotiff-1.7.1-3.el9.x86_64
    (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
    [21:37][root@ centminmod]# lsb_release -a
    LSB Version:    n/a
    Distributor ID: AlmaLinux
    Description:    AlmaLinux 9.6 (Sage Margay)
    Release:        9.6
    Codename:       n/a
    


     
  2. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    4:41 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    This is just a dependency update timing issue - looks like they did update to
    opencv-4.6.0-9.el9 just waiting for package to populate in EPEL 2416352 – opencv needs to be rebuilt in epel9 for gdal 3.10 ?

    currently on older version in EL9
    Code (Text):
    yum clean all
    yum list opencv-core -q
    Installed           Packages    
    opencv-core.x86_64  4.6.0-7.el9  @epel
    


    RHEL/AlmaLinux/Stream/AppStream bumped gdal and proj versions first, but 3rd party EPEL packages are still built against older ABIs so you need to wait for EPEL YUM repo maintainers for those packages to release their updates to updated gdal and proj versions.

    When libraries like gdal-libs and proj update their major versions, packages depending on them need rebuilding GDAL. The issue is:
    • gdal-libs: 3.4.3 (provides libgdal.so.30) → 3.10.3 (likely provides libgdal.so.35)
    • proj: 8.2.0 (provides libproj.so.22) → 9.6.0 (provides libproj.so.25)
    • opencv-core was compiled against libgdal.so.30 and hasn't been rebuilt
    • libgeotiff was compiled against libproj.so.22 and hasn't been rebuilt
    For now, just skip those packages on update until EPEL YUM repo maintainers release their dependency updates with --skip-broken
    Code (Text):
    yum update --disableplugin=priorities --setopt=deltarpm=0 --enablerepo=remi --skip-broken
    

    or specific exclusion of packages
    Code (Text):
    yum update --disableplugin=priorities --setopt=deltarpm=0 --enablerepo=remi --exclude="gdal-* proj* opencv* libgeotiff*"
     
  3. ElChorizo

    ElChorizo Member

    79
    10
    8
    Apr 29, 2021
    Ratings:
    +18
    Local Time:
    1:41 AM
    1.19.10
    10.3.28
    Awesome, thank you very much!