Cannot upgrade to 4.0.4-39 (Resolved)

Bugs in eFa 4
Post Reply
Mail2GoCa
Posts: 31
Joined: 10 Oct 2018 09:11

Cannot upgrade to 4.0.4-39 (Resolved)

Post by Mail2GoCa »

When I try to upgrade eFa to 4.04-39 from 4.0.4-26, I get the following

Code: Select all

[XXXXX@efa ~]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirror.globo.tech
 * eFa4: dl7.efa-project.org
 * epel: mirrors.wcupa.edu
 * extras: centos.mirror.globo.tech
 * updates: centos.mirror.globo.tech
Resolving Dependencies
--> Running transaction check
---> Package MailScanner.noarch 0:5.4.2-3.eFa.el7 will be updated
---> Package MailScanner.noarch 0:5.4.5-1.eFa.el7 will be an update
---> Package eFa.noarch 1:4.0.4-26.eFa.el7 will be updated
---> Package eFa.noarch 1:4.0.4-39.eFa.el7 will be obsoleting
--> Processing Dependency: php74-gmp >= 7.4.28-1 for package: 1:eFa-4.0.4-39.eFa.el7.noarch
--> Processing Dependency: mariadb104-server >= 3:10.4.17-1 for package: 1:eFa-4.0.4-39.eFa.el7.noarch
--> Processing Dependency: mariadb104-libs >= 3:10.4.17-1 for package: 1:eFa-4.0.4-39.eFa.el7.noarch
--> Processing Dependency: mariadb104-errmsg >= 3:10.4.17-1 for package: 1:eFa-4.0.4-39.eFa.el7.noarch
--> Processing Dependency: mariadb104-common >= 3:10.4.17-1 for package: 1:eFa-4.0.4-39.eFa.el7.noarch
--> Processing Dependency: mariadb104 >= 3:10.4.17-1 for package: 1:eFa-4.0.4-39.eFa.el7.noarch
---> Package mariadb102.x86_64 3:10.2.30-1.el7.ius will be obsoleted
---> Package mariadb102-common.x86_64 3:10.2.30-1.el7.ius will be obsoleted
---> Package mariadb102-errmsg.x86_64 3:10.2.30-1.el7.ius will be obsoleted
---> Package mariadb102-libs.x86_64 3:10.2.30-1.el7.ius will be obsoleted
---> Package mariadb102-server.x86_64 3:10.2.30-1.el7.ius will be obsoleted
--> Running transaction check
---> Package eFa.noarch 1:4.0.4-39.eFa.el7 will be obsoleting
--> Processing Dependency: php74-gmp >= 7.4.28-1 for package: 1:eFa-4.0.4-39.eFa.el7.noarch
---> Package mariadb104.x86_64 3:10.4.25-1.el7.ius will be installed
---> Package mariadb104-common.x86_64 3:10.4.25-1.el7.ius will be installed
---> Package mariadb104-errmsg.x86_64 3:10.4.25-1.el7.ius will be installed
---> Package mariadb104-libs.x86_64 3:10.4.25-1.el7.ius will be installed
---> Package mariadb104-server.x86_64 3:10.4.25-1.el7.ius will be installed
--> Finished Dependency Resolution
Error: Package: 1:eFa-4.0.4-39.eFa.el7.noarch (eFa4)
           Requires: php74-gmp >= 7.4.28-1
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
When I try to install php74-gmp, I get the following

Code: Select all

[XXXXX@efa ~]#  yum install php74-gmp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirror.globo.tech
 * eFa4: dl7.efa-project.org
 * epel: mirrors.wcupa.edu
 * extras: centos.mirror.globo.tech
 * updates: centos.mirror.globo.tech
No package php74-gmp available.
Error: Nothing to do
All the previous repos (including ius, epel and efa4) are still in place and I have changed nothing.

Before I start digging and trying different solutions, I decided to search here, but was not able to find a solution that worked.

I'm running on the original CentOS 7 install as per documented install procedure.

I am hesitant to start experimenting because I'm not really in the mood for rabbit holes :)

Any assistance would be appreciated.

Thanks.

***************
Some additional info

Repos

Code: Select all

[XXXXX@efa ~]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirror.globo.tech
 * eFa4: dl7.efa-project.org
 * epel: mirrors.wcupa.edu
 * extras: centos.mirror.globo.tech
 * updates: centos.mirror.globo.tech
