Unable to install CUDA 11.2.0 on top of CUDA 10.1

I have run the following command as a bash script:

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/11.2.0/local_installers/cuda-repo-ubuntu2004-11-2-local_11.2.0-460.27.04-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu2004-11-2-local_11.2.0-460.27.04-1_amd64.deb
sudo apt-key add /var/cuda-repo-ubuntu2004-11-2-local/7fa2af80.pub
sudo apt-get update
sudo apt-get -y install cuda

However, I am unable to install CUDA 11.2.0.

What is the issue with my Linux system?

my_user_name@192:~$ nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Sun_Jul_28_19:07:16_PDT_2019
Cuda compilation tools, release 10.1, V10.1.243
my_user_name@192:~$ ./cuda-11.0-installer.sh
-bash: ./cuda-11.0-installer.sh: No such file or directory
my_user_name@192:~$ ls
09_dat_files_move.py    cuda                             heca_evaluate.py  MatrixMultiplication-CUDA-indexing  public_html         vector_array_init.cpp
09_dat_files_move.sh    cuda_11.2.0_460.27.04_linux.run  heca_plot.py      nvidia-smi--q.txt                   shuffle.cu
bbq_spatial             cuda_lab                         heca_v2           original_data                       simple_text_editor
bin                     filename                         hello_world.cs    pget                                snap
cpu_memory_manager.cpp  gpu_test.py                      hssp              pget.log                            turbo_cpp_3
my_user_name@192:~$ nano cuda-11.2.0-installer.sh
my_user_name@192:~$ ./cuda-11.0-installer.sh
-bash: ./cuda-11.0-installer.sh: No such file or directory
my_user_name@192:~$ chmod +x cuda-11.2.0-installer.sh
my_user_name@192:~$ ./cuda-11.2.0-installer.sh
--2023-11-29 16:05:35--  https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin
Resolving developer.download.nvidia.com (developer.download.nvidia.com)... 152.199.20.126
Connecting to developer.download.nvidia.com (developer.download.nvidia.com)|152.199.20.126|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 190 [application/octet-stream]
Saving to: ‘cuda-ubuntu2004.pin’

cuda-ubuntu2004.pin                    100%[==========================================================================>]     190  --.-KB/s    in 0s

2023-11-29 16:05:35 (4,78 MB/s) - ‘cuda-ubuntu2004.pin’ saved [190/190]

[sudo] password for my_user_name:
--2023-11-29 16:05:43--  https://developer.download.nvidia.com/compute/cuda/11.2.0/local_installers/cuda-repo-ubuntu2004-11-2-local_11.2.0-460.27.04-1_amd64.deb
Resolving developer.download.nvidia.com (developer.download.nvidia.com)... 152.199.20.126
Connecting to developer.download.nvidia.com (developer.download.nvidia.com)|152.199.20.126|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2291899126 (2,1G) [application/x-deb]
Saving to: ‘cuda-repo-ubuntu2004-11-2-local_11.2.0-460.27.04-1_amd64.deb’

cuda-repo-ubuntu2004-11-2-local_11.2.0 100%[==========================================================================>]   2,13G  11,1MB/s    in 3m 20s

2023-11-29 16:09:03 (10,9 MB/s) - ‘cuda-repo-ubuntu2004-11-2-local_11.2.0-460.27.04-1_amd64.deb’ saved [2291899126/2291899126]

(Reading database ... 269809 files and directories currently installed.)
Preparing to unpack cuda-repo-ubuntu2004-11-2-local_11.2.0-460.27.04-1_amd64.deb ...
Unpacking cuda-repo-ubuntu2004-11-2-local (11.2.0-460.27.04-1) over (11.2.0-460.27.04-1) ...
Setting up cuda-repo-ubuntu2004-11-2-local (11.2.0-460.27.04-1) ...
OK
Get:1 file:/var/cuda-repo-ubuntu2004-11-2-local  InRelease
Ign:1 file:/var/cuda-repo-ubuntu2004-11-2-local  InRelease
Get:2 file:/var/cuda-repo-ubuntu2004-11-4-local  InRelease
Ign:2 file:/var/cuda-repo-ubuntu2004-11-4-local  InRelease
Get:3 file:/var/cuda-repo-ubuntu2004-11-2-local  Release [564 B]
Get:4 file:/var/cuda-repo-ubuntu2004-11-4-local  Release [564 B]
Get:3 file:/var/cuda-repo-ubuntu2004-11-2-local  Release [564 B]
Get:4 file:/var/cuda-repo-ubuntu2004-11-4-local  Release [564 B]
Hit:5 http://pl.archive.ubuntu.com/ubuntu focal InRelease
Hit:6 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:7 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu focal InRelease
Hit:8 http://pl.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:9 http://pl.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:10 https://download.mono-project.com/repo/ubuntu stable-focal InRelease
Get:11 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64  InRelease [1 581 B]
Ign:13 https://download.docker.com/linux/debian focal InRelease
Err:15 https://download.docker.com/linux/debian focal Release
  404  Not Found [IP: 108.138.51.102 443]
Err:11 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64  InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC
Reading package lists... Done
E: The repository 'https://download.docker.com/linux/debian focal Release' does not have a Release file.
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.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://download.mono-project.com/repo/ubuntu stable-focal InRelease' doesn't support architecture 'i386'
W: GPG error: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64  InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC
E: The repository 'https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64  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.
Reading package lists... Done
Building dependency tree
Reading state information... Done
cuda is already the newest version (11.4.3-1).
0 upgraded, 0 newly installed, 0 to remove and 45 not upgraded.
my_user_name@192:~$ nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Sun_Jul_28_19:07:16_PDT_2019
Cuda compilation tools, release 10.1, V10.1.243
my_user_name@192:~$