I am trying to update macOS from Yosemite (10.10) to Catalina 10.15.) on my mac book pro 2015, I downloaded the installer from the app store on my mac but every time I click continue to set up the installation I get this error message that reads "downloading installer information to the target volume failed"

I tried many solutions and searched everywhere but no solutions so far, I tried to use a patcher that also didn't work. I tried to install it from the terminal but that also didn't work.

What could be the cause of this?

is there a way to fix this?