Orchestrator upgrade fails with failed package dependencies error
search cancel

Orchestrator upgrade fails with failed package dependencies error

book

Article ID: 314862

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
  • Upgrading Orchestrator fails with:  VAMI exiting with error code: 1.
  • The /opt/vmware/var/log/vami/updatecli.log contains a package dependency error similar to:
10/11/2023 07:09:16 [INFO] Update status: Running installation tests
10/11/2023 07:09:16 [INFO] Running /opt/vmware/var/lib/vami/update/data/job/2/test_command
warning: /opt/vmware/var/lib/vami/update/data/package-pool/package-pool/VMware-Log-Insight-Agent-8.10.2-21113573.noarch.rpm: 
Header V3 RSA/SHA1 Signature, key ID fdf4dc95: NOKEY
error: Failed dependencies:
        libevent-2.1.so.6()(64bit) is needed by (installed) nfs-utils-2.3.3-2.ph3.x86_64
10/11/2023 07:09:17 [ERROR] Failed with exit code 40704


Environment

VMware vRealize Orchestrator 8.x

Cause

This error can occur when additional packages are installed in the Orchestrator appliance. In the sample logfile extract provided above it is the NFS util package which is preventing the upgrade but this package name may vary.

Note that this approach is not supported. As per KB 2090839 VMware best practise dictates that you do not install any additional packages on the appliances

Resolution

To resolve the issue remove any additionally installed packages that do not come packaged with the appliance and retry the upgrade.

To validate whether or not a package is included as standard a new Orchestrator appliance can be deployed on the same version and the rpm query can be leveraged:

rpm -qa |grep <packagename>

So for the example provided above:

rpm -qa |grep nfs-utils