Ubuntu版本:18.04 Apt版本:1.6.13
我尝试安装不同的 cuda 工具包,这样做可能会导致 apt 无法挽回地损坏。我相信这个问题与 cuda 无关,而 apt 在这里出了问题。
如果我运行sudo apt-get install *anything*(或 apt remove 或 apt purge),我会收到错误:
Reading package lists... Done Building dependency tree Reading state information... Done cuda is already the newest version (11.2.2-1). You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies. cuda-drivers-460 : Depends: libnvidia-common-460 (>= 460.32.03) but it is not going to be installed libnvidia-gl-460 : Depends: libnvidia-common-460 but it is not going …