A general system error occurred: Download patch definitions task failed while syncing depots. Error: 'integrity.fault.MetadataDownloadFailure: Cannot download patch definitions.'.
In /var/log/vmware/vmware-updatemgr/vum-server/vmware-vum-server.log file, there are entries similar to:
error vmware-vum-server[10591] [Originator@6876 sub=VciSigUpdateTask.SigUpdateTask{89}] [vciSigUpdateTask 559] \n\nError downloading third party patches from :https://dl.broadcom.com/<Download Token>/PROD/COMP/ESX_HOST/addon-main/vmw-depot-index.xml: Error: Bulletin: <component_name> with same name but different set of vibs already exists inside VUM. Re-importing in this scenario is not supported.
VMware vCenter Server 8.x
VMware vCenter Server 9.x
The issue is caused due to conflict between the component in the Update Manager database and the one in the software depot.
Note: Ensure to take a snapshot of the vCenter Server Virtual Machine. If the vCenter Server is a part of Enhanced Linked Mode configuration, refer Snapshot Best practices for vCenter Server Virtual Machines
Delete the conflicting component from the vci_updates table by following the steps below:
service-control --stop updatemgr
updatemgr' user:su updatemgr -s /bin/bash
psql -U vumuser -d VCDB -c "select * from vci_updates where meta_uid = <component_name>;"
psql -U vumuser -d VCDB -c "select * from vci_updates where meta_uid = hpessacli-component_5.10.45.1-7.0.0;"psql -U vumuser -d VCDB -c "delete from vci_updates where meta_uid = <component_name>;"
exit
service-control --start updatemgr
"Sync Updates" on the vCenter Server.