Bug#755513: nvidia-opencl-dev: binary conflict with ocl-icd-libopencl1

Graham Inggs graham at nerve.org.za
Mon Jul 21 14:41:54 UTC 2014


Package: nvidia-opencl-dev
Version: 5.5.22-4
Severity: serious
Tags: patch

Dear maintainer

Installing ocl-icd-libopencl1 followed by nvidia-cuda-toolkit results in 
the following error:

dpkg: error processing archive 
/var/cache/apt/archives/nvidia-opencl-dev_5.5.22-4_amd64.deb (--unpack):
  trying to overwrite '/usr/lib/x86_64-linux-gnu/libOpenCL.so', which is 
also in package ocl-icd-libopencl1:amd64 2.1.3-4
Selecting previously unselected package nvidia-cuda-toolkit.
Preparing to unpack .../nvidia-cuda-toolkit_5.5.22-4_amd64.deb ...
Unpacking nvidia-cuda-toolkit (5.5.22-4) ...
Errors were encountered while processing:
  /var/cache/apt/archives/nvidia-opencl-dev_5.5.22-4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Ideally, the unversioned libOpenCL.so should not be in package 
ocl-icd-libopencl1, but please see bug #679228 for reasons why it is so.
I believe the simplest solution is for package nvidia-opencl-dev to 
simply conflict with ocl-icd-libopencl1 in addition to opencl-dev, as 
per the attached patch.

Regards
Graham


[1] https://bugs.debian.org/679228

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ocl-icd-libopencl1-conflict.diff
Type: text/x-diff
Size: 417 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20140721/33c033ca/attachment-0001.diff>


More information about the pkg-nvidia-devel mailing list