[CentOS7.9]Obsoleted By: gd3php-2.3.3-7.el7.remi.x86_64エラーの解決方法

環境
# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)

エラー現象
yum updateアップデート作業を行うと以下のエラーが発生しました。

# yum update
Loaded plugins: langpacks
Resolving Dependencies
--> Running transaction check
---> Package gd-last.x86_64 0:2.3.3-2.el7.remi will be obsoleted
--> Processing Dependency: gd-last(x86-64) >= 2.1.1 for package: php-gd-5.6.40-15.el7.remi.x86_64
--> Processing Dependency: libgd.so.3()(64bit) for package: php-gd-5.6.40-15.el7.remi.x86_64
---> Package gd3php.x86_64 0:2.3.3-7.el7.remi will be obsoleting
--> Finished Dependency Resolution
Error: Package: php-gd-5.6.40-15.el7.remi.x86_64 (@remi-php56)
           Requires: gd-last(x86-64) >= 2.1.1
           Removing: gd-last-2.3.3-2.el7.remi.x86_64 (@remi-safe)
               gd-last(x86-64) = 2.3.3-2.el7.remi
           Obsoleted By: gd3php-2.3.3-7.el7.remi.x86_64 (remi-safe)
               Not found
Error: Package: php-gd-5.6.40-15.el7.remi.x86_64 (@remi-php56)
           Requires: libgd.so.3()(64bit)
           Removing: gd-last-2.3.3-2.el7.remi.x86_64 (@remi-safe)
               libgd.so.3()(64bit)
           Obsoleted By: gd3php-2.3.3-7.el7.remi.x86_64 (remi-safe)
              ~libgd.so.103()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

解決方法

# yum --enablerepo=remi-php56 install php-gd

 

CentOS 7

Posted by arkgame