A script to fix this issue and a readme file are available on the CA support.ca.com download site when you are downloading the 3.6 install media.
<Please see attached file for image>
If possible, run this script before doing the upgrade.
If the upgrade has already failed, then stop.
Run the script.
Then re-launch the upgrade.