robb
(Rob Bosch)
1
NethServer Version: 7.9
Module: update
I am receiving mails about error when updating NS7:
Subject: Yum: Failed to check for updates on [servername]
Failed to check for updates with the following error message:
Failed to build transaction: php56-php-gd-5.6.35-1.el7.remi.x86_64 requires libgd.so.3()(64bit)
php70-php-gd-7.0.29-1.el7.remi.x86_64 requires libgd.so.3()(64bit)
php72-php-gd-7.2.4-1.el7.remi.x86_64 requires gd-last(x86-64) >= 2.1.1
php72-php-gd-7.2.4-1.el7.remi.x86_64 requires libgd.so.3()(64bit)
php70-php-gd-7.0.29-1.el7.remi.x86_64 requires gd-last(x86-64) >= 2.1.1
php71-php-gd-7.1.16-1.el7.remi.x86_64 requires libgd.so.3()(64bit)
php71-php-gd-7.1.16-1.el7.remi.x86_64 requires gd-last(x86-64) >= 2.1.1
php56-php-gd-5.6.35-1.el7.remi.x86_64 requires gd-last(x86-64) >= 2.1.1
any ideas how to troubleshoot?
dnutan
(Marc)
2
check if remi.repo is enabled
Andy_Wismer
(André Wismer)
3
Hi
Had the same issue on a clients server…
It was due to some leftover, older code for Remi…
These have been replaced for PHP 7.4, PHP 8.0 with different sources.
Solution:
yum remove php56-php-gd -y
yum remove php70-php-gd -y
yum remove php71-php-gd -y
yum remove php72-php-gd -y
yum remove php73-php-gd -y
yum clean all
After this, the update will work - via web or via console.
My 2 cents
Andy
2 Likes
dnutan
(Marc)
4
maybe from the virtual hosts from the old server manager that managed different source for php versions.
Andy_Wismer
(André Wismer)
5
yes, these were - in some form - due to the older Server-Manager…
And maybe also from Nextcloud (Installed with Servermanager).
My 2 cents
Andy
robb
(Rob Bosch)
6
Thnx Andy, that solved it for me
1 Like