Hello,
sudo apt remove cuda* didnât work and outputs the following
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package cuda-repo-ubuntu1804_10.0.130-1_amd64.deb
E: Couldn't find any package by glob 'cuda-repo-ubuntu1804_10.0.130-1_amd64.deb'
E: Couldn't find any package by regex 'cuda-repo-ubuntu1804_10.0.130-1_amd64.deb'
E: Unable to locate package cuda-repo-ubuntu1804_10.0.130-1_amd64.deb.1
E: Couldn't find any package by glob 'cuda-repo-ubuntu1804_10.0.130-1_amd64.deb.1'
E: Couldn't find any package by regex 'cuda-repo-ubuntu1804_10.0.130-1_amd64.deb.1'
E: Unable to locate package cuda-repo-ubuntu1804_10.0.130-1_amd64.deb.2
E: Couldn't find any package by glob 'cuda-repo-ubuntu1804_10.0.130-1_amd64.deb.2'
E: Couldn't find any package by regex 'cuda-repo-ubuntu1804_10.0.130-1_amd64.deb.2'
E: Unable to locate package cuda-repo-ubuntu1804-11-2-local_11.2.0-460.27.04-1_amd64.deb
E: Couldn't find any package by glob 'cuda-repo-ubuntu1804-11-2-local_11.2.0-460.27.04-1_amd64.deb'
E: Couldn't find any package by regex 'cuda-repo-ubuntu1804-11-2-local_11.2.0-460.27.04-1_amd64.deb'
sudo apt remove nvidia* didnât work and outputted the following
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package nvidia-bug-report.log.gz
E: Couldn't find any package by glob 'nvidia-bug-report.log.gz'
E: Couldn't find any package by regex 'nvidia-bug-report.log.gz'
E: Unable to locate package nvidia-machine-learning-repo-ubuntu1804_1.0.0-1_amd64.deb
E: Couldn't find any package by glob 'nvidia-machine-learning-repo-ubuntu1804_1.0.0-1_amd64.deb'
E: Couldn't find any package by regex 'nvidia-machine-learning-repo-ubuntu1804_1.0.0-1_amd64.deb'
sudo apt remove libnvidia* seems to have worked and outputted the following
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libnvidia-encode-418-server' for glob 'libnvidia*'
Note, selecting 'libnvidia-compute-450-server' for glob 'libnvidia*'
Note, selecting 'libnvidia-encode' for glob 'libnvidia*'
Note, selecting 'libnvidia-fbc1-450-server' for glob 'libnvidia*'
Note, selecting 'libnvidia-compute-440-server' for glob 'libnvidia*'
Note, selecting 'libnvidia-gl-450-server' for glob 'libnvidia*'
Note, selecting 'libnvidia-compute-390' for glob 'libnvidia*'
Note, selecting 'libnvidia-ifr1-418-server' for glob 'libnvidia*'
Note, selecting 'libnvidia-fbc1-440-server' for glob 'libnvidia*'
Note, selecting 'libnvidia-compute-410' for glob 'libnvidia*'
Note, selecting 'libnvidia-compute-415' for glob 'libnvidia*'
Note, selecting 'libnvidia-compute-418' for glob 'libnvidia*'
Note, selecting 'libnvidia-compute-430' for glob 'libnvidia*'
Note, selecting 'libnvidia-compute-435' for glob 'libnvidia*'
Note, selecting 'libnvidia-compute-440' for glob 'libnvidia*'
Note, selecting 'libnvidia-common-418-server' for glob 'libnvidia*'
Note, selecting 'libnvidia-compute-450' for glob 'libnvidia*'
Note, selecting 'libnvidia-compute-455' for glob 'libnvidia*'
Note, selecting 'libnvidia-compute-460' for glob 'libnvidia*'
Note, selecting 'libnvidia-ml1' for glob 'libnvidia*'
Note, selecting 'libnvidia-encode-390' for glob 'libnvidia*'
Note, selecting 'libnvidia-encode-410' for glob 'libnvidia*'
Note, selecting 'libnvidia-encode-415' for glob 'libnvidia*'
Note, selecting 'libnvidia-encode-418' for glob 'libnvidia*'
Note, selecting 'libnvidia-encode-430' for glob 'libnvidia*'
Note, selecting 'libnvidia-encode-435' for glob 'libnvidia*'
Note, selecting 'libnvidia-encode-440' for glob 'libnvidia*'
Note, selecting 'libnvidia-encode-450' for glob 'libnvidia*'
Note, selecting 'libnvidia-encode-455' for glob 'libnvidia*'
Note, selecting 'libnvidia-decode-450-server' for glob 'libnvidia*'
Note, selecting 'libnvidia-gl-390' for glob 'libnvidia*'
Note, selecting 'libnvidia-gl-410' for glob 'libnvidia*'
Note, selecting 'libnvidia-gl-415' for glob 'libnvidia*'
Note, selecting 'libnvidia-gl-418' for glob 'libnvidia*'
Note, selecting 'libnvidia-gl-430' for glob 'libnvidia*'
Note, selecting 'libnvidia-gl-435' for glob 'libnvidia*'
Note, selecting 'libnvidia-gl-440' for glob 'libnvidia*'
Note, selecting 'libnvidia-gl-450' for glob 'libnvidia*'
Note, selecting 'libnvidia-gl-455' for glob 'libnvidia*'
Note, selecting 'libnvidia-fbc1-390' for glob 'libnvidia*'
Note, selecting 'libnvidia-decode-440-server' for glob 'libnvidia*'
Note, selecting 'libnvidia-encode-450-server' for glob 'libnvidia*'
Note, selecting 'libnvidia-decode-390' for glob 'libnvidia*'
Note, selecting 'libnvidia-fbc1-410' for glob 'libnvidia*'
Note, selecting 'libnvidia-fbc1-415' for glob 'libnvidia*'
Note, selecting 'libnvidia-fbc1-418' for glob 'libnvidia*'
Note, selecting 'libnvidia-fbc1-430' for glob 'libnvidia*'
Note, selecting 'libnvidia-fbc1-435' for glob 'libnvidia*'
Note, selecting 'libnvidia-fbc1-440' for glob 'libnvidia*'
Note, selecting 'libnvidia-fbc1-450' for glob 'libnvidia*'
Note, selecting 'libnvidia-fbc1-455' for glob 'libnvidia*'
Note, selecting 'libnvidia-decode-410' for glob 'libnvidia*'
Note, selecting 'libnvidia-decode-415' for glob 'libnvidia*'
Note, selecting 'libnvidia-decode-418' for glob 'libnvidia*'
Note, selecting 'libnvidia-decode-430' for glob 'libnvidia*'
Note, selecting 'libnvidia-decode-435' for glob 'libnvidia*'
Note, selecting 'libnvidia-decode-440' for glob 'libnvidia*'
Note, selecting 'libnvidia-decode-450' for glob 'libnvidia*'
Note, selecting 'libnvidia-decode-455' for glob 'libnvidia*'
Note, selecting 'libnvidia-cfg1-418-server' for glob 'libnvidia*'
Note, selecting 'libnvidia-encode-440-server' for glob 'libnvidia*'
Note, selecting 'libnvidia-common-450-server' for glob 'libnvidia*'
Note, selecting 'libnvidia-extra' for glob 'libnvidia*'
Note, selecting 'libnvidia-cfg1-390' for glob 'libnvidia*'
Note, selecting 'libnvidia-ifr1-440-server' for glob 'libnvidia*'
Note, selecting 'libnvidia-cfg1-410' for glob 'libnvidia*'
Note, selecting 'libnvidia-cfg1-415' for glob 'libnvidia*'
Note, selecting 'libnvidia-cfg1-418' for glob 'libnvidia*'
Note, selecting 'libnvidia-cfg1-430' for glob 'libnvidia*'
Note, selecting 'libnvidia-cfg1-435' for glob 'libnvidia*'
Note, selecting 'libnvidia-cfg1-440' for glob 'libnvidia*'
Note, selecting 'libnvidia-cfg1-450' for glob 'libnvidia*'
Note, selecting 'libnvidia-cfg1-455' for glob 'libnvidia*'
Note, selecting 'libnvidia-common-440-server' for glob 'libnvidia*'
Note, selecting 'libnvidia-cfg1-any' for glob 'libnvidia*'
Note, selecting 'libnvidia-gl' for glob 'libnvidia*'
Note, selecting 'libnvidia-cfg1-440-server' for glob 'libnvidia*'
Note, selecting 'libnvidia-ifr1-450-server' for glob 'libnvidia*'
Note, selecting 'libnvidia-fbc1' for glob 'libnvidia*'
Note, selecting 'libnvidia-cfg1-450-server' for glob 'libnvidia*'
Note, selecting 'libnvidia-ifr1-390' for glob 'libnvidia*'
Note, selecting 'libnvidia-ifr1-410' for glob 'libnvidia*'
Note, selecting 'libnvidia-ifr1-415' for glob 'libnvidia*'
Note, selecting 'libnvidia-ifr1-418' for glob 'libnvidia*'
Note, selecting 'libnvidia-ifr1-430' for glob 'libnvidia*'
Note, selecting 'libnvidia-ifr1-435' for glob 'libnvidia*'
Note, selecting 'libnvidia-ifr1-440' for glob 'libnvidia*'
Note, selecting 'libnvidia-ifr1-450' for glob 'libnvidia*'
Note, selecting 'libnvidia-ifr1-455' for glob 'libnvidia*'
Note, selecting 'libnvidia-extra-450-server' for glob 'libnvidia*'
Note, selecting 'libnvidia-gl-418-server' for glob 'libnvidia*'
Note, selecting 'libnvidia-extra-440-server' for glob 'libnvidia*'
Note, selecting 'libnvidia-common' for glob 'libnvidia*'
Note, selecting 'libnvidia-ifr1' for glob 'libnvidia*'
Note, selecting 'libnvidia-decode' for glob 'libnvidia*'
Note, selecting 'libnvidia-common-390' for glob 'libnvidia*'
Note, selecting 'libnvidia-common-410' for glob 'libnvidia*'
Note, selecting 'libnvidia-common-415' for glob 'libnvidia*'
Note, selecting 'libnvidia-common-418' for glob 'libnvidia*'
Note, selecting 'libnvidia-common-430' for glob 'libnvidia*'
Note, selecting 'libnvidia-common-435' for glob 'libnvidia*'
Note, selecting 'libnvidia-common-440' for glob 'libnvidia*'
Note, selecting 'libnvidia-common-450' for glob 'libnvidia*'
Note, selecting 'libnvidia-common-455' for glob 'libnvidia*'
Note, selecting 'libnvidia-compute-418-server' for glob 'libnvidia*'
Note, selecting 'libnvidia-fbc1-418-server' for glob 'libnvidia*'
Note, selecting 'libnvidia-extra-440' for glob 'libnvidia*'
Note, selecting 'libnvidia-extra-450' for glob 'libnvidia*'
Note, selecting 'libnvidia-extra-455' for glob 'libnvidia*'
Note, selecting 'libnvidia-gl-440-server' for glob 'libnvidia*'
Note, selecting 'libnvidia-decode-418-server' for glob 'libnvidia*'
Package 'libnvidia-cfg1-390' is not installed, so not removed
Package 'libnvidia-cfg1-430' is not installed, so not removed
Package 'libnvidia-common-390' is not installed, so not removed
Package 'libnvidia-common-430' is not installed, so not removed
Package 'libnvidia-compute-390' is not installed, so not removed
Package 'libnvidia-compute-430' is not installed, so not removed
Package 'libnvidia-decode-390' is not installed, so not removed
Package 'libnvidia-decode-430' is not installed, so not removed
Package 'libnvidia-encode-390' is not installed, so not removed
Package 'libnvidia-encode-430' is not installed, so not removed
Package 'libnvidia-fbc1-390' is not installed, so not removed
Package 'libnvidia-fbc1-430' is not installed, so not removed
Package 'libnvidia-gl-390' is not installed, so not removed
Package 'libnvidia-gl-430' is not installed, so not removed
Package 'libnvidia-ifr1-390' is not installed, so not removed
Package 'libnvidia-ifr1-430' is not installed, so not removed
Package 'libnvidia-cfg1-440' is not installed, so not removed
Package 'libnvidia-cfg1-450' is not installed, so not removed
Package 'libnvidia-common-440' is not installed, so not removed
Package 'libnvidia-common-450' is not installed, so not removed
Package 'libnvidia-compute-440' is not installed, so not removed
Package 'libnvidia-compute-450' is not installed, so not removed
Package 'libnvidia-decode-440' is not installed, so not removed
Package 'libnvidia-decode-450' is not installed, so not removed
Package 'libnvidia-encode-440' is not installed, so not removed
Package 'libnvidia-encode-450' is not installed, so not removed
Package 'libnvidia-extra-440' is not installed, so not removed
Package 'libnvidia-extra-450' is not installed, so not removed
Package 'libnvidia-fbc1-440' is not installed, so not removed
Package 'libnvidia-fbc1-450' is not installed, so not removed
Package 'libnvidia-gl-440' is not installed, so not removed
Package 'libnvidia-gl-450' is not installed, so not removed
Package 'libnvidia-ifr1-440' is not installed, so not removed
Package 'libnvidia-ifr1-450' is not installed, so not removed
Package 'libnvidia-cfg1-418-server' is not installed, so not removed
Package 'libnvidia-cfg1-440-server' is not installed, so not removed
Package 'libnvidia-cfg1-450-server' is not installed, so not removed
Package 'libnvidia-common-418-server' is not installed, so not removed
Package 'libnvidia-common-440-server' is not installed, so not removed
Package 'libnvidia-common-450-server' is not installed, so not removed
Package 'libnvidia-compute-418-server' is not installed, so not removed
Package 'libnvidia-compute-440-server' is not installed, so not removed
Package 'libnvidia-compute-450-server' is not installed, so not removed
Package 'libnvidia-decode-418-server' is not installed, so not removed
Package 'libnvidia-decode-440-server' is not installed, so not removed
Package 'libnvidia-decode-450-server' is not installed, so not removed
Package 'libnvidia-encode-418-server' is not installed, so not removed
Package 'libnvidia-encode-440-server' is not installed, so not removed
Package 'libnvidia-encode-450-server' is not installed, so not removed
Package 'libnvidia-extra-440-server' is not installed, so not removed
Package 'libnvidia-extra-450-server' is not installed, so not removed
Package 'libnvidia-fbc1-418-server' is not installed, so not removed
Package 'libnvidia-fbc1-440-server' is not installed, so not removed
Package 'libnvidia-fbc1-450-server' is not installed, so not removed
Package 'libnvidia-gl-418-server' is not installed, so not removed
Package 'libnvidia-gl-440-server' is not installed, so not removed
Package 'libnvidia-gl-450-server' is not installed, so not removed
Package 'libnvidia-ifr1-418-server' is not installed, so not removed
Package 'libnvidia-ifr1-440-server' is not installed, so not removed
Package 'libnvidia-ifr1-450-server' is not installed, so not removed
Package 'libnvidia-cfg1-415' is not installed, so not removed
Package 'libnvidia-cfg1-418' is not installed, so not removed
Package 'libnvidia-cfg1-435' is not installed, so not removed
Package 'libnvidia-cfg1-455' is not installed, so not removed
Package 'libnvidia-common-415' is not installed, so not removed
Package 'libnvidia-common-418' is not installed, so not removed
Package 'libnvidia-common-435' is not installed, so not removed
Package 'libnvidia-common-455' is not installed, so not removed
Package 'libnvidia-compute-415' is not installed, so not removed
Package 'libnvidia-compute-418' is not installed, so not removed
Package 'libnvidia-compute-435' is not installed, so not removed
Package 'libnvidia-compute-455' is not installed, so not removed
Package 'libnvidia-decode-415' is not installed, so not removed
Package 'libnvidia-decode-418' is not installed, so not removed
Package 'libnvidia-decode-435' is not installed, so not removed
Package 'libnvidia-decode-455' is not installed, so not removed
Package 'libnvidia-encode-415' is not installed, so not removed
Package 'libnvidia-encode-418' is not installed, so not removed
Package 'libnvidia-encode-435' is not installed, so not removed
Package 'libnvidia-encode-455' is not installed, so not removed
Package 'libnvidia-extra-455' is not installed, so not removed
Package 'libnvidia-fbc1-415' is not installed, so not removed
Package 'libnvidia-fbc1-418' is not installed, so not removed
Package 'libnvidia-fbc1-435' is not installed, so not removed
Package 'libnvidia-fbc1-455' is not installed, so not removed
Package 'libnvidia-gl-415' is not installed, so not removed
Package 'libnvidia-gl-418' is not installed, so not removed
Package 'libnvidia-gl-435' is not installed, so not removed
Package 'libnvidia-gl-455' is not installed, so not removed
Package 'libnvidia-ifr1-415' is not installed, so not removed
Package 'libnvidia-ifr1-418' is not installed, so not removed
Package 'libnvidia-ifr1-435' is not installed, so not removed
Package 'libnvidia-ifr1-455' is not installed, so not removed
Package 'libnvidia-compute-460' is not installed, so not removed
The following packages were automatically installed and are no longer required:
cuda-libraries-10-0 libxnvctrl0 nvidia-dkms-410 nvidia-kernel-common-410 nvidia-kernel-source-410 nvidia-modprobe nvidia-prime
nvidia-settings screen-resolution-extra
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
cuda-10-0 cuda-demo-suite-10-0 cuda-drivers cuda-runtime-10-0 libcuda1-384 libnvidia-cfg1-410 libnvidia-common-410
libnvidia-compute-410 libnvidia-decode-410 libnvidia-encode-410 libnvidia-fbc1-410 libnvidia-gl-410 libnvidia-ifr1-410
nvidia-compute-utils-410 nvidia-driver-410 nvidia-headless-410 nvidia-headless-no-dkms-410 nvidia-opencl-icd-384 nvidia-utils-410
xserver-xorg-video-nvidia-410
0 upgraded, 0 newly installed, 20 to remove and 27 not upgraded.
After this operation, 279 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 414327 files and directories currently installed.)
Removing cuda-10-0 (10.0.130-1) ...
Removing cuda-demo-suite-10-0 (10.0.130-1) ...
Removing cuda-runtime-10-0 (10.0.130-1) ...
Removing cuda-drivers (410.48-1) ...
Removing libcuda1-384 (410.48-0ubuntu1) ...
Removing nvidia-driver-410 (410.48-0ubuntu1) ...
Removing xserver-xorg-video-nvidia-410 (410.48-0ubuntu1) ...
Removing libnvidia-cfg1-410:amd64 (410.48-0ubuntu1) ...
Removing libnvidia-ifr1-410:amd64 (410.48-0ubuntu1) ...
Removing libnvidia-gl-410:amd64 (410.48-0ubuntu1) ...
Removing libnvidia-common-410 (410.48-0ubuntu1) ...
Removing libnvidia-encode-410:amd64 (410.48-0ubuntu1) ...
Removing libnvidia-decode-410:amd64 (410.48-0ubuntu1) ...
Removing nvidia-utils-410 (410.48-0ubuntu1) ...
Removing libnvidia-fbc1-410:amd64 (410.48-0ubuntu1) ...
Removing nvidia-opencl-icd-384 (410.48-0ubuntu1) ...
Removing nvidia-headless-410 (410.48-0ubuntu1) ...
Removing nvidia-headless-no-dkms-410 (410.48-0ubuntu1) ...
Removing nvidia-compute-utils-410 (410.48-0ubuntu1) ...
Removing libnvidia-compute-410:amd64 (410.48-0ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
Should I now run sudo apt autoremove
as stated in the code above? Also, are the errors shown from sudo apt remove cuda*
and suda apt remove nvidia*
ok or do they also require fixing?
Thank you!