Go to the line containing reference to Nvidia repo and comment it by appending # in front of the line, for e.g. By downloading and using the software, you agree to fully comply with the terms and conditions of the CUDA EULA. Run the following to delete it: sudo vim /etc/apt/sources.list Click on the green buttons that describe your target platform. If you get the problem of broken packages, it has happened since you added repo to the apt/sources.lst. Sudo /usr/local/cuda-11.4/bin/cuda-uninstaller Use it for the uninstallation instead: # To uninstall cuda If you have installed via source files (assuming the default location to be /use/local) then remove it using: sudo rm -rf /usr/local/cuda*įrom cuda 11.4 onwards, an uninstaller script has been provided. To remove Nvidia drivers: sudo apt-get -purge remove "*nvidia*" To remove cuda toolkit: sudo apt-get -purge remove "*cublas*" "cuda*" "nsight*" If you have installed using apt-get use the following to remove the packages completely from the system: Uninstall cuda driver drivers#There are two things- nvidia drivers and cuda toolkit- which you may want to remove. var/cache/apt/archives/libcublas-dev_10.2.0.168-1_bĮ: Sub-process /usr/bin/dpkg returned an error code (1) Trying to overwrite '/usr/lib/x86_64-linux-gnu/libcublas_static.a', which is also in package nvidia-cuda-dev 9.1.85-3ubuntu1ĭpkg-deb: error: paste subprocess was killed by signal (Broken pipe)Įrrors were encountered while processing: Uninstall cuda driver archive#]ĭpkg: error processing archive /var/cache/apt/archives/libcublas-dev_10.2.0.168-1_b (-unpack): On win 7 I was able to uninstall drivers, restart my. I did disable the automatic drivers installation in the Device Installation settings but to no avail. 253408 files and directories currently installed.) So today Ive noticed there is no way for me to remove Nvidia drivers before installing new one because win will simply reinstall older version. The following additional packages will be installed:ġ upgraded, 0 newly installed, 0 to remove and 145 not upgraded.Īfter this operation, 3,458 kB disk space will be freed. Then I tried to run 'apt -fix-broken install', but got the following error: Reading package lists. Try 'apt -fix-broken install' with no packages (or specify a solution). You might want to run 'apt -fix-broken install' to correct these. I have ubuntu 18.04, and accidentally installed cuda 9.1 to run Tensorflow-gpu, but it seems tensorflow-gpu requires cuda 10.0, so I want to remove cuda first by executing: sudo apt-get remove -auto-remove nvidia-cuda-toolkit
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |