我在工作中使用搅拌机,并将我的 Ubuntu 升级到 18.04。升级后,我安装了 CUDA 工具包,但现在我收到有关依赖项的错误,我想删除我安装的所有内容。我该怎么做?
mehman@HP:/opt$ sudo apt autoremove
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: libcuinj64-9.1 : Depends: libcuda1 (>= 387.26) but it is not installable or
libcuda-9.1-1 E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Run Code Online (Sandbox Code Playgroud)
mehman@HP:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... …Run Code Online (Sandbox Code Playgroud)