Problem when installing nccl

When installing nccl follow the instruction. After running the command:

$ wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.0-1_all.deb
$ sudo dpkg -i cuda-keyring_1.0-1_all.deb
$ sudo apt-get update

I got the following error:

E: conflicting values set for option signed-by regarding source https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /: /usr/share/keyrings/cuda-archive-keyring.gpg !=
E: The list of sources could not be read.

Can anyone tell me how to fix this error?

Also, CUDA version I’m using is 11.4, can I get nccl for CUDA 12.0?