Official cuda installation guide for ubuntu 22.04 has missing links

Hi.
I was trying to install cuda in ubuntu 22.04 by following Installation Guide Linux :: CUDA Toolkit Documentation which I noticed it has missing links for this distro.
by that I mean part 3.8 and specifically 3.8.3
this link for ubuntu 22.04 is 404!:
https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2202/x86_64/cuda-keyring_1.0-1_all.deb
this works for ubuntu2004 though, further demonstrating the missing file for 22.04.

could someone please provide this file or update that guide?
Thanks a lot in advance

Coderx7, Looks like you have a typo in the link ā€“ ubuntu2204 ā€“ works fine for me.

1 Like

Oh my bad! yeah, you are right! now it downloads just OK.
However, why am I getting these errors, does this mean this file is corrupt? if so why does it seem to get installed just fine as I get this as the output:

(Reading database ... 206185 files and directories currently installed.)
Preparing to unpack cuda-keyring_1.0-1_all.deb ...
Unpacking cuda-keyring (1.0-1) over (1.0-1) ...
Setting up cuda-keyring (1.0-1) ...

A deprecated public CUDA GPG key appear to be installed.
To remove the key, run this command:
sudo apt-key del 7fa2af80

Doing sudo apt update results in these errors which I guess is related to this

...
Fetched 1,076 kB in 2s (489 kB/s)   
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/developer.download.nvidia.com_compute_cuda_repos_ubuntu2204_x86%5f64_Packages
E: The package lists or status file could not be parsed or opened.

I just did :

sudo rm /var/lib/apt/lists/* -vf
sudo apt update

to get rid of it without any luck!

Update:
Fixed it using this link package management - Problem with MergeList during apt-get - Ask Ubuntu
however Iā€™d like to know what went wrong (if possible)
thanks a lot in advance