When upgrading I git No package php70-imap available.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
btayl
Posts: 131
Joined: Mon Aug 24, 2020 8:51 am

When upgrading I git No package php70-imap available.

Post by btayl »

When I ma upgrading to the latest version I get No package php70-imap available.

Proceeding with upgrade...
Nagios XI Upgrade Log
==========================
DATE: Mon Dec 14 13:05:48 EST 2020

DISTRO INFO:
CentOS
7.8.2003
x86_64


Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.7.2.lin
Sourceguardian extension found for PHP version 7.2
Sourceguardian extension already in php.ini
Checking required prereqs...
Please wait...

OLD VERSION: 5704
Loaded plugins: changelog, fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.sesp.northwestern.edu
* centos-sclo-rh: mirrors.usinternet.com
* centos-sclo-sclo: bay.uchicago.edu
* extras: centos.mirrors.tds.net
* remi-php72: mirror.pit.teraswitch.com
* remi-safe: mirror.pit.teraswitch.com
* updates: linux-mirrors.fnal.gov
No packages marked for update
Loaded plugins: changelog, fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.sesp.northwestern.edu
* centos-sclo-rh: mirror.genesishosting.com
* centos-sclo-sclo: bay.uchicago.edu
* extras: centos.mirrors.tds.net
* remi-php72: mirror.pit.teraswitch.com
* remi-safe: mirror.pit.teraswitch.com
* updates: linux-mirrors.fnal.gov
No package php70-imap available.
[root@nagios-va-ts1a nagiosxi]#
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: When upgrading I git No package php70-imap available.

Post by dchurch »

It's running into issues when it's encountering this line (upgrade:301):

Code: Select all

yum install `yum list installed php*common* | grep php | awk -F "-" {'print $1'} | tail -1`-imap -y
Which basically tries to install php70-imap which fails because no such package exists.

Can you post the output from the following command so we can diagnose further?

Code: Select all

rpm -qa |grep php
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
btayl
Posts: 131
Joined: Mon Aug 24, 2020 8:51 am

Re: When upgrading I git No package php70-imap available.

Post by btayl »

[root@nagios-va-ts1a AIX]# rpm -qa |grep php
php-xml-7.2.34-1.el7.remi.x86_64
php-mbstring-7.2.34-1.el7.remi.x86_64
php-imap-7.2.34-1.el7.remi.x86_64
php70-runtime-2.0-1.el7.remi.x86_64
php-pdo-7.2.34-1.el7.remi.x86_64
php-pear-1.10.12-2.el7.remi.noarch
php-pecl-ssh2-1.2-1.el7.remi.7.2.x86_64
php-opcache-7.2.34-1.el7.remi.x86_64
php70-php-smbclient-1.0.0-1.el7.remi.x86_64
php-pdo-dblib-7.2.34-1.el7.remi.x86_64
php-cli-7.2.34-1.el7.remi.x86_64
php-fedora-autoloader-1.0.1-2.el7.noarch
php-devel-7.2.34-1.el7.remi.x86_64
php-7.2.34-1.el7.remi.x86_64
php-snmp-7.2.34-1.el7.remi.x86_64
php70-php-common-7.0.33-23.el7.remi.x86_64
php-common-7.2.34-1.el7.remi.x86_64
php-process-7.2.34-1.el7.remi.x86_64
php-gd-7.2.34-1.el7.remi.x86_64
php-mysqlnd-7.2.34-1.el7.remi.x86_64
php-ldap-7.2.34-1.el7.remi.x86_64
php70-php-json-7.0.33-23.el7.remi.x86_64
php-json-7.2.34-1.el7.remi.x86_64
php-pgsql-7.2.34-1.el7.remi.x86_64
oniguruma5php-6.9.5+rev1-4.el7.remi.x86_64
php-odbc-7.2.34-1.el7.remi.x86_64
[root@nagios-va-ts1a AIX]#
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: When upgrading I git No package php70-imap available.

Post by ssax »

You have multiple versions of PHP installed, please run these commands to fix your system:

Code: Select all

yum remove 'php70-*'  # Make sure this is ONLY removing those php70- packages before approving the change
service httpd restart
If you continue to have issues, run through this again after performing the steps above:

https://support.nagios.com/kb/article/n ... 7-860.html
btayl
Posts: 131
Joined: Mon Aug 24, 2020 8:51 am

Re: When upgrading I git No package php70-imap available.

Post by btayl »

That Did the trick. I did have to reinstall php.
Thanks
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: When upgrading I git No package php70-imap available.

Post by scottwilkerson »

btayl wrote:That Did the trick. I did have to reinstall php.
Thanks
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked