When installing cuda, I was prompted with the following error, and the error persisted after following the instructions, and the same error persisted after running sudo apt-get update and sudo apt-get upgrade.
sudo apt-get upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies:
cuda-curand-dev-8-0 : Depends: cuda-curand-8-0 (>= 8.0.64) but it is not installed
cuda-cusolver-dev-8-0 : Depends: cuda-cusolver-8-0 (>= 8.0.64) but it is not installed
cuda-cusparse-dev-8-0 : Depends: cuda-cusparse-8-0 (>= 8.0.64) but it is not installed
cuda-nvgraph-dev-8-0 : Depends: cuda-nvgraph-8-0 (>= 8.0.64) but it is not installed
cuda-nvrtc-dev-8-0 : Depends: cuda-nvrtc-8-0 (>= 8.0.64) but it is not installed
cuda-toolkit-8-0 : Depends: cuda-nvml-dev-8-0 (>= 8.0.64) but it is not installed
E: Unmet dependencies. Try using -f.
After trying sudo dpkg –configure -a and sudo apt-get install -f, you need to open status manually
sudo vi /var/lib/dpkg/status
Then type /name on the command line, such as /cuda-curand-8-0, and press Enter (press n for the next keyword) to find the corresponding module record in the file and delete it (press dd for delete). apt-get install –f again.
Similar Posts:
- InternalError: cudaGetDevice() failed. Status: CUDA driver version is insufficient for CUDA runti…
- Error in python2.7 installation of pycrypto Library [How to Solve]
- ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory [Solved]
- [Solved] Dpkg: error: dpkg status database is locked by another process
- Error reporting in Ubuntu apt get upgrade [How to Solve]
- Ubuntu failed to install libssl dev (depending on aptitude to manage degraded software) and recorded the list of installed software in dpkg
- linux mount: unknown filesystem type ‘exfat’
- [Solved] nvidia-smi Error: Failed to initialize NVML: Driver/library version mismatch
- ImportError: libcusolver.so.8.0: cannot open shared object file: No such file or directory