Following the instructions, I did the following:
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-keyring_1.0-1_all.deb
and received the following response:
–2022-05-02 12:51:11-- https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-keyring_1.0-1_all.deb
Resolving developer.download.nvidia.com (developer.download.nvidia.com)… 152.195.19.142
Connecting to developer.download.nvidia.com (developer.download.nvidia.com)|152.195.19.142|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 4332 (4.2K) [application/x-deb]
Saving to: ‘cuda-keyring_1.0-1_all.deb’
cuda-keyring_1.0-1_ 100%[===================>] 4.23K --.-KB/s in 0s
2022-05-02 12:51:11 (92.5 MB/s) - ‘cuda-keyring_1.0-1_all.deb’ saved [4332/4332]
Then I :
rusty@apricot-dev:~$ sudo dpkg -i cuda-keyring_1.0-1_all.deb
and got:
Selecting previously unselected package cuda-keyring.
(Reading database … 302165 files and directories currently installed.)
Preparing to unpack cuda-keyring_1.0-1_all.deb …
Unpacking cuda-keyring (1.0-1) …
Setting up cuda-keyring (1.0-1) …
But when I :
sudo apt update
I get errors :
Get:1 file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local InRelease
Ign:1 file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local InRelease
Get:2 file:/var/cuda-repo-ubuntu1804-10-2-local InRelease
Ign:2 file:/var/cuda-repo-ubuntu1804-10-2-local InRelease
Get:3 file:/var/visionworks-repo InRelease
Ign:3 file:/var/visionworks-repo InRelease
Get:4 file:/var/visionworks-sfm-repo InRelease
Ign:4 file:/var/visionworks-sfm-repo InRelease
Get:5 file:/var/visionworks-tracking-repo InRelease
Ign:5 file:/var/visionworks-tracking-repo InRelease
Get:6 file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local Release [563 B]
Get:7 file:/var/cuda-repo-ubuntu1804-10-2-local Release [564 B]
Get:8 file:/var/visionworks-repo Release [1,999 B]
Get:9 file:/var/visionworks-sfm-repo Release [2,003 B]
Get:6 file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local Release [563 B]
Get:10 file:/var/visionworks-tracking-repo Release [2,008 B]
Get:7 file:/var/cuda-repo-ubuntu1804-10-2-local Release [564 B]
Get:8 file:/var/visionworks-repo Release [1,999 B]
Get:9 file:/var/visionworks-sfm-repo Release [2,003 B]
Get:10 file:/var/visionworks-tracking-repo Release [2,008 B]
Err:11 file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local Release.gpg
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY F60F4B3D7FA2AF80
Err:12 file:/var/cuda-repo-ubuntu1804-10-2-local Release.gpg
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY F60F4B3D7FA2AF80
Get:13 https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/amd64 InRelease [1,484 B]
Get:14 Index of /compute/cuda/repos/ubuntu1804/x86_64 InRelease [1,575 B]
Hit:17 Index of /ubuntu bionic InRelease
Hit:18 Index of linux/ubuntu/ bionic InRelease
Get:20 Index of /ubuntu bionic-updates InRelease [88.7 kB]
Get:21 Index of /compute/cuda/repos/ubuntu1804/x86_64 Packages [709 kB]
Get:22 Index of /ubuntu bionic-security InRelease [88.7 kB]
Get:23 Index of /ubuntu bionic-backports InRelease [74.6 kB]
Get:24 Index of /ubuntu bionic-updates/main i386 Packages [1,464 kB]
Get:25 Index of /ubuntu xenial-security InRelease [99.8 kB]
Get:26 Index of /ubuntu bionic-updates/main amd64 Packages [2,544 kB]
Get:27 Index of /ubuntu bionic-updates/main amd64 DEP-11 Metadata [297 kB]
Get:28 Index of /ubuntu bionic-updates/universe i386 Packages [1,606 kB]
Get:29 Index of /ubuntu bionic-updates/universe amd64 Packages [1,806 kB]
Get:30 Index of /ubuntu bionic-security/main amd64 Packages [2,201 kB]
Get:31 Index of /ubuntu bionic-updates/universe amd64 DEP-11 Metadata [301 kB]
Get:32 Index of /ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:33 Index of /ubuntu bionic-backports/universe amd64 DEP-11 Metadata [9,272 B]
Get:34 Index of /ubuntu bionic-security/main i386 Packages [1,162 kB]
Get:35 Index of /ubuntu bionic-security/main amd64 DEP-11 Metadata [55.2 kB]
Get:36 Index of /ubuntu bionic-security/universe amd64 Packages [1,193 kB]
Get:37 Index of /ubuntu bionic-security/universe i386 Packages [1,016 kB]
Get:38 Index of /ubuntu bionic-security/universe amd64 DEP-11 Metadata [59.8 kB]
Get:39 Index of /ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:40 Index of /ubuntu xenial-security/main amd64 DEP-11 Metadata [93.6 kB]
Fetched 14.9 MB in 3s (5,329 kB/s)
Reading package lists… Done
Building dependency tree
Reading state information… Done
24 packages can be upgraded. Run ‘apt list --upgradable’ to see them.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY F60F4B3D7FA2AF80
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: file:/var/cuda-repo-ubuntu1804-10-2-local Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY F60F4B3D7FA2AF80
W: Target Packages (Packages) is configured multiple times in /etc/apt/sources.list:54 and /etc/apt/sources.list.d/cuda-ubuntu1804-x86_64.list:1
W: Target Translations (en_US) is configured multiple times in /etc/apt/sources.list:54 and /etc/apt/sources.list.d/cuda-ubuntu1804-x86_64.list:1
W: Target Translations (en) is configured multiple times in /etc/apt/sources.list:54 and /etc/apt/sources.list.d/cuda-ubuntu1804-x86_64.list:1
W: Failed to fetch file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local/Release.gpg The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY F60F4B3D7FA2AF80
W: Failed to fetch file:/var/cuda-repo-ubuntu1804-10-2-local/Release.gpg The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY F60F4B3D7FA2AF80
W: Some index files failed to download. They have been ignored, or old ones used instead.
W: Target Packages (Packages) is configured multiple times in /etc/apt/sources.list:54 and /etc/apt/sources.list.d/cuda-ubuntu1804-x86_64.list:1
W: Target Translations (en_US) is configured multiple times in /etc/apt/sources.list:54 and /etc/apt/sources.list.d/cuda-ubuntu1804-x86_64.list:1
W: Target Translations (en) is configured multiple times in /etc/apt/sources.list:54 and /etc/apt/sources.list.d/cuda-ubuntu1804-x86_64.list:1
As you can imagine,
sudo apt upgrade
didn’t go well either:
sudo apt upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following package was automatically installed and is no longer required:
linux-hwe-5.4-headers-5.4.0-105
Use ‘sudo apt autoremove’ to remove it.
The following packages have been kept back:
cuda-drivers cuda-drivers-450 libnvidia-cfg1-470 libnvidia-compute-470 libnvidia-decode-470 libnvidia-encode-470 libnvidia-extra-470 libnvidia-fbc1-470 libnvidia-gl-470 libnvidia-ifr1-470
nvidia-compute-utils-470 nvidia-dkms-470 nvidia-driver-470 nvidia-kernel-common-470 nvidia-kernel-source-470 nvidia-utils-470 xserver-xorg-video-nvidia-470
The following packages will be upgraded:
libkeyutils1 libnvidia-common-470 libxnvctrl0 nsight-systems-2021.1.3 nvidia-modprobe nvidia-settings ubuntu-advantage-tools
7 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
Need to get 249 MB of archives.
After this operation, 52.2 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 Index of /compute/cuda/repos/ubuntu1804/x86_64 libnvidia-common-470 470.103.01-0ubuntu1 [10.3 kB]
Get:2 Index of /compute/cuda/repos/ubuntu1804/x86_64 libxnvctrl0 510.47.03-0ubuntu1 [20.5 kB]
Get:3 Index of /compute/cuda/repos/ubuntu1804/x86_64 nsight-systems-2021.1.3 2021.1.3.14-b695ea9 [248 MB]
Get:4 Index of /ubuntu bionic-updates/main amd64 ubuntu-advantage-tools amd64 27.7~18.04.1 [712 kB]
Get:5 Index of /ubuntu bionic-updates/main amd64 libkeyutils1 amd64 1.5.9-9.2ubuntu2.1 [8,764 B]
Get:6 Index of /compute/cuda/repos/ubuntu1804/x86_64 nvidia-settings 510.47.03-0ubuntu1 [894 kB]
Get:7 Index of /compute/cuda/repos/ubuntu1804/x86_64 nvidia-modprobe 510.47.03-0ubuntu1 [19.8 kB]
Fetched 249 MB in 7s (36.2 MB/s)
Preconfiguring packages …
(Reading database … 302170 files and directories currently installed.)
Preparing to unpack …/0-ubuntu-advantage-tools_27.7~18.04.1_amd64.deb …
Unpacking ubuntu-advantage-tools (27.7~18.04.1) over (27.6~18.04.1) …
Preparing to unpack …/1-libkeyutils1_1.5.9-9.2ubuntu2.1_amd64.deb …
Unpacking libkeyutils1:amd64 (1.5.9-9.2ubuntu2.1) over (1.5.9-9.2ubuntu2) …
Preparing to unpack …/2-libnvidia-common-470_470.103.01-0ubuntu1_all.deb …
Unpacking libnvidia-common-470 (470.103.01-0ubuntu1) over (470.103.01-0ubuntu0.18.04.1) …
Preparing to unpack …/3-libxnvctrl0_510.47.03-0ubuntu1_amd64.deb …
Unpacking libxnvctrl0:amd64 (510.47.03-0ubuntu1) over (470.57.01-0ubuntu0.18.04.1) …
Preparing to unpack …/4-nsight-systems-2021.1.3_2021.1.3.14-b695ea9_amd64.deb …
update-alternatives: removing manually selected alternative - switching nsys to auto mode
update-alternatives: removing manually selected alternative - switching nsys-ui to auto mode
update-alternatives: using /opt/nvidia/nsight-systems/2021.2.3/host-linux-x64/nsys-ui to provide /usr/local/bin/nsys-ui (nsys-ui) in auto mode
Unpacking nsight-systems-2021.1.3 (2021.1.3.14-b695ea9) over (2021.1.3.12-5261246) …
Preparing to unpack …/5-nvidia-settings_510.47.03-0ubuntu1_amd64.deb …
Unpacking nvidia-settings (510.47.03-0ubuntu1) over (470.57.01-0ubuntu0.18.04.1) …
Preparing to unpack …/6-nvidia-modprobe_510.47.03-0ubuntu1_amd64.deb …
Unpacking nvidia-modprobe (510.47.03-0ubuntu1) over (450.115-0ubuntu1) …
Setting up ubuntu-advantage-tools (27.7~18.04.1) …
Installing new version of config file /etc/logrotate.d/ubuntu-advantage-tools …
Setting up nsight-systems-2021.1.3 (2021.1.3.14-b695ea9) …
update-alternatives: using /opt/nvidia/nsight-systems/2021.1.3/target-linux-x64/nsys to provide /usr/local/bin/nsys (nsys) in auto mode
update-alternatives: error: alternative path /opt/nvidia/nsight-systems/2021.1.3/host-linux-x64/nsight-sys doesn’t exist
update-alternatives: error: no alternatives for nsight-sys
update-alternatives: using /opt/nvidia/nsight-systems/2021.1.3/host-linux-x64/nsys-ui to provide /usr/local/bin/nsys-ui (nsys-ui) in manual mode
Setting up libnvidia-common-470 (470.103.01-0ubuntu1) …
Setting up nvidia-modprobe (510.47.03-0ubuntu1) …
Setting up libkeyutils1:amd64 (1.5.9-9.2ubuntu2.1) …
Setting up libxnvctrl0:amd64 (510.47.03-0ubuntu1) …
Setting up nvidia-settings (510.47.03-0ubuntu1) …
Processing triggers for man-db (2.8.3-2ubuntu0.1) …
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) …
Processing triggers for mime-support (3.60ubuntu1) …
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) …
Processing triggers for libc-bin (2.27-3ubuntu1.5) …
rusty@apricot-dev:~$ sudo apt update
Get:1 file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local InRelease
Ign:1 file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local InRelease
Get:2 file:/var/cuda-repo-ubuntu1804-10-2-local InRelease
Ign:2 file:/var/cuda-repo-ubuntu1804-10-2-local InRelease
Get:3 file:/var/visionworks-repo InRelease
Ign:3 file:/var/visionworks-repo InRelease
Get:4 file:/var/visionworks-sfm-repo InRelease
Ign:4 file:/var/visionworks-sfm-repo InRelease
Get:5 file:/var/visionworks-tracking-repo InRelease
Ign:5 file:/var/visionworks-tracking-repo InRelease
Get:6 file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local Release [563 B]
Get:7 file:/var/cuda-repo-ubuntu1804-10-2-local Release [564 B]
Get:8 file:/var/visionworks-repo Release [1,999 B]
Get:9 file:/var/visionworks-sfm-repo Release [2,003 B]
Get:6 file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local Release [563 B]
Get:10 file:/var/visionworks-tracking-repo Release [2,008 B]
Get:7 file:/var/cuda-repo-ubuntu1804-10-2-local Release [564 B]
Get:8 file:/var/visionworks-repo Release [1,999 B]
Get:9 file:/var/visionworks-sfm-repo Release [2,003 B]
Get:10 file:/var/visionworks-tracking-repo Release [2,008 B]
Get:11 https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/amd64 InRelease [1,484 B]
Hit:12 Index of /compute/cuda/repos/ubuntu1804/x86_64 InRelease
Hit:13 Index of /ubuntu bionic InRelease
Hit:14 Index of linux/ubuntu/ bionic InRelease
Err:15 file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local Release.gpg
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY F60F4B3D7FA2AF80
Hit:16 Index of /ubuntu bionic-updates InRelease
Hit:17 Index of /ubuntu bionic-backports InRelease
Err:18 file:/var/cuda-repo-ubuntu1804-10-2-local Release.gpg
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY F60F4B3D7FA2AF80
Hit:19 Index of /ubuntu bionic-security InRelease
Hit:22 Index of /ubuntu xenial-security InRelease
Fetched 1,484 B in 1s (992 B/s)
Reading package lists… Done
Building dependency tree
Reading state information… Done
17 packages can be upgraded. Run ‘apt list --upgradable’ to see them.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY F60F4B3D7FA2AF80
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: file:/var/cuda-repo-ubuntu1804-10-2-local Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY F60F4B3D7FA2AF80
W: Target Packages (Packages) is configured multiple times in /etc/apt/sources.list:54 and /etc/apt/sources.list.d/cuda-ubuntu1804-x86_64.list:1
W: Target Translations (en_US) is configured multiple times in /etc/apt/sources.list:54 and /etc/apt/sources.list.d/cuda-ubuntu1804-x86_64.list:1
W: Target Translations (en) is configured multiple times in /etc/apt/sources.list:54 and /etc/apt/sources.list.d/cuda-ubuntu1804-x86_64.list:1
W: Failed to fetch file:/var/cuda-repo-cross-aarch64-ubuntu1804-10-2-local/Release.gpg The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY F60F4B3D7FA2AF80
W: Failed to fetch file:/var/cuda-repo-ubuntu1804-10-2-local/Release.gpg The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY F60F4B3D7FA2AF80
W: Some index files failed to download. They have been ignored, or old ones used instead.
W: Target Packages (Packages) is configured multiple times in /etc/apt/sources.list:54 and /etc/apt/sources.list.d/cuda-ubuntu1804-x86_64.list:1
W: Target Translations (en_US) is configured multiple times in /etc/apt/sources.list:54 and /etc/apt/sources.list.d/cuda-ubuntu1804-x86_64.list:1
W: Target Translations (en) is configured multiple times in /etc/apt/sources.list:54 and /etc/apt/sources.list.d/cuda-ubuntu1804-x86_64.list:1
None of these issues appeared prior to the GPG key being changed.
How does this get fixed?
Thanks