Yum Update fails to update the system files

This is a new install of FreePBX V.14.0.5.2 (around 2 months old) and is installed on a Citrix 7.5 virtual machine, FreePBX has been running well. I am able to update modules without issues but when I ran ‘yum update’ to update the system files I get the following. I need some advice on how to proceed, has anyone has experienced this. I think that it’s saying that the MySQL version is obsolete, should I upgrade MySQL or would that cause more issues?

______                   ______ ______ __   __
|  ___|                  | ___ \| ___ \\ \ / /
| |_    _ __   ___   ___ | |_/ /| |_/ / \ V /
|  _|  | '__| / _ \ / _ \|  __/ | ___ \ /   \
| |    | |   |  __/|  __/| |    | |_/ // /^\ \
\_|    |_|    \___| \___|\_|    \____/ \/   \/

Current Network Configuration
+-----------+-------------------+--------------------------+
| Interface | MAC Address       | IP Addresses             |
+-----------+-------------------+--------------------------+
| eth0      | 8A:1A:B2:F0:08:85 | 192.168.0.11             |
|           |                   | fe80::881a:b2ff:fef0:885 |
| eth1      | 96:D2:27:14:88:0A |                          |
| eth2      | 8A:AB:ED:25:36:76 |                          |
| eth3      | FE:81:9D:3F:45:C2 |                          |
+-----------+-------------------+--------------------------+

Please note most tasks should be handled through the GUI.
You can access the GUI by typing one of the above IPs in to your web browser.
For support please visit:
    http://www.freepbx.org/support-and-professional-services

+------------------------------------------------------------+
| There are 14 System updates available.                     |
|   Run yum update to update them.                           |
| Your PBX is up to date.                                    |
|   Also 3 Uninstalled modules.                              |
+------------------------------------------------------------+
[root@freepbx ~]# yum update
Loaded plugins: fastestmirror, versionlock
Loading mirror speeds from cached hostfile
 * sng-base: package1.sangoma.net
Resolving Dependencies
--> Running transaction check
---> Package asterisk13.x86_64 0:13.22.0-1.sng7 will be updated
---> Package asterisk13.x86_64 0:13.23.1-1.shmz65.1.204 will be an update
--> Processing Dependency: asterisk-sounds-core-en-gsm for package: asterisk13-13.23.1-1.shmz65.1.204.x86_64
---> Package asterisk13-addons.x86_64 0:13.22.0-1.sng7 will be updated
---> Package asterisk13-addons.x86_64 0:13.23.1-1.shmz65.1.204 will be an update
---> Package asterisk13-addons-bluetooth.x86_64 0:13.22.0-1.sng7 will be updated
---> Package asterisk13-addons-bluetooth.x86_64 0:13.23.1-1.shmz65.1.204 will be an update
---> Package asterisk13-addons-core.x86_64 0:13.22.0-1.sng7 will be updated
---> Package asterisk13-addons-core.x86_64 0:13.23.1-1.shmz65.1.204 will be an update
---> Package asterisk13-addons-mysql.x86_64 0:13.22.0-1.sng7 will be updated
---> Package asterisk13-addons-mysql.x86_64 0:13.23.1-1.shmz65.1.204 will be an update
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: asterisk13-addons-mysql-13.23.1-1.shmz65.1.204.x86_64
Package mysql-libs-5.1.73-5.el6_6.x86_64 is obsoleted by 1:mariadb-libs-5.5.56-2.el7.x86_64 which is already installed
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: asterisk13-addons-mysql-13.23.1-1.shmz65.1.204.x86_64
Package mysql-libs-5.1.73-5.el6_6.x86_64 is obsoleted by 1:mariadb-libs-5.5.56-2.el7.x86_64 which is already installed
---> Package asterisk13-addons-ooh323.x86_64 0:13.22.0-1.sng7 will be updated
---> Package asterisk13-addons-ooh323.x86_64 0:13.23.1-1.shmz65.1.204 will be an update
---> Package asterisk13-core.x86_64 0:13.22.0-1.sng7 will be updated
---> Package asterisk13-core.x86_64 0:13.23.1-1.shmz65.1.204 will be an update
--> Processing Dependency: libtiff.so.3()(64bit) for package: asterisk13-core-13.23.1-1.shmz65.1.204.x86_64
--> Processing Dependency: libical.so.0()(64bit) for package: asterisk13-core-13.23.1-1.shmz65.1.204.x86_64
---> Package asterisk13-curl.x86_64 0:13.22.0-1.sng7 will be updated
---> Package asterisk13-curl.x86_64 0:13.23.1-1.shmz65.1.204 will be an update
---> Package asterisk13-dahdi.x86_64 0:13.22.0-1.sng7 will be updated
---> Package asterisk13-dahdi.x86_64 0:13.23.1-1.shmz65.1.204 will be an update
---> Package asterisk13-doc.x86_64 0:13.22.0-1.sng7 will be updated
---> Package asterisk13-doc.x86_64 0:13.23.1-1.shmz65.1.204 will be an update
---> Package asterisk13-odbc.x86_64 0:13.22.0-1.sng7 will be updated
---> Package asterisk13-odbc.x86_64 0:13.23.1-1.shmz65.1.204 will be an update
---> Package asterisk13-ogg.x86_64 0:13.22.0-1.sng7 will be updated
---> Package asterisk13-ogg.x86_64 0:13.23.1-1.shmz65.1.204 will be an update
---> Package asterisk13-resample.x86_64 0:13.22.0-1.sng7 will be updated
---> Package asterisk13-resample.x86_64 0:13.23.1-1.shmz65.1.204 will be an update
---> Package asterisk13-voicemail.x86_64 0:13.22.0-1.sng7 will be updated
---> Package asterisk13-voicemail.x86_64 0:13.23.1-1.shmz65.1.204 will be an update
--> Running transaction check
---> Package asterisk-sounds-core-en-gsm.noarch 0:1.4.25-94_centos5 will be installed
---> Package asterisk13-addons-mysql.x86_64 0:13.23.1-1.shmz65.1.204 will be an update
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: asterisk13-addons-mysql-13.23.1-1.shmz65.1.204.x86_64
Package mysql-libs-5.1.73-5.el6_6.x86_64 is obsoleted by 1:mariadb-libs-5.5.56-2.el7.x86_64 which is already installed
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: asterisk13-addons-mysql-13.23.1-1.shmz65.1.204.x86_64
Package mysql-libs-5.1.73-5.el6_6.x86_64 is obsoleted by 1:mariadb-libs-5.5.56-2.el7.x86_64 which is already installed
---> Package asterisk13-core.x86_64 0:13.23.1-1.shmz65.1.204 will be an update
--> Processing Dependency: libical.so.0()(64bit) for package: asterisk13-core-13.23.1-1.shmz65.1.204.x86_64
---> Package compat-libtiff3.x86_64 0:3.9.4-11.el7 will be installed
--> Finished Dependency Resolution
Error: Package: asterisk13-addons-mysql-13.23.1-1.shmz65.1.204.x86_64 (pbx)
           Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)
           Available: mysql-libs-5.1.73-3.el6_5.x86_64 (base)
               libmysqlclient.so.16(libmysqlclient_16)(64bit)
           Available: mysql-libs-5.1.73-5.el6_6.x86_64 (updates)
               libmysqlclient.so.16(libmysqlclient_16)(64bit)
