I think all nvidia-opencl-icd-* packages should Provides, Conflicts and Replaces on a new virtual package (e.g. nvidia-opencl-icd) to prevent them from overwriting each other. Similarly, the nvidia-*-uvm packages as well.
Package: #OPENCLICD# Architecture: i386 amd64 Depends: ${shlibs:Depends}, ${misc:Depends}, ocl-icd-libopencl1 | #LIBOPENCL1# Enhances: libopencl1 -Provides: opencl-icd +Conflicts: nvidia-opencl-icd +Replaces: nvidia-opencl-icd +Provides: nvidia-opencl-icd, opencl-icd Description: NVIDIA OpenCL ICD OpenCL (Open Computing Language) is a multivendor open standard for general-purpose parallel programming of heterogeneous systems that include Package: #DRIVERUVMNAME# Architecture: i386 amd64 armhf Depends: ${misc:Depends}, #DRIVERNAME# (>= #VERSION#) +Conflicts: nvidia-uvm +Replaces: nvidia-uvm +Provides: nvidia-uvm Description: NVIDIA Unified Memory kernel module This package contains the NVIDIA Unified Memory kernel module. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to nvidia-graphics-drivers-304 in Ubuntu. https://bugs.launchpad.net/bugs/1328762 Title: package nvidia-opencl-icd-331-updates (not installed) failed to install/upgrade: trying to overwrite '/etc/OpenCL/vendors/nvidia.icd', which is also in package nvidia-opencl-icd-331 331.79-0ubuntu1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-304/+bug/1328762/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp