Hi All, I’m a beginner in here. I’m trying to install NVIDIA driver 384 and CUDA 7.5/8.0.
So the fisrt step that I took :
sudo apt-get purge nvidia*
and the result was like this :
You might want to run ‘apt-get -f install’ to correct these:
The following packages have unmet dependencies:
cuda-cudart-dev-8-0 : Depends: cuda-driver-dev-8-0 but it is not going to be installed
cuda-cufft-dev-8-0 : Depends: cuda-cufft-8-0 (>= 8.0.61) but it is not going to be installed
cuda-cusolver-dev-8-0 : Depends: cuda-cusolver-8-0 (>= 8.0.61) but it is not going to be installed
cuda-cusparse-dev-8-0 : Depends: cuda-cusparse-8-0 (>= 8.0.61) but it is not going to be installed
cuda-drivers : Depends: nvidia-384 (>= 384.111) but it is not going to be installed
Depends: nvidia-384-dev (>= 384.111) but it is not going to be installed
Depends: nvidia-modprobe (>= 384.111) but it is not going to be installed
Depends: nvidia-settings (>= 384.111) but it is not going to be installed
Depends: nvidia-opencl-icd-384 (>= 384.111) but it is not going to be installed
cuda-npp-dev-8-0 : Depends: cuda-npp-8-0 (>= 8.0.61) but it is not going to be installed
cuda-nvgraph-dev-8-0 : Depends: cuda-nvgraph-8-0 (>= 8.0.61) but it is not going to be installed
cuda-nvrtc-dev-8-0 : Depends: cuda-nvrtc-8-0 (>= 8.0.61) but it is not going to be installed
cuda-runtime-8-0 : Depends: cuda-nvrtc-8-0 (>= 8.0.61) but it is not going to be installed
Depends: cuda-nvgraph-8-0 (>= 8.0.61) but it is not going to be installed
Depends: cuda-cusolver-8-0 (>= 8.0.61) but it is not going to be installed
Depends: cuda-cufft-8-0 (>= 8.0.61) but it is not going to be installed
Depends: cuda-cusparse-8-0 (>= 8.0.61) but it is not going to be installed
Depends: cuda-npp-8-0 (>= 8.0.61) but it is not going to be installed
cuda-samples-8-0 : Depends: cuda-driver-dev-8-0 but it is not going to be installed
cuda-toolkit-8-0 : Depends: cuda-nvml-dev-8-0 (>= 8.0.61) but it is not going to be installed
Depends: cuda-driver-dev-8-0 (>= 8.0.61) but it is not going to be installed
cuda-visual-tools-8-0 : Depends: cuda-driver-dev-8-0 but it is not going to be installed
Depends: cuda-nvml-dev-8-0 but it is not going to be installed
libcuda1-384 : Depends: nvidia-384 but it is not going to be installed
E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution).
I’ve also tried to sudo apt-get -f install
The result was :
Unpacking cuda-nvgraph-8-0 (8.0.61-1) …
dpkg: error processing archive /var/cache/apt/archives/cuda-nvgraph-8-0_8.0.61-1_amd64.deb (–unpack):
trying to overwrite ‘/usr/local/cuda-8.0/lib64’, which is also in package cuda-cudart-8-0 8.0.61-1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
/var/cache/apt/archives/cuda-driver-dev-8-0_8.0.61-1_amd64.deb
/var/cache/apt/archives/cuda-nvrtc-8-0_8.0.61-1_amd64.deb
/var/cache/apt/archives/cuda-cusolver-8-0_8.0.61-1_amd64.deb
/var/cache/apt/archives/cuda-cufft-8-0_8.0.61-1_amd64.deb
/var/cache/apt/archives/cuda-cusparse-8-0_8.0.61-1_amd64.deb
/var/cache/apt/archives/cuda-npp-8-0_8.0.61-1_amd64.deb
/var/cache/apt/archives/cuda-nvml-dev-8-0_8.0.61-1_amd64.deb
/var/cache/apt/archives/cuda-nvgraph-8-0_8.0.61-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Is there any solution for this ? Thank you very much before