Unable to add NVIDIA CUDA repository on Ubuntu 22.04 due to missing key/(7fa2af80.pub)

That signing key you’re trying to use, has been rotated.

You can manually change it to a new signing key 3bf863cc.pub (not recommended) or you can use the cuda-keyring method which is preferred.

You can read more about it here:

Regards,
Marco Herrera.