IMAGICK / dependencies

Hi all,

this is some sort of “reopen” of my posts some months ago…

Background: On my Leap VPS I need a newer PHP8 (for Nextcloud) as we offer for Leap, so suggested workaround for me was to use the resp. SLE repo. Worked for the php8 version that time, also with the dependencies for APCu and Imagick.

Before now switching to 15.6 I updated to latest PHP avail, but now IMAGICK shows an dep. issue, unresolvable, Same after zypper dup to 15.6:

When I want to install php8-imagick from https://download.opensuse.org/repositories/server:/php:/extensions/SLE_15_SP3/, yast says:

nichts stellt 'libMagickCore-7.Q16HDRI.so.6()(64bit)' bereit, das vom zu installierenden php8-imagick-3.7.0-150300.18.2.x86_64 benötigt wird

Not sure if this might be a wrong dep defintion in the pkg as there are libs available:

# zypper se -v libMagickCore
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...

S | Name                                | Type  | Version              | Arch   | Repository
--+-------------------------------------+-------+----------------------+--------+-------------
  | libMagickCore-7_Q16HDRI10           | Paket | 7.1.1.35-lp156.751.1 | x86_64 | graphic
    name: libMagickCore-7_Q16HDRI10
  | libMagickCore-7_Q16HDRI10           | Paket | 7.1.1.21-150600.1.11 | x86_64 | openSUSE OSS
    name: libMagickCore-7_Q16HDRI10
  | libMagickCore-7_Q16HDRI10-32bit     | Paket | 7.1.1.21-150600.1.11 | x86_64 | openSUSE OSS
    name: libMagickCore-7_Q16HDRI10-32bit
  | libMagickCore-7_Q16HDRI10-debuginfo | Paket | 7.1.1.35-lp156.751.1 | x86_64 | graphic
    name: libMagickCore-7_Q16HDRI10-debuginfo

Any hints, tips?

Thanks in advance,
Michael

php8-imagick from this SLE repo requires a too old libMagickCore-7.Q16HDRI.so.6()(64bit) which is no longer available in Leap 15.6 as it already has libMagickCore-7.Q16HDRI.so.10()(64bit)

Did you already try the correct php8-imagick-3.7.0-lp156.18.1.x86_64 package for Leap 15.6 instead of SLE15 SP3?
https://download.opensuse.org/repositories/server:/php:/extensions/15.6/x86_64/

There is even a php8-imagick version in the official openSUSE backports repo php8-imagick-3.7.0-bp156.4.5.x86_64. So no extra repo needed.

The package from the official openSUSE backports repo installs flawlessly.

test@leaptest:~> LANG=C sudo zypper in php8-imagick

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

For security reasons, the password you type will not be visible.

[sudo] password for root: 
Refreshing service 'NVIDIA'.
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 8 recommended packages were automatically selected:
  php8-ctype php8-dom php8-iconv php8-openssl php8-sqlite php8-tokenizer php8-xmlreader php8-xmlwriter

The following 12 NEW packages are going to be installed:
  php8 php8-cli php8-ctype php8-dom php8-iconv php8-imagick php8-openssl php8-pdo php8-sqlite php8-tokenizer php8-xmlreader php8-xmlwriter

12 new packages to install.
Overall download size: 2.6 MiB. Already cached: 0 B. After the operation, additional 11.5 MiB will be used.

