卸载ubuntu18.04上显卡驱动报错:
The following packages have unmet dependencies:
cuda-libraries-11-4 : Depends: cuda-cudart-11-4 (>= 11.4.148) but 11.4.43-1 is installed
Depends: cuda-nvrtc-11-4 (>= 11.4.152) but 11.4.50-1 is installed
Depends: libcublas-11-4 (>= 11.6.5.2) but 11.5.2.43-1 is installed
Depends: libcufft-11-4 (>= 10.5.2.100) but 10.5.0.43-1 is installed
Depends: libcurand-11-4 (>= 10.2.5.120) but 10.2.5.43-1 is installed
Depends: libcusolver-11-4 (>= 11.2.0.120) but 11.2.0.43-1 is installed
Depends: libcusparse-11-4 (>= 11.6.0.120) but 11.6.0.43-1 is installed
Depends: libnpp-11-4 (>= 11.4.0.110) but 11.4.0.33-1 is installed
Depends: libnvjpeg-11-4 (>= 11.5.2.120) but 11.5.1.43-1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
然后怎么也解决不了,最后输入:
sudo apt --fix-broken install -o Dpkg::Options::="--force-overwrite"
就解决问题了