VMware Cloud Director 10.6 upgrade fails with an error: "Failed dependencies"
book
Article ID: 372465
calendar_today
Updated On:
Products
VMware Cloud Director
Issue/Introduction
Upgrading VMware Cloud Director 10.4 / 10.5 to version 10.6 fails with an error: "Failed dependencies"
Following entries are seen under /opt/vmware/var/log/vami/updatecli.log:
error: Failed dependencies: libcrypto.so.1.0.0()(64bit) is needed by (installed) xml-security-c-1.7.3-4.ph2.x86_64 libssl.so.1.0.0()(64bit) is needed by (installed) xml-security-c-1.7.3-4.ph2.x86_64 05/07/2024 05:56:45 [ERROR] Failed with exit code 65024 05/07/2024 05:56:45 [INFO] Update status: Running post-install scripts Failed with status of 2 while installing version 10.6.0.11510
Environment
VMware Cloud Director for Service Provider 10.4.x
VMware Cloud Director for Service Provider 10.5.x
Cause
This issue occurs when the packages from earlier Photon OS upgrades are not properly cleaned up.
Photon OS 4.0 is included with VMware Cloud Director 10.6, while Photon OS 3.0 is used with versions 10.4 and 10.5.
Resolution
Do validate whether the package with name "xml-security-c-1.7.3-4.ph2.x86_64" exist on all the VMware Cloud Director Cells in the server group.
If the package exists, remove the same by following below steps on all cells:
In the event of upgrade fails, revert all the VMware Cloud Director cells to the snapshot.
Run the following command to verify if the package "xml-security-c-1.7.3-4.ph2.x86_64" exists in the cell:
rpm -qa | grep xml-security-c-1.7.3-4.ph2.x86_64
The output will be similar to this:
To remove the xml-security-c-1.7.3-4.ph2.x86_64 package, run the following command:
rpm -e xml-security-c-1.7.3-4.ph2.x86_64
Once the package is removed from all cells, re-initiate the upgrade