Bug#755513: nvidia-opencl-dev: binary conflict with ocl-icd-libopencl1
graham at nerve.org.za
Mon Jul 21 14:41:54 UTC 2014
Installing ocl-icd-libopencl1 followed by nvidia-cuda-toolkit results in
the following error:
dpkg: error processing archive
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:
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 417 bytes
Desc: not available
More information about the pkg-nvidia-devel