1

Topic: Issues with 'yum upgrade'

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: Oracle Linux v7.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL/MariaDB
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro?  No
- Related log if you're reporting an issue:

[robert@smtp ~]$ sudo yum update
Loaded plugins: fastestmirror, langpacks
SOGo                                                     |  951 B     00:00     
epel/x86_64/metalink                                     |  11 kB     00:00     
epel                                                     | 4.3 kB     00:00     
gf                                                       | 2.9 kB     00:00     
iRedMail                                                 | 2.9 kB     00:00     
ol7_UEKR3                                                | 1.2 kB     00:00     
ol7_latest                                               | 1.4 kB     00:00     
(1/5): epel/x86_64/group_gz                                | 169 kB   00:00     
(2/5): gf/x86_64/primary_db                                |  56 kB   00:00     
(3/5): iRedMail/primary_db                                 |  22 kB   00:00     
(4/5): epel/x86_64/updateinfo                              | 511 kB   00:01     
(5/5): epel/x86_64/primary_db                              | 3.9 MB   00:03     
(1/6): ol7_UEKR3/x86_64/updateinfo                         |  61 kB   00:00     
(2/6): SOGo/x86_64/primary                                 |  49 kB   00:00     
(3/6): ol7_latest/x86_64/group                             | 681 kB   00:01     
(4/6): ol7_latest/x86_64/updateinfo                        | 789 kB   00:02     
(5/6): ol7_latest/x86_64/primary                           |  15 MB   00:13     
(6/6): ol7_UEKR3/x86_64/primary                            |  17 MB   00:15     
Determining fastest mirrors
* epel: mirrors.rit.edu
SOGo                                                                    351/351
ol7_UEKR3                                                               399/399
ol7_latest                                                          13876/13876
Resolving Dependencies
--> Running transaction check
---> Package php-cli.x86_64 0:5.4.16-36.el7_1 will be updated
---> Package php-cli.x86_64 0:5.4.16-36.0.1.el7_1 will be an update
---> Package php-common.x86_64 0:5.4.16-36.el7_1 will be updated
--> Processing Dependency: php-common(x86-64) = 5.4.16-36.el7_1 for package: php-intl-5.4.16-36.el7_1.x86_64
--> Processing Dependency: php-common(x86-64) = 5.4.16-36.el7_1 for package: php-mbstring-5.4.16-36.el7_1.x86_64
--> Processing Dependency: php-common(x86-64) = 5.4.16-36.el7_1 for package: php-fpm-5.4.16-36.el7_1.x86_64
---> Package php-common.x86_64 0:5.4.16-36.0.1.el7_1 will be an update
---> Package php-gd.x86_64 0:5.4.16-36.el7_1 will be updated
---> Package php-gd.x86_64 0:5.4.16-36.0.1.el7_1 will be an update
---> Package php-ldap.x86_64 0:5.4.16-36.el7_1 will be updated
---> Package php-ldap.x86_64 0:5.4.16-36.0.1.el7_1 will be an update
---> Package php-mysql.x86_64 0:5.4.16-36.el7_1 will be updated
---> Package php-mysql.x86_64 0:5.4.16-36.0.1.el7_1 will be an update
---> Package php-pdo.x86_64 0:5.4.16-36.el7_1 will be updated
---> Package php-pdo.x86_64 0:5.4.16-36.0.1.el7_1 will be an update
---> Package php-pgsql.x86_64 0:5.4.16-36.el7_1 will be updated
---> Package php-pgsql.x86_64 0:5.4.16-36.0.1.el7_1 will be an update
---> Package php-process.x86_64 0:5.4.16-36.el7_1 will be updated
---> Package php-process.x86_64 0:5.4.16-36.0.1.el7_1 will be an update
---> Package php-xml.x86_64 0:5.4.16-36.el7_1 will be updated
---> Package php-xml.x86_64 0:5.4.16-36.0.1.el7_1 will be an update
--> Finished Dependency Resolution
Error: Package: php-intl-5.4.16-36.el7_1.x86_64 (@base/7)
           Requires: php-common(x86-64) = 5.4.16-36.el7_1
           Removing: php-common-5.4.16-36.el7_1.x86_64 (@base/7)
               php-common(x86-64) = 5.4.16-36.el7_1
           Updated By: php-common-5.4.16-36.0.1.el7_1.x86_64 (ol7_latest)
               php-common(x86-64) = 5.4.16-36.0.1.el7_1
           Available: php-common-5.4.16-21.el7.x86_64 (ol7_latest)
               php-common(x86-64) = 5.4.16-21.el7
           Available: php-common-5.4.16-23.el7_0.x86_64 (ol7_latest)
               php-common(x86-64) = 5.4.16-23.el7_0
           Available: php-common-5.4.16-23.el7_0.1.x86_64 (ol7_latest)
               php-common(x86-64) = 5.4.16-23.el7_0.1
           Available: php-common-5.4.16-23.el7_0.3.x86_64 (ol7_latest)
               php-common(x86-64) = 5.4.16-23.el7_0.3
