Welcome to Centmin Mod Community
Become a Member

ImageMagick6-libs - Libraw and version lock

Discussion in 'Other Centmin Mod Installed software' started by pamamolf, Aug 8, 2019.

  1. pamamolf

    pamamolf Premium Member Premium Member

    3,405
    320
    83
    May 31, 2014
    Ratings:
    +608
    Local Time:
    8:07 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    Hello

    On Centos 7 i got a new update for Libraw that is seems related to Imagemagick that Centminmod use version lock....

    Don't know if we must set this library also to version lock or use another solution as now i am getting:

    Code:
    Error: Package: ImageMagick6-libs-6.9.10.59-1.el7.remi.x86_64 (@remi)
               Requires: libraw.so.5()(64bit)
               Removing: LibRaw-0.14.8-5.el7.20120830git98d925.x86_64 (@base)
                   libraw.so.5()(64bit)
               Updated By: LibRaw-0.19.2-0.el7.remi.x86_64 (remi)
                  ~libraw.so.19()(64bit)
    I think if i rebuild php the issue will gone but i am not sure ... also not sure if it is better to find a better permanent solution for it :)

    Thank you
     
  2. eva2000

    eva2000 Administrator Staff Member

    41,088
    9,195
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,105
    Local Time:
    3:07 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Ah thanks for the heads up - will have to figure out the best way to deal with that. But libraw doesn't seem to be a yum package my centos 7 systems are showing as an update. It might be because you use yum update command on centmin.sh menu option 24 exit ? which does not have versionlock disabled so even if I version lock LibRaw, the same conflict would occur due to Remi repo having a newer version of LibRaw that native CentOS 7 and version lock still being enabled.

    So yes versionlocking LibRaw would be long term solution

    Current fix would be to run centmin.sh menu option 15 to update imagick and imagemagick6 as it disables version lock and enables remi so LibRaw can update
    Code (Text):
    Check for ImageMagicK System Updates (YUM)
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: centos.sonn.com
     * centos-sclo-rh: mirror.keystealth.org
     * centos-sclo-sclo: mirror.fileplanet.com
     * elrepo: repos.lax-noc.com
     * elrepo-kernel: repos.lax-noc.com
     * epel: mirror.sfo12.us.leaseweb.net
     * extras: mirror.hostduplex.com
     * remi: mirror.sjc02.svwh.net
     * updates: mirror.fileplanet.com
    Resolving Dependencies
    --> Running transaction check
    ---> Package ImageMagick6.x86_64 0:6.9.10.59-1.el7.remi will be updated
    ---> Package ImageMagick6.x86_64 0:6.9.10.59-2.el7.remi will be an update
    ---> Package ImageMagick6-c++.x86_64 0:6.9.10.59-1.el7.remi will be updated
    ---> Package ImageMagick6-c++.x86_64 0:6.9.10.59-2.el7.remi will be an update
    ---> Package ImageMagick6-c++-devel.x86_64 0:6.9.10.59-1.el7.remi will be updated
    ---> Package ImageMagick6-c++-devel.x86_64 0:6.9.10.59-2.el7.remi will be an update
    ---> Package ImageMagick6-devel.x86_64 0:6.9.10.59-1.el7.remi will be updated
    ---> Package ImageMagick6-devel.x86_64 0:6.9.10.59-2.el7.remi will be an update
    ---> Package ImageMagick6-libs.x86_64 0:6.9.10.59-1.el7.remi will be updated
    ---> Package ImageMagick6-libs.x86_64 0:6.9.10.59-2.el7.remi will be an update
    --> Processing Dependency: libraw_r.so.19()(64bit) for package: ImageMagick6-libs-6.9.10.59-2.el7.remi.x86_64
    --> Running transaction check
    ---> Package LibRaw.x86_64 0:0.14.8-5.el7.20120830git98d925 will be updated
    ---> Package LibRaw.x86_64 0:0.19.2-0.el7.remi will be an update
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ================================================================================
     Package                    Arch       Version                   Repository
                                                                               Size
    ================================================================================
    Updating:
     ImageMagick6               x86_64     6.9.10.59-2.el7.remi      remi      84 k
     ImageMagick6-c++           x86_64     6.9.10.59-2.el7.remi      remi     180 k
     ImageMagick6-c++-devel     x86_64     6.9.10.59-2.el7.remi      remi     119 k
     ImageMagick6-devel         x86_64     6.9.10.59-2.el7.remi      remi     121 k
     ImageMagick6-libs          x86_64     6.9.10.59-2.el7.remi      remi     2.4 M
    Updating for dependencies:
     LibRaw                     x86_64     0.19.2-0.el7.remi         remi     308 k
    
    Transaction Summary
    ================================================================================
    Upgrade  5 Packages (+1 Dependent package)
    
    Total download size: 3.2 M
    Downloading packages:
    No Presto metadata available for remi
    --------------------------------------------------------------------------------
    Total                                              9.7 MB/s | 3.2 MB  00:00     
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      Updating   : LibRaw-0.19.2-0.el7.remi.x86_64                             1/12 
      Updating   : ImageMagick6-libs-6.9.10.59-2.el7.remi.x86_64               2/12 
      Updating   : ImageMagick6-6.9.10.59-2.el7.remi.x86_64                    3/12 
      Updating   : ImageMagick6-devel-6.9.10.59-2.el7.remi.x86_64              4/12 
      Updating   : ImageMagick6-c++-6.9.10.59-2.el7.remi.x86_64                5/12 
      Updating   : ImageMagick6-c++-devel-6.9.10.59-2.el7.remi.x86_64          6/12 
      Cleanup    : ImageMagick6-c++-devel-6.9.10.59-1.el7.remi.x86_64          7/12 
      Cleanup    : ImageMagick6-devel-6.9.10.59-1.el7.remi.x86_64              8/12 
      Cleanup    : ImageMagick6-6.9.10.59-1.el7.remi.x86_64                    9/12 
      Cleanup    : ImageMagick6-c++-6.9.10.59-1.el7.remi.x86_64               10/12 
      Cleanup    : ImageMagick6-libs-6.9.10.59-1.el7.remi.x86_64              11/12 
      Cleanup    : LibRaw-0.14.8-5.el7.20120830git98d925.x86_64               12/12 
      Verifying  : LibRaw-0.19.2-0.el7.remi.x86_64                             1/12 
      Verifying  : ImageMagick6-libs-6.9.10.59-2.el7.remi.x86_64               2/12 
      Verifying  : ImageMagick6-6.9.10.59-2.el7.remi.x86_64                    3/12 
      Verifying  : ImageMagick6-c++-devel-6.9.10.59-2.el7.remi.x86_64          4/12 
      Verifying  : ImageMagick6-devel-6.9.10.59-2.el7.remi.x86_64              5/12 
      Verifying  : ImageMagick6-c++-6.9.10.59-2.el7.remi.x86_64                6/12 
      Verifying  : ImageMagick6-devel-6.9.10.59-1.el7.remi.x86_64              7/12 
      Verifying  : ImageMagick6-c++-devel-6.9.10.59-1.el7.remi.x86_64          8/12 
      Verifying  : ImageMagick6-6.9.10.59-1.el7.remi.x86_64                    9/12 
      Verifying  : ImageMagick6-c++-6.9.10.59-1.el7.remi.x86_64               10/12 
      Verifying  : LibRaw-0.14.8-5.el7.20120830git98d925.x86_64               11/12 
      Verifying  : ImageMagick6-libs-6.9.10.59-1.el7.remi.x86_64              12/12 
    
    Updated:
      ImageMagick6.x86_64 0:6.9.10.59-2.el7.remi                                   
      ImageMagick6-c++.x86_64 0:6.9.10.59-2.el7.remi                               
      ImageMagick6-c++-devel.x86_64 0:6.9.10.59-2.el7.remi                         
      ImageMagick6-devel.x86_64 0:6.9.10.59-2.el7.remi                             
      ImageMagick6-libs.x86_64 0:6.9.10.59-2.el7.remi                               
    
    Dependency Updated:
      LibRaw.x86_64 0:0.19.2-0.el7.remi                                             
    
    Complete!
    
    real    0m10.065s
    user    0m4.374s
    sys     0m1.273s
    


    Newer Centmin Mod installs on the other hand may not run into this as install time would of installed newer Remi LibRaw when ImageMagick6-libs was installed I suspect
     
  3. eva2000

    eva2000 Administrator Staff Member

    41,088
    9,195
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,105
    Local Time:
    3:07 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  4. BamaStangGuy

    BamaStangGuy Active Member

    575
    171
    43
    May 25, 2014
    Ratings:
    +232
    Local Time:
    12:07 PM
    When I select menuoption 15 it immediately returns me to the menu and doesn't do anything.
     
  5. eva2000

    eva2000 Administrator Staff Member

    41,088
    9,195
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,105
    Local Time:
    3:07 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    but other menu options work ? when was last time you ran cmupdate command to update centmin mod 123.09beta01 ?

    can you share the output or inspect the output for debug run of centmin.sh menu option 15 via command below - make sure to sanitise or hide any sensitive info in i.e. domain name, hostname, ip address for privacy (search and replace the output with dummy values if needed)

    debug with bash -x and at centmin.sh prompt enter menu option 15 and left it run and then run menu option 24 when at prompt again
    Code (Text):
    cd /usr/local/src/centminmod
    bash -x centmin.sh
    

    bash -x will debug with a very verbose amount of info from what centmin.sh is doing behind the scenes