suilab
March 19th, 2015, 10:48 PM
I installed cuda7 on a new ubuntu 14.04 LTS workstation and received the following error massage.
-------------
dpkg: error processing archive /var/cache/apt/archives/nvidia-opencl-icd-346_346.47-0ubuntu1~xedgers14.04.1_amd64.deb (--unpack):
trying to overwrite '/etc/OpenCL/vendors/nvidia.icd', which is also in package nvidia-opencl-icd-331-updates 331.113-0ubuntu0.0.4
Errors were encountered while processing:
/var/cache/apt/archives/nvidia-opencl-icd-346_346.47-0ubuntu1~xedgers14.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
-------------
It is probably related to that a nvidia 331 driver was installed before I set upi cuda7. However, cuda7 perfromed remvoing 331 driver automatically as I watched during the DEB installation...Anyhow, the problem can not be corrected with "apt-get -f install". Please help!
Donner
-------------
dpkg: error processing archive /var/cache/apt/archives/nvidia-opencl-icd-346_346.47-0ubuntu1~xedgers14.04.1_amd64.deb (--unpack):
trying to overwrite '/etc/OpenCL/vendors/nvidia.icd', which is also in package nvidia-opencl-icd-331-updates 331.113-0ubuntu0.0.4
Errors were encountered while processing:
/var/cache/apt/archives/nvidia-opencl-icd-346_346.47-0ubuntu1~xedgers14.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
-------------
It is probably related to that a nvidia 331 driver was installed before I set upi cuda7. However, cuda7 perfromed remvoing 331 driver automatically as I watched during the DEB installation...Anyhow, the problem can not be corrected with "apt-get -f install". Please help!
Donner