After removing Tensorrt, can't install anything NVIDIA

I need to use tensorrt engines created by the tao 5.2 deploy docker (8.6.1.6-1+cuda12.0), while my current tensort version was 8.0.1.6-1+cuda11.3.

Followed the instruction here to remove tensorrt

Proceeded to install CUDA version 12.0.1 as instructed HERE

wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin
sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600
wget https://developer.download.nvidia.com/compute/cuda/12.0.1/local_installers/cuda-repo-ubuntu2004-12-0-local_12.0.1-525.85.12-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu2004-12-0-local_12.0.1-525.85.12-1_amd64.deb
sudo cp /var/cuda-repo-ubuntu2004-12-0-local/cuda-*-keyring.gpg /usr/share/keyrings/
sudo apt-get update
sudo apt-get -y install cuda

Results in error:

$ sudo apt-get -y install cuda
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 cuda : Depends: cuda-12-0 (>= 12.0.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Tried sudo dpkg --get-selections | grep hold and results empty.

sudo apt --fix-broken install

and

sudo apt clean

didn’t help.

Trying to avoid having to reinstall the computer…

Many thanks,

David

output of sudo apt-get update

Get:1 file:/var/cuda-repo-ubuntu2004-11-1-local  InRelease
Ign:1 file:/var/cuda-repo-ubuntu2004-11-1-local  InRelease
Get:2 file:/var/cuda-repo-ubuntu2004-11-3-local  InRelease
Ign:2 file:/var/cuda-repo-ubuntu2004-11-3-local  InRelease                                                             
Get:3 file:/var/cuda-repo-ubuntu2004-11-6-local  InRelease                                                             
Ign:3 file:/var/cuda-repo-ubuntu2004-11-6-local  InRelease                                                             
Get:4 file:/var/cuda-repo-ubuntu2004-12-0-local  InRelease [1,575 B]                                                   
Get:5 file:/var/cudnn-local-repo-ubuntu2004-8.4.0.27  InRelease                                                        
Ign:5 file:/var/cudnn-local-repo-ubuntu2004-8.4.0.27  InRelease                                                        
Get:6 file:/var/cudnn-local-repo-ubuntu2004-8.9.0.131  InRelease [1,572 B]                                             
Get:7 file:/var/nv-tensorrt-local-repo-ubuntu2004-8.6.1-cuda-12.0  InRelease [1,572 B]                                 
Get:4 file:/var/cuda-repo-ubuntu2004-12-0-local  InRelease [1,575 B]                                                   
Get:8 file:/var/nv-tensorrt-repo-ubuntu2004-cuda11.3-trt8.0.1.6-ga-20210626  InRelease                                 
Ign:8 file:/var/nv-tensorrt-repo-ubuntu2004-cuda11.3-trt8.0.1.6-ga-20210626  InRelease                                 
Get:9 file:/var/cuda-repo-ubuntu2004-11-1-local  Release [564 B]                                                       
Get:6 file:/var/cudnn-local-repo-ubuntu2004-8.9.0.131  InRelease [1,572 B]                                             
Get:10 file:/var/cuda-repo-ubuntu2004-11-3-local  Release [564 B]                                                      
Get:7 file:/var/nv-tensorrt-local-repo-ubuntu2004-8.6.1-cuda-12.0  InRelease [1,572 B]                                 
Get:11 file:/var/cuda-repo-ubuntu2004-11-6-local  Release [564 B]                                                      
Get:12 file:/var/cudnn-local-repo-ubuntu2004-8.4.0.27  Release [564 B]                                                 
Get:9 file:/var/cuda-repo-ubuntu2004-11-1-local  Release [564 B]                                                       
Get:10 file:/var/cuda-repo-ubuntu2004-11-3-local  Release [564 B]                                                      
Get:13 file:/var/nv-tensorrt-repo-ubuntu2004-cuda11.3-trt8.0.1.6-ga-20210626  Release [569 B]                          
Get:11 file:/var/cuda-repo-ubuntu2004-11-6-local  Release [564 B]                                                      
Get:14 file:/var/cuda-repo-ubuntu2004-11-3-local  Release.gpg [836 B]                                                  
Get:12 file:/var/cudnn-local-repo-ubuntu2004-8.4.0.27  Release [564 B]                                                 
Get:15 file:/var/cuda-repo-ubuntu2004-11-6-local  Release.gpg [836 B]                                                  
Get:13 file:/var/nv-tensorrt-repo-ubuntu2004-cuda11.3-trt8.0.1.6-ga-20210626  Release [569 B]                          
Hit:16 https://download.docker.com/linux/ubuntu focal InRelease                                                        
Get:14 file:/var/cuda-repo-ubuntu2004-11-3-local  Release.gpg [836 B]                                                  
Get:15 file:/var/cuda-repo-ubuntu2004-11-6-local  Release.gpg [836 B]                                                  
Err:17 http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo focal InRelease                                     
  403  Forbidden [IP: 52.218.116.89 80]
Hit:18 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease                                                  
Get:19 https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/amd64  InRelease [1,484 B]                      
Hit:20 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal InRelease                                            
Hit:21 https://cli.github.com/packages stable InRelease                                                         
Get:22 http://mirrors.ubuntu.com/mirrors.txt Mirrorlist [313 B]                           
Hit:27 http://ppa.launchpad.net/libreoffice/ppa/ubuntu focal InRelease                               
Hit:24 http://mirror.il-rh.kamatera.com/ubuntu focal-updates InRelease                                                 
Hit:28 https://packages.microsoft.com/repos/edge stable InRelease                                                      
Hit:26 http://mirror.il-jr.kamatera.com/ubuntu focal-security InRelease                                                
Hit:29 http://ppa.launchpad.net/pipewire-debian/pipewire-upstream/ubuntu focal InRelease                               
Hit:30 https://librealsense.intel.com/Debian/apt-repo focal InRelease                                                  
Hit:25 https://mirror.isoc.org.il/pub/ubuntu focal-backports InRelease                                                
Hit:31 https://dl.google.com/linux/chrome/deb stable InRelease                                  
Hit:23 http://rep-ubuntu-il.upress.io/ubuntu focal InRelease
Hit:35 http://packages.ros.org/ros/ubuntu focal InRelease
Hit:36 http://packages.ros.org/ros2/ubuntu focal InRelease
Reading package lists... Done
E: Failed to fetch http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo/dists/focal/InRelease  403  Forbidden [IP: 52.218.116.89 80]
E: The repository 'http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo focal InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

AND

$ nvidia-smi
Wed Dec 20 01:48:28 2023       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.147.05   Driver Version: 525.147.05   CUDA Version: 12.0     |
|-------------------------------+----------------------+----------------------+