I was updating my environment to vCenter Server 7.0 U2c, 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”.
So now what if you want to update? We resolved it as follows, and let me include the deletion of the state file as well:
Then we rebooted the VCSA:
Then we went into the appliance shell via SSH and ran the installer from the appliance:
software-packages install --url --acceptEulas
After which the installation was completed correctly.