repo id                                               repo name                                                                           status
base/7/x86_64                                         CentOS-7 - Base                                                                     10,072
eFa4                                                  eFa-Project                                                                            168
epel/x86_64                                           Extra Packages for Enterprise Linux 7 - x86_64                                      13,744
extras/7/x86_64                                       CentOS-7 - Extras                                                                      515
ius/x86_64                                            IUS for Enterprise Linux 7 - x86_64                                                    185
updates/7/x86_64                                      CentOS-7 - Updates                                                                   4,691
repolist: 29,375
PHP Version

Code: Select all

[XXXXX@efa ~]# php -v
PHP 7.4.30 (cli) (built: Jun 10 2022 16:22:42) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
Installed PHP modules

Code: Select all

[XXXXX@efa ~]# yum list installed | grep -i php
mod_php74.x86_64                     7.4.30-1.el7.ius                  @ius
php74-cli.x86_64                     7.4.30-1.el7.ius                  @ius
php74-common.x86_64                  7.4.30-1.el7.ius                  @ius
php74-fpm.x86_64                     7.4.30-1.el7.ius                  @ius
php74-gd.x86_64                      7.4.30-1.el7.ius                  @ius
php74-json.x86_64                    7.4.30-1.el7.ius                  @ius
php74-ldap.x86_64                    7.4.30-1.el7.ius                  @ius
php74-mbstring.x86_64                7.4.30-1.el7.ius                  @ius
php74-mysqlnd.x86_64                 7.4.30-1.el7.ius                  @ius
php74-pdo.x86_64                     7.4.30-1.el7.ius                  @ius
php74-process.x86_64                 7.4.30-1.el7.ius                  @ius
php74-xml.x86_64                     7.4.30-1.el7.ius                  @ius
Last edited by Mail2GoCa on 11 Feb 2023 20:48, edited 1 time in total.
henk
Posts: 517
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

Re: Cannot upgrade to 4.0.4-39

Post by henk »

There's a post about that dependency issue, with solution ;)

viewtopic.php?t=5155
“We are stuck with technology when what we really want is just stuff that works.” -Douglas Adams
Mail2GoCa
Posts: 31
Joined: 10 Oct 2018 09:11

Re: Cannot upgrade to 4.0.4-39

Post by Mail2GoCa »

Thanks henk, but your solution was the first thing I tried. No luck. Same issue.
Mail2GoCa
Posts: 31
Joined: 10 Oct 2018 09:11

Re: Cannot upgrade to 4.0.4-39

Post by Mail2GoCa »

Problem resolved.

My local cache was not refreshing.

So here;s the fix.

1. Edit /etc/yum.repos.d/ius.repo by redirecting the url to archive
From:

Code: Select all

[ius]
name = IUS for Enterprise Linux 7 - $basearch
baseurl = https://repo.ius.io/7/$basearch/
enabled = 1
To:

Code: Select all

[ius]
name = IUS for Enterprise Linux 7 - $basearch
baseurl = https://repo.ius.io/archive/7/$basearch/
enabled = 1
2. Run

Code: Select all

yum clean all
3. Followed by

Code: Select all

yum update
4. And then

Code: Select all

yum install php74-gmp
Success

Code: Select all

[XXXXX@efa ~]# yum list installed |grep php74
mod_php74.x86_64                     7.4.33-1.el7.ius                  @ius
php74-cli.x86_64                     7.4.33-1.el7.ius                  @ius
php74-common.x86_64                  7.4.33-1.el7.ius                  @ius
php74-fpm.x86_64                     7.4.33-1.el7.ius                  @ius
php74-gd.x86_64                      7.4.33-1.el7.ius                  @ius
php74-gmp.x86_64                     7.4.33-1.el7.ius                  @ius
php74-json.x86_64                    7.4.33-1.el7.ius                  @ius
php74-ldap.x86_64                    7.4.33-1.el7.ius                  @ius
php74-mbstring.x86_64                7.4.33-1.el7.ius                  @ius
php74-mysqlnd.x86_64                 7.4.33-1.el7.ius                  @ius
php74-pdo.x86_64                     7.4.33-1.el7.ius                  @ius
php74-process.x86_64                 7.4.33-1.el7.ius                  @ius
php74-xml.x86_64                     7.4.33-1.el7.ius                  @ius
5. Re-edit /etc/yum.repos.d/ius.repo by redirecting the url to archive
From:

Code: Select all

[ius]
name = IUS for Enterprise Linux 7 - $basearch
baseurl = https://repo.ius.io/archive/7/$basearch/
enabled = 1
To:

Code: Select all

[ius]
name = IUS for Enterprise Linux 7 - $basearch
baseurl = https://repo.ius.io/7/$basearch/
enabled = 1
6. Run

Code: Select all

yum clean all
7. Followed by

Code: Select all

yum update
:whistle:
Post Reply