Error: Package: php-fpm-5.4.16-36.el7_1.x86_64 (@base/7)
           Requires: php-common(x86-64) = 5.4.16-36.el7_1
           Removing: php-common-5.4.16-36.el7_1.x86_64 (@base/7)
               php-common(x86-64) = 5.4.16-36.el7_1
           Updated By: php-common-5.4.16-36.0.1.el7_1.x86_64 (ol7_latest)
               php-common(x86-64) = 5.4.16-36.0.1.el7_1
           Available: php-common-5.4.16-21.el7.x86_64 (ol7_latest)
               php-common(x86-64) = 5.4.16-21.el7
           Available: php-common-5.4.16-23.el7_0.x86_64 (ol7_latest)
               php-common(x86-64) = 5.4.16-23.el7_0
           Available: php-common-5.4.16-23.el7_0.1.x86_64 (ol7_latest)
               php-common(x86-64) = 5.4.16-23.el7_0.1
           Available: php-common-5.4.16-23.el7_0.3.x86_64 (ol7_latest)
               php-common(x86-64) = 5.4.16-23.el7_0.3
Error: Package: php-mbstring-5.4.16-36.el7_1.x86_64 (@base/7)
           Requires: php-common(x86-64) = 5.4.16-36.el7_1
           Removing: php-common-5.4.16-36.el7_1.x86_64 (@base/7)
               php-common(x86-64) = 5.4.16-36.el7_1
           Updated By: php-common-5.4.16-36.0.1.el7_1.x86_64 (ol7_latest)
               php-common(x86-64) = 5.4.16-36.0.1.el7_1
           Available: php-common-5.4.16-21.el7.x86_64 (ol7_latest)
               php-common(x86-64) = 5.4.16-21.el7
           Available: php-common-5.4.16-23.el7_0.x86_64 (ol7_latest)
               php-common(x86-64) = 5.4.16-23.el7_0
           Available: php-common-5.4.16-23.el7_0.1.x86_64 (ol7_latest)
               php-common(x86-64) = 5.4.16-23.el7_0.1
           Available: php-common-5.4.16-23.el7_0.3.x86_64 (ol7_latest)
               php-common(x86-64) = 5.4.16-23.el7_0.3
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
====

I was wondering if anyone has had this problem before and if so, how it was fixed?  I would hate to run the "you could try running..." suggestions, but do not want to break an otherwise perfectly functioning mail server.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Issues with 'yum upgrade'

robert.wolfe wrote:

$ sudo yum update
Loaded plugins: fastestmirror, langpacks
SOGo                                                     |  951 B     00:00     
epel/x86_64/metalink                                     |  11 kB     00:00     
epel                                                     | 4.3 kB     00:00     
gf                                                       | 2.9 kB     00:00     
iRedMail                                                 | 2.9 kB     00:00     
ol7_UEKR3                                                | 1.2 kB     00:00     
ol7_latest                                               | 1.4 kB     00:00     

Package conflict caused by different yum repos.

Try to disable gf, ol7_UEKR3, ol7_latest and try again.

3

Re: Issues with 'yum upgrade'

ZhangHuangbin wrote:
robert.wolfe wrote:

$ sudo yum update
Loaded plugins: fastestmirror, langpacks
SOGo                                                     |  951 B     00:00     
epel/x86_64/metalink                                     |  11 kB     00:00     
epel                                                     | 4.3 kB     00:00     
gf                                                       | 2.9 kB     00:00     
iRedMail                                                 | 2.9 kB     00:00     
ol7_UEKR3                                                | 1.2 kB     00:00     
ol7_latest                                               | 1.4 kB     00:00     

Package conflict caused by different yum repos.

Try to disable gf, ol7_UEKR3, ol7_latest and try again.

Yeah, disabling the ol7_* repos is not an option as those are the distro's own update repos (OL7 = Oracle Linux 7).  The gf (GhettoForge) repo and I can try and disable and see if that helps.