Nvidia-dkms-515 error 10

While upgrading my system with apt upgrade:

nvidia-dkms-515 (515.76-0ubuntu0.22.04.1) wird eingerichtet …
update-initramfs: deferring update (trigger activated)
INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
Removing old nvidia-515.76 DKMS files…
Deleting module nvidia-515.76 completely from the DKMS tree.
Loading new nvidia-515.76 DKMS files…
Building for 5.15.0-50-generic
Building for architecture x86_64
Building initial module for 5.15.0-50-generic
ERROR: Cannot create report: [Errno 17] File exists: ‘/var/crash/nvidia-dkms-515.0.crash’
Error! Bad return status for module build on kernel: 5.15.0-50-generic (x86_64)
Consult /var/lib/dkms/nvidia/515.76/build/make.log for more information.
dpkg: Fehler beim Bearbeiten des Paketes nvidia-dkms-515 (–configure):
»installiertes nvidia-dkms-515-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 10 zurück
Trigger für initramfs-tools (0.140ubuntu13) werden verarbeitet …
update-initramfs: Generating /boot/initrd.img-5.15.0-50-generic
Fehler traten auf beim Bearbeiten von:
nvidia-dkms-515
E: Sub-process /usr/bin/dpkg returned an error code (1)