I was testing ESXi patching through Lifecycle Manager/VUM (Vmware Update Manager). While remediating patch bundle on ESXi server, there was electricity issue and my Esxi server and vCenter server got powered off abruptly in the middle of update. After powering on the vCenter and Esxi server I tried to to repeat process Remediating / Staging patch on the Esxi. I was receiving below error.
There are conflicts from the patches esxi-update_X.X.X-x.x.xxxxxxxx selected for staging or remediation. Check the events for conflict details and possible resolution.
To quickly resolve the issue us How to update a patch on an ESXi host via command line.
To diagnose further, I checked ESXi Server >> Monitor >> Tasks for more details, and found related events and solution within the event text, grab the complete vib name.
Host patch esxi-update_X.X.X-x.x.xxxxxxxx conflicts with the package VMware_VIB_VIBName_X.X.X-x.x.xxxxxxxx installed on the host and cannot be staged remove the conflict package.
Host patch esxi-update_X.X.X-x.x.xxxxxxxx conflicts with the package VMware_VIB_VIBName_X.X.X-x.x.xxxxxxxx installed on the host and cannot be remediated. Remove the patch from the baseline or include any suggested additional patches in the baseline and retry remediation operation.
To resolve the issue I enabled ssh service on Esxi, logged in through putty and removed the affected vib with below process. Source: https://kb.vmware.com/s/article/76294
#Verify what is the vib package detailed information, specifically the name of vib package.
esxcli software vib get | grep -A 22 VMware_VIB_VIBName_X.X.X-x.x.xxxxxxxx
#Check more information of the conflicting vib package
esxcli software vib list | grep VIBName
#Remove the conflicted VIB, if reboot required restart Esxi server.
esxcli software vib remove --vibname VIBName
Useful Articles
VMware LifeCycle Manager import updates bundle and patch ESXi server
Deploy install VCSA (vCenter server appliance 6.5) on VMWare Workstation
Enable or disable SSH on VMWare vCenter Server Appliance (VCSA)
The top 10 reasons to upgrade to VMware vSphere 6.5
vCenter server appliance 6.5 deployment Error The supplied system is not valid
How to deploy vCenter server appliance on VMware Workstation
Enable Access to the VCSA Bash shell or Appliance Shell
Patching the vCenter Server Appliance VCSA
Install and Configure VMware UMDS on Linux