Page tree

Affected version(s): 7.10.6

Symptom

While trying to upgrade the middleware packages to 7.10.6-65 (hotfix-6280) or later the customer is confronted with the package manager either holding back upgrades or refusing to upgrade packages

Example Debian

root@dcf9fa1dd555:/etc/apt/sources.list.d# apt upgrade -s 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  open-xchange-pns-impl
The following packages will be upgraded:
  open-xchange-core open-xchange-hazelcast-community open-xchange-osgi open-xchange-system open-xchange-xerces
5 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

Example RedHat

[root@rh7 yum.repos.d]# yum upgrade
Resolving Dependencies
--> Running transaction check
---> Package open-xchange-core.noarch 0:7.10.6-58_58.1 will be updated
---> Package open-xchange-core.noarch 0:7.10.6-66_66.1 will be an update
---> Package open-xchange-hazelcast-community.noarch 0:7.10.6-58_58.1 will be updated
---> Package open-xchange-hazelcast-community.noarch 0:7.10.6-66_66.1 will be an update
---> Package open-xchange-osgi.noarch 0:7.10.6-58_58.1 will be updated
---> Package open-xchange-osgi.noarch 0:7.10.6-66_66.1 will be an update
---> Package open-xchange-pns-impl.noarch 0:7.10.6-58_58.1 will be updated
---> Package open-xchange-pns-impl.noarch 0:7.10.6-66_66.1 will be obsoleting
---> Package open-xchange-pns-mobile-api-facade.noarch 0:7.10.6-58_58.1 will be obsoleted
--> Processing Dependency: open-xchange-pns-mobile-api-facade >= 7.10.2 for package: open-xchange-mobile-api-facade-push-certificates-2.1.4-1.0_1.1.noarch
---> Package open-xchange-system.noarch 0:7.10.6-58_58.1 will be updated
---> Package open-xchange-system.noarch 0:7.10.6-66_66.1 will be an update
---> Package open-xchange-xerces.noarch 0:7.10.6-58_58.1 will be updated
---> Package open-xchange-xerces.noarch 0:7.10.6-66_66.1 will be an update
--> Finished Dependency Resolution
Error: Package: open-xchange-mobile-api-facade-push-certificates-2.1.4-1.0_1.1.noarch (@certs)
           Requires: open-xchange-pns-mobile-api-facade >= 7.10.2
           Removing: open-xchange-pns-mobile-api-facade-7.10.6-58_58.1.noarch (@be)
               open-xchange-pns-mobile-api-facade = 7.10.6-58_58.1
           Obsoleted By: open-xchange-pns-impl-7.10.6-66_66.1.noarch (be)
               Not found

Root Cause

The shutdown of Google Cloud Messaging (GCM) and move to its successor Firebase Cloud Messaging (FCM) as documented in our FCM Migration Guide made changes to our push notification components neccessary. While adjusting the still maintained components we decided to drop the component responsible for the push from middleware to Mail App clients which was delivered via the package open-xchange-pns-mobile-api-facade. We discontinued support for Mail App and the associated mobile-api-facade component in April 2023. While implementing the removal of open-xchange-pns-mobile-api-facade we failed to remove the dependency from the package open-xchange-mobile-api-facade-push-certificates.

Workaround

Example Debian

Simply use apt full-upgrade

root@dcf9fa1dd555:/etc/apt/sources.list.d# apt full-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  open-xchange-mobile-api-facade-push-certificates open-xchange-pns-mobile-api-facade
The following packages will be upgraded:
  open-xchange-core open-xchange-hazelcast-community open-xchange-osgi open-xchange-pns-impl open-xchange-system open-xchange-xerces
6 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.

Example RedHat

Simply remove the obsolete certificates package manually before upgrading

[root@rh7 yum.repos.d]# yum remove open-xchange-mobile-api-facade-push-certificates
Loaded plugins: search-disabled-repos
Resolving Dependencies
--> Running transaction check
---> Package open-xchange-mobile-api-facade-push-certificates.noarch 0:2.1.4-1.0_1.1 will be erased
--> Finished Dependency Resolution

Dependencies Resolved
...
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Erasing    : open-xchange-mobile-api-facade-push-certificates-2.1.4-1.0_1.1.noarch                                                                                                                                                                       1/1 
  Verifying  : open-xchange-mobile-api-facade-push-certificates-2.1.4-1.0_1.1.noarch                                                                                                                                                                       1/1 

Removed:
  open-xchange-mobile-api-facade-push-certificates.noarch 0:2.1.4-1.0_1.1                                                                                                                                                                                      

Complete!
[root@rh7 yum.repos.d]# yum upgrade
...
Dependencies Resolved

===============================================================================================================================================================================================================================================================
 Package                                                                         Arch                                                  Version                                                         Repository                                         Size
===============================================================================================================================================================================================================================================================
Installing:
 open-xchange-pns-impl                                                           noarch                                                7.10.6-66_66.1                                                  be                                                233 k
     replacing  open-xchange-pns-mobile-api-facade.noarch 7.10.6-58_58.1
Updating:
 open-xchange-core                                                               noarch                                                7.10.6-66_66.1                                                  be                                                104 M
 open-xchange-hazelcast-community                                                noarch                                                7.10.6-66_66.1                                                  be                                                 13 M
 open-xchange-osgi                                                               noarch                                                7.10.6-66_66.1                                                  be                                                 63 M
 open-xchange-system                                                             noarch                                                7.10.6-66_66.1                                                  be                                                 27 k
 open-xchange-xerces                                                             noarch                                                7.10.6-66_66.1                                                  be                                                1.7 M

Transaction Summary
===============================================================================================================================================================================================================================================================
Install  1 Package
Upgrade  5 Packages

Total download size: 182 M
Is this ok [y/d/N]:


Solution

See Workaround until associated Bug is investigated and fixed.

Tracked as Bug #2668

STATUS:Under investigation