Error: Package: asterisk13-addons-mysql-13.23.1-1.shmz65.1.204.x86_64 (pbx)
           Requires: libmysqlclient.so.16()(64bit)
           Available: mysql-libs-5.1.73-3.el6_5.x86_64 (base)
               libmysqlclient.so.16()(64bit)
           Available: mysql-libs-5.1.73-5.el6_6.x86_64 (updates)
               libmysqlclient.so.16()(64bit)
Error: Package: asterisk13-core-13.23.1-1.shmz65.1.204.x86_64 (pbx)
           Requires: libical.so.0()(64bit)
           Available: libical-0.43-6.el6.x86_64 (base)
               libical.so.0()(64bit)
           Installed: libical-1.0.1-1.el7.x86_64 (@anaconda/1805)
              ~libical.so.1()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@freepbx ~]#

I beg to differ on “this is a new install”. This is an upgrade from shmz65 to sng7. The SNG7 yum repos sit on an entirely different server from shmz65 so there’s no way you could have accidentally gotten both.

The only way to fix this botched system is a complete reinstall using the SNG7 iso from freepbx.org.

In fact I’m an going one step further and thinking that your repos got replaced entirely as shmz65 is trying to replace sng7 packages.

1 Like

Hi Andrew

That is possibly correct. I installed FreePBX on the Citrix box from the (latest at the time) FreePBX ISO and had it running for around 6 to 8 weeks while making sure that it would run OK and was accessable. Our old FreePBX server failed suddenly and the business that provides our phone trunks stepped in and transferred the data from our old machine onto this new server from the old backups (got us up and running quickly, but apparently there is a cost that I am only becoming aware of now).

If we are to reinstall FreePBX from start, will a backup from this machine be able to be restored on the new install or would the backup either fail or again cause the same issues that I am experiencing now?

Your old machine does not appear to be a FreePBX 14.
You would need a new install of the same version as your old PBX, and then restore the backup.

Once you got that working, you have two ways of moving your machine to current.

  1. Using the upgrade script.
  2. Building another new VM with FreePBX 14 and using the conversion tool.

I would suggest using the 2nd option, since there isn’t really anything that can go wrong, because it does not make any changes to the donor.
Once you confirm that everything is working on the new machine, you just swap IP between the machines and everything should be working fine.

Note: the conversion tool doea but copy over custom stuff like, scripts, MOH, recordings etc.
There’s plenty posts here how to do it, it’s just 3 more commands.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.