While ocl-icd-libopencl1 and nvidia-opencl-dev are shipping the same binary file '/usr/lib/*/libOpenCL.so', it doesn't seem to cause a problem in Debian. In Ubuntu, we have the same ocl-icd and nvidia-cuda-toolkit packages as in Debian, however our nvidia-graphics-drivers* packages are packaged differently.
In Ubuntu, nvidia-opencl-icd-331 has the following package relationships:
Depends: libc6 (>= 2.2.5), zlib1g (>= 1:1.1.4)
Suggests: nvidia-libopencl1-331
Conflicts: opencl-icd
Replaces: opencl-icd
Provides: opencl-icd
In Debian, the equivalent nvidia-opencl-icd has the following:
Depends: nvidia-opencl-common (= 331.67-1), ocl-icd-libopencl1 | nvidia-libopencl1 | libopencl1, libnvidia-compiler (= 331.67-1), libc6 (>= 2.2.5), zlib1g (>= 1:1.1.4)
Enhances: libopencl1
Conflicts: nvidia-opencl-icd-ia32
Replaces: nvidia-opencl-icd-ia32
Provides: opencl-icd
I believe the conflicts/replaces on opencl-icd in nvidia-opencl-icd-331 are causing this problem when trying to co-install nvidia-cuda-toolkit and wine (LP: #1310267) and preventing the co-installation of python-pycuda and python-pyopencl (LP: #1312422).
While ocl-icd-libopencl1 and nvidia-opencl-dev are shipping the same binary file '/usr/lib/ */libOpenCL. so', it doesn't seem to cause a problem in Debian. In Ubuntu, we have the same ocl-icd and nvidia-cuda-toolkit packages as in Debian, however our nvidia- graphics- drivers* packages are packaged differently.
In Ubuntu, nvidia- opencl- icd-331 has the following package relationships: libopencl1- 331
Depends: libc6 (>= 2.2.5), zlib1g (>= 1:1.1.4)
Suggests: nvidia-
Conflicts: opencl-icd
Replaces: opencl-icd
Provides: opencl-icd
In Debian, the equivalent nvidia-opencl-icd has the following: opencl- common (= 331.67-1), ocl-icd-libopencl1 | nvidia-libopencl1 | libopencl1, libnvidia-compiler (= 331.67-1), libc6 (>= 2.2.5), zlib1g (>= 1:1.1.4) opencl- icd-ia32 opencl- icd-ia32
Depends: nvidia-
Enhances: libopencl1
Conflicts: nvidia-
Replaces: nvidia-
Provides: opencl-icd
I believe the conflicts/replaces on opencl-icd in nvidia- opencl- icd-331 are causing this problem when trying to co-install nvidia-cuda-toolkit and wine (LP: #1310267) and preventing the co-installation of python-pycuda and python-pyopencl (LP: #1312422).