remicollet / remirepo

Issue tracker for

Home Page:https://rpms.remirepo.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update issues php74-php-gd.x86_64 / gd3php-2.3.3-4.el8.remi.x86_64

DaveDrupsteen opened this issue · comments

Hi,

During a yum update action on various servers that utilize php74-php-gd we get a dependency error

Error:
 Problem: cannot install the best update candidate for package gd3php-2.3.3-4.el8.remi.x86_64
  - nothing provides libavif.so.14()(64bit) needed by gd3php-2.3.3-8.el8.remi.x86_64

It seems that there is no package that provides this libavif.so.
It is unclear if we are missing a repository that provides this package or if the php74-php-gd package is "broken". We are using the @remi-safe repository.

Thanks in advance.

# dnf whatprovides 'libavif.so.14()(64bit)'
Last metadata expiration check: 1:49:43 ago on Wed Aug  3 09:42:48 2022.
libavif-0.10.1-3.el8.x86_64 : Library for encoding and decoding .avif files
Repo        : @System
Matched from:
Provide    : libavif.so.14()(64bit)

libavif-0.10.1-3.el8.x86_64 : Library for encoding and decoding .avif files
Repo        : epel
Matched from:
Provide    : libavif.so.14()(64bit)

So you need EPEL, which is mandatory for my repository.

I just added EPEL and still get an error.

yum repolist
This system is receiving updates from Spacewalk server.
repo id                                                                                                                               repo name
ol8_UEKR6                                                                                                                             Latest Unbreakable Enterprise Kernel Release 6 for Oracle Linux 8 (x86_64)
ol8_developer_EPEL                                                                                                                    Oracle Linux 8 EPEL Packages for Development (x86_64)
ol8_developer_EPEL_modular                                                                                                            Oracle Linux 8 EPEL Modular Packages for Development (x86_64)
oracle8_appstream                                                                                                                     Oracle8 Appstream (x86_64)
oracle8_baseos                                                                                                                        Oracle 8  (x86_64)
oracle8_codeready                                                                                                                     Oracle8 Codeready (x86_64)
oracle8_epel                                                                                                                          Oracle8 EPEL (x86_64)
oracle8_uekr6                                                                                                                         Oracle8 UEKR6 (x86_64)
remi-safe                                                                                                                             remi_safe (x86_64)
zabbix44

These are our configured repositories.
We are using Oracle Linux Server release 8.6 and still no libavif package.

Even when using a vagrant box, I still get no libavif.so.
When looking through https://yum.oracle.com/repo/OracleLinux/OL8/developer/EPEL/x86_64/index.html & https://yum.oracle.com/repo/OracleLinux/OL8/developer/EPEL/modular/x86_64/ it seems the package is not there.
But that is not a REMI issue but an EPEL issue then.

oracle8_epel is obviously broken.
use the official one.
Or report this to Oracle

Sorry, but obviously not a repository issue, seems you choose the worst clone...

You are absolutely right. Thanks for pointing me in the right direction!

Thank you. Finally, I was able to solve the problem. It took me 3 days :(

Here's a guide for someone who is a newbie like me.
oracle epel repository has issue.
install another epel

dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

then try to install php-gd

dnf install php-gd