VMware:- When updating VCSA getting the error Test RPM transaction failed


I was updating my environment to vCenter Server 7.0 U3p, while going through the process I got this error that says “Test RPM transaction failed”. Below is the screenshot of the error. if you click “resume” you then, unfortunately, get stuck in an infinite loop. The only way to get out of the loop is by removing a file via SSH on vCSA called “/etc/applmgmt/appliance/software_update_state.conf”.

We resolved it as follows,

rm /etc/applmgmt/appliance/software_update_state.conf

Then we rebooted the VCSA:

reboot

Attach the VMware-vCenter-Server-Appliance-"xxxxxx".iso file to the vCenter Server CD or DVD drive.
Then we went into the appliance shell via SSH and ran the installer from the appliance:

appliancesh

To stage the ISO:
software-packages stage --iso

To see the staged content:
software-packages list --staged

To install the staged rpms:
software-packages install --staged

After which the installation was completed correctly.

Comments

Popular posts from this blog

VMware:- Esxi Log File Locations

ESX and vCenter Alarms

Convert VMware Snapshot into Memory Dump