Backend:  classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): 
Retrieving: php8-cli-8.2.20-150600.3.3.1.x86_64 (update-sle (15.6))                                                                                                                                                                                      (1/12),   1.7 MiB    
Retrieving: php8-cli-8.2.20-150600.3.3.1.x86_64.rpm ........................................................................................................................................................................................................[done (4.0 MiB/s)]
Retrieving: php8-8.2.20-150600.3.3.1.x86_64 (update-sle (15.6))                                                                                                                                                                                          (2/12), 105.4 KiB    
Retrieving: php8-8.2.20-150600.3.3.1.x86_64.rpm ........................................................................................................................................................................................................................[done]
Retrieving: php8-dom-8.2.20-150600.3.3.1.x86_64 (update-sle (15.6))                                                                                                                                                                                      (3/12), 112.1 KiB    
Retrieving: php8-dom-8.2.20-150600.3.3.1.x86_64.rpm ....................................................................................................................................................................................................................[done]
Retrieving: php8-ctype-8.2.20-150600.3.3.1.x86_64 (update-sle (15.6))                                                                                                                                                                                    (4/12),  55.7 KiB    
Retrieving: php8-ctype-8.2.20-150600.3.3.1.x86_64.rpm ..................................................................................................................................................................................................................[done]
Retrieving: php8-iconv-8.2.20-150600.3.3.1.x86_64 (update-sle (15.6))                                                                                                                                                                                    (5/12),  69.6 KiB    
Retrieving: php8-iconv-8.2.20-150600.3.3.1.x86_64.rpm ......................................................................................................................................................................................................[done (1.0 MiB/s)]
Retrieving: php8-openssl-8.2.20-150600.3.3.1.x86_64 (update-sle (15.6))                                                                                                                                                                                  (6/12), 118.3 KiB    
Retrieving: php8-openssl-8.2.20-150600.3.3.1.x86_64.rpm ................................................................................................................................................................................................................[done]
Retrieving: php8-pdo-8.2.20-150600.3.3.1.x86_64 (update-sle (15.6))                                                                                                                                                                                      (7/12),  97.9 KiB    
Retrieving: php8-pdo-8.2.20-150600.3.3.1.x86_64.rpm ....................................................................................................................................................................................................................[done]
Retrieving: php8-sqlite-8.2.20-150600.3.3.1.x86_64 (update-sle (15.6))                                                                                                                                                                                   (8/12),  82.1 KiB    
Retrieving: php8-sqlite-8.2.20-150600.3.3.1.x86_64.rpm .................................................................................................................................................................................................................[done]
Retrieving: php8-tokenizer-8.2.20-150600.3.3.1.x86_64 (update-sle (15.6))                                                                                                                                                                                (9/12),  62.0 KiB    
Retrieving: php8-tokenizer-8.2.20-150600.3.3.1.x86_64.rpm ..................................................................................................................................................................................................[done (1.5 MiB/s)]
Retrieving: php8-xmlreader-8.2.20-150600.3.3.1.x86_64 (update-sle (15.6))                                                                                                                                                                               (10/12),  64.4 KiB    
Retrieving: php8-xmlreader-8.2.20-150600.3.3.1.x86_64.rpm ................................................................................................................................................................................................[done (759.4 KiB/s)]
Retrieving: php8-xmlwriter-8.2.20-150600.3.3.1.x86_64 (update-sle (15.6))                                                                                                                                                                               (11/12),  62.6 KiB    
Retrieving: php8-xmlwriter-8.2.20-150600.3.3.1.x86_64.rpm ..................................................................................................................................................................................................[done (1.1 MiB/s)]
Retrieving: php8-imagick-3.7.0-bp156.4.5.x86_64 (repo-oss (15.6))                                                                                                                                                                                       (12/12), 118.7 KiB    
Retrieving: php8-imagick-3.7.0-bp156.4.5.x86_64.rpm ........................................................................................................................................................................................................[done (1.4 MiB/s)]

Checking for file conflicts: ...........................................................................................................................................................................................................................................[done]
( 1/12) Installing: php8-cli-8.2.20-150600.3.3.1.x86_64 ................................................................................................................................................................................................................[done]
warning: user wwwrun does not exist - using root
warning: user wwwrun does not exist - using root
( 2/12) Installing: php8-8.2.20-150600.3.3.1.x86_64 ....................................................................................................................................................................................................................[done]
( 3/12) Installing: php8-dom-8.2.20-150600.3.3.1.x86_64 ................................................................................................................................................................................................................[done]
( 4/12) Installing: php8-ctype-8.2.20-150600.3.3.1.x86_64 ..............................................................................................................................................................................................................[done]
( 5/12) Installing: php8-iconv-8.2.20-150600.3.3.1.x86_64 ..............................................................................................................................................................................................................[done]
( 6/12) Installing: php8-openssl-8.2.20-150600.3.3.1.x86_64 ............................................................................................................................................................................................................[done]
( 7/12) Installing: php8-pdo-8.2.20-150600.3.3.1.x86_64 ................................................................................................................................................................................................................[done]
( 8/12) Installing: php8-sqlite-8.2.20-150600.3.3.1.x86_64 .............................................................................................................................................................................................................[done]
( 9/12) Installing: php8-tokenizer-8.2.20-150600.3.3.1.x86_64 ..........................................................................................................................................................................................................[done]
(10/12) Installing: php8-xmlreader-8.2.20-150600.3.3.1.x86_64 ..........................................................................................................................................................................................................[done]
(11/12) Installing: php8-xmlwriter-8.2.20-150600.3.3.1.x86_64 ..........................................................................................................................................................................................................[done]
(12/12) Installing: php8-imagick-3.7.0-bp156.4.5.x86_64 ................................................................................................................................................................................................................[done]
test@leaptest:~> 

Tried, guess it’s the URL except the trailing /x86_64/, but doing this I ran in the next, already solved dependency: I need also php8-APCu, and for this, from your mentioned repo yast “offers” to downgrade EVERYTHING from php 8.3 to 8.2

  • no :slight_smile:

REWRITE:
THANKS!
Downgraded from php 8.3 to 8.2, all fine now.
Nexcloud needs >= 8.1, no need for 8.3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.