Upgrade to VMware Cloud Director 10.6.1 GA fails with error regarding Failed dependencies
search cancel

Upgrade to VMware Cloud Director 10.6.1 GA fails with error regarding Failed dependencies

book

Article ID: 390150

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

While trying to perform an upgrade of VMware Cloud Director to version 10.6.1 from VMware Cloud Director 10.5.1, error is received related to the below dependencies.

/opt/likewise/bin/domainjoin-cli: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
/opt/likewise/bin/domainjoin-cli: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
/opt/likewise/bin/lwsm: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
Removed /etc/systemd/system/multi-user.target.wants/lwsmd.service.
Removing /opt/vmware/vcloud-director/etc/truststore.pem
02/03/2025 13:25:49 [INFO] Update status: Done pre-install scripts
02/03/2025 13:25:49 [INFO] Update status: Running installation tests
02/03/2025 13:25:49 [INFO] Running /opt/vmware/var/lib/vami/update/data/job/36/test_command 
warning: /opt/vmware/var/lib/vami/update/data/package-pool/package-pool/Linux-PAM-1.5.3-3.ph4.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 8a6a826d: NOKEY
warning: /opt/vmware/var/lib/vami/update/data/package-pool/package-pool/vmware-vcloud-distribution-ovascripts-10.6.1-24532678.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 530c79e6: NOKEY
error: Failed dependencies:
        libffi.so.6()(64bit) is needed by (installed) json-glib-1.2.8-1.ph2.x86_64
02/03/2025 13:25:50 [ERROR] Failed with exit code 65024

Environment

VMware Cloud Director 10.5.1
VMware Cloud Director 10.6.1

Cause

json-glib-1.2.8-1.ph2.x86_64 package is installed in the VMware Cloud Director infrastructure. This package is causing the upgrade to fail.

Resolution

  1. Please check if the above package is installed in the environment by executing the command

    rpm -qa | grep json-glib

  2. If the above package is available, remove the package by executing the below command

    rpm -e json-glib-1.2.8-1.ph2.x86_64

  3. Once the package is removed, proceed with the upgrade. 

Please note there is another photon OS 2.0 package that might be causing the upgrade issue too. Please refer to this kb: Upgrade to VCD 10.6 GA fails with error regarding Failed dependencies. in case you run into other dependency issue while upgrade of VMware Cloud Director appliance.