Error installation CUDA 11.04 ubuntu 22.04


I tried installing cuda and got the following error:

ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/nvidia-kernel-source-470.0.crash'
Error! Bad return status for module build on kernel: 5.14.0-1034-oem (x86_64)
Consult /var/lib/dkms/nvidia/470.42.01/build/make.log for more information.
dpkg: error processing package nvidia-dkms-470 (--configure):
 installed nvidia-dkms-470 package post-installation script subprocess returned error exit status 10

My old drivers are gone, I guess and do not know how to fix it.
My kernel is 5.14.0-1034-oem and was compiled with gcc 9.4.0 (If it can help)

Thank you for your help