Get the most out of your Centmin Mod LEMP stack
Become a Member

Sysadmin ImageMagick conflicting

Discussion in 'System Administration' started by pamamolf, Aug 8, 2020.

  1. pamamolf

    pamamolf Premium Member Premium Member

    3,842
    377
    83
    May 31, 2014
    Ratings:
    +722
    Local Time:
    12:14 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    Hello

    I am on latest Centminmod and latest Centos 7 and i just try to update to latest Php and when it was trying to install the ImageMagick i notice that:

    Code:
    Resolving Dependencies
    --> Running transaction check
    ---> Package ImageMagick.x86_64 0:6.9.11.25-1.el7.remi will be installed
    ---> Package ImageMagick-c++.x86_64 0:6.9.11.6-2.el7.remi will be updated
    ---> Package ImageMagick-c++.x86_64 0:6.9.11.25-1.el7.remi will be an update
    ---> Package ImageMagick-c++-devel.x86_64 0:6.9.11.25-1.el7.remi will be installed
    ---> Package ImageMagick-devel.x86_64 0:6.9.11.25-1.el7.remi will be installed
    ---> Package ImageMagick-libs.x86_64 0:6.9.11.6-2.el7.remi will be updated
    ---> Package ImageMagick-libs.x86_64 0:6.9.11.25-1.el7.remi will be an update
    ---> Package LibRaw.x86_64 0:0.19.2-1.el7 will be updated
    ---> Package LibRaw.x86_64 0:0.19.4-1.el7 will be an update
    --> Processing Conflict: ImageMagick7-7.0.10.25-1.el7.remi.x86_64 conflicts ImageMagick < 7.0.10.25
    --> Finished Dependency Resolution
    Error: ImageMagick7 conflicts with ImageMagick-6.9.11.25-1.el7.remi.x86_64
    Maybe the version lock needs some adjustments?

    Thank you
     
  2. eva2000

    eva2000 Administrator Staff Member

    45,151
    10,272
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,919
    Local Time:
    7:14 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    what's output for these commands
    Code (Text):
    php --ri imagick

    Code (Text):
    yum history list ImageMagick
    

    Code (Text):
    yum -q list ImageMagick* LibRaw --disableplugin=versionlock,priorities --enablerepo=remi | tr -s ' ' | column -t

    Code (Text):
    yum -q list updates ImageMagick LibRaw --disableplugin=versionlock,priorities --enablerepo=remi | tr -s ' ' | column -t 


    ImageMagick and ImageMagick7 should be separate yum packages as I see on centmin.sh menu option 15 ImageMagick update, there is no ImageMagick7 update/switch attempts as ImageMagick-6.9.11.25-1.el7 is the latest available so shouldn't have tried ImageMagick7 update
    Code (Text):
    Loaded plugins: fastestmirror, priorities, versionlock
    Deleting versionlock for: 0:LibRaw-0.19.4-1.el7.*
    versionlock deleted: 1
    Loaded plugins: fastestmirror, priorities, versionlock
    Deleting versionlock for: 0:ImageMagick-6.9.11.25-1.el7.remi.*
    Deleting versionlock for: 0:ImageMagick-devel-6.9.11.25-1.el7.remi.*
    Deleting versionlock for: 0:ImageMagick-c++-6.9.11.25-1.el7.remi.*
    Deleting versionlock for: 0:ImageMagick-c++-devel-6.9.11.25-1.el7.remi.*
    Deleting versionlock for: 0:ImageMagick-libs-6.9.11.25-1.el7.remi.*
    versionlock deleted: 5
    Loaded plugins: fastestmirror, priorities, versionlock
    Adding versionlock on: 0:ImageMagick-6.9.11.25-1.el7.remi
    Adding versionlock on: 0:ImageMagick-devel-6.9.11.25-1.el7.remi
    Adding versionlock on: 0:ImageMagick-c++-6.9.11.25-1.el7.remi
    Adding versionlock on: 0:ImageMagick-c++-devel-6.9.11.25-1.el7.remi
    Adding versionlock on: 0:ImageMagick-libs-6.9.11.25-1.el7.remi
    Adding versionlock on: 0:LibRaw-0.19.4-1.el7
    versionlock added: 6
    

    example on my system
    Code (Text):
    yum -q list ImageMagick* --disableplugin=versionlock,priorities --enablerepo=remi | tr -s ' ' | column -t
    Installed                      Packages
    ImageMagick.x86_64             6.9.11.25-1.el7.remi  @remi
    ImageMagick-c++.x86_64         6.9.11.25-1.el7.remi  @remi
    ImageMagick-c++-devel.x86_64   6.9.11.25-1.el7.remi  @remi
    ImageMagick-devel.x86_64       6.9.11.25-1.el7.remi  @remi
    ImageMagick-libs.x86_64        6.9.11.25-1.el7.remi  @remi
    Available                      Packages
    ImageMagick-djvu.x86_64        6.9.11.25-1.el7.remi  remi
    ImageMagick-doc.x86_64         6.9.11.25-1.el7.remi  remi
    ImageMagick-heic.x86_64        6.9.11.25-1.el7.remi  remi
    ImageMagick-perl.x86_64        6.9.11.25-1.el7.remi  remi
    ImageMagick7.x86_64            7.0.10.25-1.el7.remi  remi
    ImageMagick7-c++.x86_64        7.0.10.25-1.el7.remi  remi
    ImageMagick7-c++-devel.x86_64  7.0.10.25-1.el7.remi  remi
    ImageMagick7-devel.x86_64      7.0.10.25-1.el7.remi  remi
    ImageMagick7-djvu.x86_64       7.0.10.25-1.el7.remi  remi
    ImageMagick7-doc.x86_64        7.0.10.25-1.el7.remi  remi
    ImageMagick7-heic.x86_64       7.0.10.25-1.el7.remi  remi
    ImageMagick7-libs.x86_64       7.0.10.25-1.el7.remi  remi
    ImageMagick7-perl.x86_64       7.0.10.25-1.el7.remi  remi
    

    Code (Text):
    yum -q list updates ImageMagick LibRaw --disableplugin=versionlock,priorities --enablerepo=remi | tr -s ' ' | column -t 
    Error: No matching Packages to list
    
     
    Last edited: Aug 8, 2020
  3. pamamolf

    pamamolf Premium Member Premium Member

    3,842
    377
    83
    May 31, 2014
    Ratings:
    +722
    Local Time:
    12:14 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    php --ri imagick :
    Code:
    imagick
    
    imagick module => enabled
    imagick module version => 3.4.4
    imagick classes => Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator, ImagickKernel
    Imagick compiled with ImageMagick version => ImageMagick 6.9.11-6 Q16 x86_64 2020-04-09 https://imagemagick.org
    Imagick using ImageMagick library version => ImageMagick 6.9.11-6 Q16 x86_64 2020-04-09 https://imagemagick.org
    ImageMagick copyright => © 1999-2020 ImageMagick Studio LLC
    ImageMagick release date => 2020-04-09
    ImageMagick number of supported formats:  => 242
    ImageMagick supported formats => 3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
    
    Directive => Local Value => Master Value
    imagick.locale_fix => 0 => 0
    imagick.skip_version_check => 0 => 0
    imagick.progress_monitor => 0 => 0
    yum history list ImageMagick:
    Code:
    Loaded plugins: fastestmirror, langpacks, priorities, versionlock
    ID     | Command line             | Date and time    | Action(s)      | Altered
    -------------------------------------------------------------------------------
       365 | -y remove ImageMagick -- | 2020-05-17 04:15 | Erase          |    3   
       355 | update --disableplugin=p | 2020-04-17 21:12 | O, U           |   16 EE
        12 | -y remove ImageMagick    | 2016-09-07 02:59 | Erase          |    4   
         4 | -y install virt-what gaw | 2016-09-07 02:56 | Install        |  208   
    history list
    yum -q list ImageMagick* LibRaw --disableplugin=versionlock,priorities --enablerepo=remi | tr -s ' ' | column -t :
    Code:
    Installed                      Packages
    ImageMagick-c++.x86_64         6.9.11.6-2.el7.remi   @remi
    ImageMagick-libs.x86_64        6.9.11.6-2.el7.remi   @remi
    ImageMagick7.x86_64            7.0.10.25-1.el7.remi  @remi
    ImageMagick7-libs.x86_64       7.0.10.25-1.el7.remi  @remi
    LibRaw.x86_64                  0.19.2-1.el7          @base
    Available                      Packages
    ImageMagick.x86_64             6.9.11.25-1.el7.remi  remi
    ImageMagick-c++.x86_64         6.9.11.25-1.el7.remi  remi
    ImageMagick-c++-devel.x86_64   6.9.11.25-1.el7.remi  remi
    ImageMagick-devel.x86_64       6.9.11.25-1.el7.remi  remi
    ImageMagick-djvu.x86_64        6.9.11.25-1.el7.remi  remi
    ImageMagick-doc.x86_64         6.9.11.25-1.el7.remi  remi
    ImageMagick-heic.x86_64        6.9.11.25-1.el7.remi  remi
    ImageMagick-libs.x86_64        6.9.11.25-1.el7.remi  remi
    ImageMagick-perl.x86_64        6.9.11.25-1.el7.remi  remi
    ImageMagick7-c++.x86_64        7.0.10.25-1.el7.remi  remi
    ImageMagick7-c++-devel.x86_64  7.0.10.25-1.el7.remi  remi
    ImageMagick7-devel.x86_64      7.0.10.25-1.el7.remi  remi
    ImageMagick7-djvu.x86_64       7.0.10.25-1.el7.remi  remi
    ImageMagick7-doc.x86_64        7.0.10.25-1.el7.remi  remi
    ImageMagick7-heic.x86_64       7.0.10.25-1.el7.remi  remi
    ImageMagick7-perl.x86_64       7.0.10.25-1.el7.remi  remi
    LibRaw.x86_64                  0.19.4-1.el7          base
    yum -q list updates ImageMagick LibRaw --disableplugin=versionlock,priorities --enablerepo=remi | tr -s ' ' | column -t :
    Code:
    Updated        Packages
    LibRaw.x86_64  0.19.4-1.el7  base
     
  4. eva2000

    eva2000 Administrator Staff Member

    45,151
    10,272
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,919
    Local Time:
    7:14 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    seems like you accidentally removed ImageMagick and installed ImageMagick7 packages
    what's output for
    Code (Text):
    yum history info 365
    
     
  5. pamamolf

    pamamolf Premium Member Premium Member

    3,842
    377
    83
    May 31, 2014
    Ratings:
    +722
    Local Time:
    12:14 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    Loaded plugins: fastestmirror, langpacks, priorities, versionlock
    Transaction ID : 365
    Begin time : Sun May 17 04:15:44 2020
    Begin rpmdb : 1002:a078f258292d483dbc420c88a787b34012a773b6
    End time : 04:15:45 2020 (1 seconds)
    End rpmdb : 999:7694a85f86e1c32bb2e8de60b19534a0063ed2cc
    User : root <root>
    Return-Code : Success
    Command Line : -y remove ImageMagick --disablerepo=rpmforge
    Transaction performed with:
    Installed rpm-4.11.3-43.el7.x86_64 @base
    Installed yum-3.4.3-167.el7.centos.noarch @base
    Installed yum-plugin-fastestmirror-1.1.31-54.el7_8.noarch @updates
    Packages Altered:
    Erase ImageMagick-6.9.11.6-2.el7.remi.x86_64 @remi
    Erase ImageMagick-c++-devel-6.9.11.6-2.el7.remi.x86_64 @remi
    Erase ImageMagick-devel-6.9.11.6-2.el7.remi.x86_64 @remi
    history info
     
  6. eva2000

    eva2000 Administrator Staff Member

    45,151
    10,272
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,919
    Local Time:
    7:14 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Looks like you did remove ImageMagick-6.9.11.6-2.el7.remi.x86_64, ImageMagick-c++-devel-6.9.11.6-2.el7.remi.x86_64 and ImageMagick-devel-6.9.11.6-2.el7.remi.x86_64

    Try reinstalling them but first remove ImageMagick7 packages which should not of been installed and then rollback YUM transaction id = 365 via yum history undo
    Code (Text):
    yum -y remove ImageMagick7 ImageMagick7-libs --disableplugin=priorities,versionlock --enablerepo=remi
    yum history undo 365 --disableplugin=priorities,versionlock --enablerepo=remi
    

    Then centmin.sh menu option 15 for ImageMagick update should properly take care update
     
  7. eva2000

    eva2000 Administrator Staff Member

    45,151
    10,272
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,919
    Local Time:
    7:14 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    by any chance have you recently answered yes to centmin.sh menu option 4 or 5's yum check prompt ? I think that might have somehow removed ImageMagick-6.9.11.6-2.el7.remi.x86_64, ImageMagick-c++-devel-6.9.11.6-2.el7.remi.x86_64 and ImageMagick-devel-6.9.11.6-2.el7.remi.x86_64 and installed ImageMagick7 and ImageMagick7-libs
     
  8. pamamolf

    pamamolf Premium Member Premium Member

    3,842
    377
    83
    May 31, 2014
    Ratings:
    +722
    Local Time:
    12:14 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    I may did that by accident but don't remember...

    Why you don't remove that option to avoid running it? Is it needed?

    For so many years i never used it.
     
  9. eva2000

    eva2000 Administrator Staff Member

    45,151
    10,272
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,919
    Local Time:
    7:14 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    yeah thinking of removing the yum check as it isn't really needed :)

    though it would be need for major version updates i.e. 123.08stable to 123.09beta01 or which ever future major versions. Might devise a different routine/script for that instead
     
    Last edited: Aug 12, 2020
  10. eva2000

    eva2000 Administrator Staff Member

    45,151
    10,272
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,919
    Local Time:
    7:14 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x