When downloading a Patch in Patch Manager, it goes in packaging fails.
In C:\Program Files (x86)\CA\DSM\PatchManagement\PMEngine.log following error could be seen :
This is an example for file upmrollup.ini but it could occur for any files :
2021-07-19 11:15:44,231 [Dloader-3] INFO [com.ca.pmengine.dlm] - Attempting file extraction to: C:\Program Files (x86)\CA\DSM\PatchManagement\downloads\d15b6449-24c5-46b8-ad69-eff3dc6c4961
2021-07-19 11:15:45,028 [Dloader-3] INFO [com.ca.pmengine.dlm] - Patch: upmrollup.ini {d236a456-aabd-4785-a685-9fe6f500e1d0} Beginning download
2021-07-19 11:15:47,184 [Dloader-3] INFO [com.ca.pmengine.dlm] - Patch: upmrollup.ini {d236a456-aabd-4785-a685-9fe6f500e1d0} Download completed successfully
2021-07-19 11:15:47,231 [Dloader-3] ERROR [com.ca.pmengine.dlm] - Patch: upmrollup.ini {d236a456-aabd-4785-a685-9fe6f500e1d0} verification failed
2021-07-19 11:15:47,231 [Dloader-3] ERROR [com.ca.pmengine.dlm] - Verification of upmrollup.ini has failed.
Client Automation - All Versions
SELECT name, size_in_bytes, checksum, download_url FROM ca_download_file
WHERE install_pkg_uuid=(SELECT install_pkg_uuid FROM ca_install_package WHERE ipkg_name like '%CA - Patch Me - Security IntelliRollup v2107.00%')
and name='upmrollup.ini'
certutil -hashfile upmrollup.ini MD5
If the patch needs to be urgently downloaded, following SQL Query could be executed to correct the checksum in database :
UPDATE ca_download_file
SET checksum='checksum calculated in step 2 by certutil'
WHERE install_pkg_uuid=(SELECT install_pkg_uuid FROM ca_install_package WHERE ipkg_name like '%CA - Patch Me - Security IntelliRollup v2107.00%')
and name='upmrollup.ini'
And try again the download of Patch
4- If checksum is different that one in database and size is much smaller, rename the downloaded file by adding .html at the end (upmrollup.ini.html) and open this file in an Internet Browser. It may be an error message sent by ProxyWeb.
This could also be done with file downloaded by Patch Manager