The problem here is two packages are installing the same binary file 
'/usr/lib/*/libOpenCL.so' without declaring a breaks/replaces or conflicts 
relationship between them, and so apt-get does not know to remove the other.
This either needs to be fixed in nvidia-cuda-toolkit or ocl-icd.

ocl-icd is shipping this file in ocl-icd-libopencl1 instead of ocl-icd-
opencl-dev, which is against Debian policy, see
https://bugs.debian.org/679228

nvidia-cuda-toolkit lists 'nvidia-opencl-dev (= 5.5.22-3ubuntu2~ppa1) |
opencl-dev' among its dependencies, so as a workaround, we can help apt-
get by installing ocl-icd-opencl-dev to provide opencl-dev, but we need
to do it in the correct order:

sudo apt-get install nvidia-cuda toolkit
sudo apt-get install ocl-icd-opencl-dev  (this will remove nvidia-libopencl1-* 
and nvidia-opencl-dev)
sudo apt-get install wine

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1247736

Title:
  package ocl-icd-libopencl1 (not installed) failed to install/upgrade:
  trying to overwrite '/usr/lib/x86_64-linux-gnu/libOpenCL.so', which is
  also in package nvidia-opencl-dev:amd64 5.0.35-7ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-cuda-toolkit/+bug/1247736/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to