安装 TensorFlow 失败后无法安装更新

安装 TensorFlow 失败后无法安装更新

Ubuntu 20.04 x86_64 GeForce GT 730 Cuda 10.1(安装 tensorflow 之前检查过,使用nvcc --version有效,但现在不行)

在我尝试安装 tensorflow 并失败后,我无法重新启动我的电脑,因为我安装了错误的 nvidia 驱动程序。然后在恢复模式下,我安装了正确的驱动程序 (390)。现在我无法 sudo apt-get 几乎任何东西,它给我错误。

例如运行sudo apt install nvidia-cuda-toolkit

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libnvidia-decode-390:i386 : Depends: libnvidia-compute-390:i386 (= 390.144-0ubuntu0.20.04.1) but it is not going to be installed
 nvidia-cuda-toolkit : Depends: nvidia-profiler (= 10.1.243-3) but it is not going to be installed
                       Depends: nvidia-cuda-dev (= 10.1.243-3) but it is not going to be installed
                       Depends: nvidia-opencl-dev (= 10.1.243-3) but it is not going to be installed or
                                opencl-dev
                       Depends: g++-8 but it is not going to be installed or
                                clang-8 but it is not going to be installed or
                                clang-7 but it is not going to be installed or
                                g++-7 but it is not going to be installed or
                                clang-6.0 but it is not going to be installed or
                                clang-5.0 but it is not installable or
                                clang-4.0 but it is not installable or
                                clang-3.9 but it is not installable or
                                clang-3.8 but it is not installable or
                                clang (< 1:9~) but it is not going to be installed or
                                g++-6 but it is not installable or
                                g++-5 but it is not installable or
                                g++-4.9 but it is not installable or
                                g++-4.8 but it is not installable
                       Recommends: nvidia-cuda-doc (= 10.1.243-3) but it is not going to be installed
                       Recommends: nvidia-cuda-gdb (= 10.1.243-3) but it is not going to be installed
                       Recommends: nvidia-visual-profiler (= 10.1.243-3) but it is not going to be installed
                       Recommends: nsight-compute (= 10.1.243-3)
                       Recommends: nsight-systems (= 10.1.243-3)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

甚至无法安装系统建议的更新 ->

更新

请帮忙!

相关内容