Applying patch version 8.0 U2c to VMware vCenter Server fails with error: Error in upgrading all packages to latest versions (tdnf error code:245)
book
Article ID: 367028
calendar_today
Updated On:
Products
VMware vCenter Server 8.0
Issue/Introduction
Applying patch version 8.0 U2c to VMware vCenter Server fails with error:
Error(1525) : rpm transaction failed Error in upgrading all packages to latest versions (tdnf error code: 245)
Cause
The update_microservice.log shows the following entries:
Error(1525) : rpm transaction failed Error in upgrading all packages to latest versions (tdnf error code: 245). Original list of RPMs and RPM DB are stored in /tmp/photon-upgrade-pp1, please provide contents of that folder along with system journal logs for analysis; these logs can be captured using command- # /usr/bin/journalctl -xa > /tmp/photon-upgrade-pp1/journal.log Cannot continue. Aborting. ] <yyyy-mm-dd> <hh:mm:ss>,839 - 132241 - dbfunctions_target:: executeDML: 56 - DEBUG - Executing Query {UPDATE install_progress SET Subphase = ?, end_time = DATETIME('now'), status = ? WHERE Phase = ? } with parameters ('Install Photon RPM transaction failed.', 'failed', 'Installing RPMs')
The update_microservice.log does not state which RPM failed, so checking the journalctl logs shows the following entries:
less journalctl_-b--0.txt | grep -i rpm | egrep failure