package nvidia-opencl-icd-331 (not installed) failed to install/upgrade: trying to overwrite '/etc/OpenCL/vendors/nvidia.icd', which is also in package nvidia-opencl-icd-331-updates 331.38-0ubuntu7.1

Bug #1353214 reported by Joseph Kane
108
This bug affects 24 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-331 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

An error popped up while attempting to install nvidia drivers through additional software sources.

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: nvidia-opencl-icd-331 (not installed)
ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
Date: Tue Aug 5 22:27:19 2014
DuplicateSignature: package:nvidia-opencl-icd-331:(not installed):trying to overwrite '/etc/OpenCL/vendors/nvidia.icd', which is also in package nvidia-opencl-icd-331-updates 331.38-0ubuntu7.1
ErrorMessage: trying to overwrite '/etc/OpenCL/vendors/nvidia.icd', which is also in package nvidia-opencl-icd-331-updates 331.38-0ubuntu7.1
InstallationDate: Installed on 2014-04-18 (110 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
SourcePackage: nvidia-graphics-drivers-331
Title: package nvidia-opencl-icd-331 (not installed) failed to install/upgrade: trying to overwrite '/etc/OpenCL/vendors/nvidia.icd', which is also in package nvidia-opencl-icd-331-updates 331.38-0ubuntu7.1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Joseph Kane (j-kane-third) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nvidia-graphics-drivers-331 (Ubuntu):
status: New → Confirmed
Revision history for this message
Dunkirk (david-davidkrider) wrote :

This is probably from adding the ubuntu-x-swat/x-updates PPA.

Revision history for this message
Herman van der Vaart (herman-hvandervaart) wrote :

This error occurred when trying to get my NVIDIA GTX765M Optimus to work after the upgrade to 14.04.1.
In 12.04 I used Bumblebee to get it to work. In 14.04 I purged Bumblebee and tried to install NVIDIA-Prime via:

sudo apt-get purge bumblebee*
sudo apt-get install nvidia-prime (That part worked)

and the prime-indicator:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install prime-indicator (This did not work

During reboot this error immediately occurs. Nvidia prime does NOT show the PRIME profiles and the prime-indicator does not appear.

For good order: I checked my PPA settings and I do NOT have the ubuntu-x-swat/x-updates setting.

Suggestions??

Revision history for this message
Herman van der Vaart (herman-hvandervaart) wrote :

FOLLOW-UP:

I retried to install prime-indicator and that was successful this time.
However: NVIDIA Prime still does NOT show the prime profiles and though the prime-indicator is now present and allows me to do a quick switch (the X-server is restarted), the only active graphics is the Mesa DRI Intel Haswell Mobile graphics.

This is the listing from the prime indicator installation (2nd time). It is translated from Dutch to English.

herman@XNBnotebook:~$ sudo apt-get install prime-indicator
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd
De status informatie wordt gelezen... Klaar
prime-indicator is already latest version.
0 packages upgraded, 0 packages newly installed, 0 to be removed and 11 not upgraded.
5 packages not completely installed or removed.
This operation uses 0 B extra diskspace.
Do you want to continue? [J/n] J
Instellen van ocl-icd-libopencl1:amd64 (2.1.3-4) ...
Instellen van libcuda1-331 (331.38-0ubuntu7.1) ...
Instellen van nvidia-331 (331.38-0ubuntu7.1) ...
update-alternatives: using /usr/share/nvidia-331/glamor.conf to provide /usr/share/X11/xorg.conf.d/glamoregl.conf (glamor_conf) in auto mode
INFO:Enable nvidia-331
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
Toevoegen systeemgebruiker `nvidia-persistenced' (Groepsnummer 119)...
Nieuwe groep `nvidia-persistenced' (GID 130) toevoegen...
Nieuwe gebruiker `nvidia-persistenced' (UID 119) met groep `nvidia-persistenced' toevoegen...
Gebruikersmap `/' is niet aangemaakt.
Loading new nvidia-331-331.38 DKMS files...
First Installation: checking all kernels...
Building only for 3.13.0-32-generic
Building for architecture x86_64
Building initial module for 3.13.0-32-generic
Done.

nvidia_331:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.13.0-32-generic/updates/dkms/

depmod....

DKMS: install completed.
Instellen van python-appindicator (12.10.1+13.10.20130920-0ubuntu4) ...
Instellen van prime-indicator (0.1-1+git20140109~webupd8~0) ...
Processing triggers for libc-bin (2.19-0ubuntu6.1) ...
herman@XNBnotebook:~$

Do I need to get the proprietary drivers from NVIDIA????

Revision history for this message
Frank Perrott (fran2) wrote :
Download full text (5.3 KiB)

(synaptic:19848): GLib-CRITICAL **: g_child_watch_add_full: assertion 'pid > 0' failed
(Reading database ... 358139 files and directories currently installed.)
Removing libcuda1-331-updates (331.38-0ubuntu7.1) ...
Removing nvidia-331-updates (331.38-0ubuntu7.1) ...
Removing all DKMS Modules
Done.
update-alternatives: using /usr/lib/nvidia-331-updates-prime/ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode
update-alternatives: using /usr/lib/nvidia-331-updates-prime/alt_ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode
update-alternatives: using /usr/lib/i386-linux-gnu/mesa/ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode
INFO:Disable nvidia-331-updates
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
stop: Unknown instance:
update-initramfs: deferring update (trigger activated)
dpkg: nvidia-libopencl1-331-updates: dependency problems, but removing anyway as you requested:
 nvidia-opencl-icd-331-updates depends on ocl-icd-libopencl1 | nvidia-libopencl1-331-updates; however:
  Package ocl-icd-libopencl1 is not installed.
  Package nvidia-libopencl1-331-updates is to be removed.

Removing nvidia-libopencl1-331-updates (331.38-0ubuntu7.1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for initramfs-tools (0.103ubuntu4.2) ...
update-initramfs: Generating /boot/initrd.img-3.13.0-34-generic
Selecting previously unselected package ocl-icd-libopencl1:i386.
(Reading database ... 357941 files and directories currently installed.)
Preparing to unpack .../ocl-icd-libopencl1_2.1.3-4_i386.deb ...
Unpacking ocl-icd-libopencl1:i386 (2.1.3-4) ...
Selecting previously unselected package libcuda1-331.
Preparing to unpack .../libcuda1-331_331.38-0ubuntu7.1_i386.deb ...
Unpacking libcuda1-331 (331.38-0ubuntu7.1) ...
Selecting previously unselected package nvidia-331.
Preparing to unpack .../nvidia-331_331.38-0ubuntu7.1_i386.deb ...
Unpacking nvidia-331 (331.38-0ubuntu7.1) ...
Selecting previously unselected package nvidia-opencl-icd-331.
Preparing to unpack .../nvidia-opencl-icd-331_331.38-0ubuntu7.1_i386.deb ...
Unpacking nvidia-opencl-icd-331 (331.38-0ubuntu7.1) ...
dpkg: error processing archive /var/cache/apt/archives/nvidia-opencl-icd-331_331.38-0ubuntu7.1_i386.deb (--unpack):
 trying to overwrite '/usr/lib/i386-linux-gnu/libnvidia-opencl.so.331.38', which is also in package nvidia-opencl-icd-331-updates 331.38-0ubuntu7.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for doc-base (0.10.5) ...
Processing 1 added doc-base file...
Registering documents with scrollkeeper...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
 /var/cache/apt/archives/nvidia-opencl-icd-331_331.38-0ubuntu7.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an ...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.