During the Patch installation to address CSP-99024 the installation gets stuck at "Updating RPM" with VMware Identity Manager Node
search cancel

During the Patch installation to address CSP-99024 the installation gets stuck at "Updating RPM" with VMware Identity Manager Node

book

Article ID: 401995

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

While installing patch CSP-99024 on the VMware Identity Manager node, the process appears to hang during the "updating RPM" step, preventing successful patch deployment. 

CSP-99024: Patch instructions to upgrade Photon-OS Libraries

Environment

VMware Identity Manager 3.3.X

Cause

The RPM update process is stalled due to a lock on the RPM database, resulting from a previously interrupted or forcefully terminated patch installation attempt.

Resolution

To resolve this issue,  remove the lock on the RPM database by following these steps:

  1. Login as sshuser, sudo to root level access to VMware Identity Manager node.
  2. Navigate to the RPM database directory:

    cd /var/lib/rpm

  3. Check for RPM database lock files:

    Note: Lock files naming format looks like "__db.001"

    ls -ltrh __db.00*

  4. Remove the lock files:

    rm -f __db.00*

  5. Rebuild the RPM database:

    rpm --rebuilddb

After following the above procedure, the patch installation should now complete successfully without any further issues.