[Bug 1247736] Re: [SRU] nvidia-opencl-icd-* should not conflicts/replaces on opencl-icd

Launchpad Bug Tracker 1247736 at bugs.launchpad.net
Thu Jul 17 09:40:58 UTC 2014


This bug was fixed in the package nvidia-graphics-drivers-304-updates -
304.123-0ubuntu1

---------------
nvidia-graphics-drivers-304-updates (304.123-0ubuntu1) utopic; urgency=medium

  [ Graham Inggs ]
  * debian/templates/control.in:
    - Remove conflicts/replaces on opencl-icd, and depend on
      ocl-icd-libopencl1 | nvidia-libopencl1-* (LP: #1247736).
  [ Alberto Milone ]
  * debian/substvars:
    - Add support for X ABI 18.
  * debian/templates/dkms.conf.in:
    - Drop all kernel patches.
  * New upstream release:
    - Improved compatibility with recent Linux kernels.
    - Fixed a bug that could result in system instability while
      restoring the VGA console.
    - Fixed an interaction problem with xserver 1.15 that
      occasionally caused OpenGL applications to continue rendering
      when they are minimized or unmapped.
    - Updated nvidia-bug-report.sh to search the systemd journal for
      X server logs and messages from the NVIDIA kernel module.
    - Added support for X.org xserver ABI 18 (xorg-server 1.16).
    - Fixed a bug that caused corruption or blank screens on monitors
      that use EDID version 1.3 or older when they are connected via
      DisplayPort on graphics boards that use external DisplayPort
      encoders, such as the Quadro FX 4800.
 -- Alberto Milone <alberto.milone at canonical.com>   Wed, 16 Jul 2014 16:01:18 +0200

** Changed in: nvidia-graphics-drivers-304-updates (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1247736

Title:
  [SRU] nvidia-opencl-icd-* should not conflicts/replaces on opencl-icd

Status in “nvidia-cuda-toolkit” package in Ubuntu:
  Invalid
Status in “nvidia-graphics-drivers-304” package in Ubuntu:
  Fix Released
Status in “nvidia-graphics-drivers-304-updates” package in Ubuntu:
  Fix Released
Status in “nvidia-graphics-drivers-331” package in Ubuntu:
  Fix Released
Status in “nvidia-graphics-drivers-331-updates” package in Ubuntu:
  Fix Released
Status in “nvidia-graphics-drivers-340” package in Ubuntu:
  Confirmed
Status in “ocl-icd” package in Ubuntu:
  Invalid
Status in “nvidia-cuda-toolkit” source package in Trusty:
  Invalid
Status in “nvidia-graphics-drivers-304” source package in Trusty:
  New
Status in “nvidia-graphics-drivers-304-updates” source package in Trusty:
  Confirmed
Status in “nvidia-graphics-drivers-331” source package in Trusty:
  Confirmed
Status in “nvidia-graphics-drivers-331-updates” source package in Trusty:
  Confirmed
Status in “nvidia-graphics-drivers-340” source package in Trusty:
  Invalid
Status in “ocl-icd” source package in Trusty:
  Invalid

Bug description:
  [Impact]
  Users with proprietary Nvidia graphics drivers are unable to co-install CUDA and OpenCL applications.
  The patches in comment #21 and #22 backport the fix from Utopic and resolve this issue by allowing nvidia-opencl-icd-* (Nvidia's OpenCL ICD) to be co-installed with ocl-icd-libopencl1 (the generic OpenCL ICD loader).

  [Test Case]
  sudo apt-get install nvidia-331 or sudo apt-get install nvidia-331-updates (does not require an Nvidia graphics card)
  sudo apt-get install python-pycuda
  sudo apt-get install python-pyopencl

  This will result in the error message below.

  The following packages have unmet dependencies:
   python-pyopencl : Depends: libopencl-1.1-1
                     Depends: libopencl-1.2-1
                     Depends: ocl-icd-libopencl1 but it is not going to be installed
  E: Unable to correct problems, you have held broken packages.

  A similar conflict exists between wine and nvidia-cuda-toolkit.

  sudo apt-get install nvidia-331 or sudo apt-get install nvidia-331-updates (does not require an Nvidia graphics card)
  sudo apt-get install wine
  sudo apt-get install nvidia-cuda-toolkit

  This will result in a warning similar to the one below.

  The following extra packages will be installed:
    nvidia-libopencl1-331 nvidia-opencl-dev
  The following packages will be REMOVED:
    ocl-icd-libopencl1 ocl-icd-libopencl1:i386 wine wine1.6 wine1.6-amd64
    wine1.6-i386:i386
  The following NEW packages will be installed:
    nvidia-cuda-toolkit nvidia-libopencl1-331 nvidia-opencl-dev

  [Regression Potential]
  This fix only affects the relationships between packages and should not introduce any new bugs.  However, since packages that were previously difficult to install together will now be co-installable, new bugs in those packages may be exposed.

  [Other Info]
  It is possible to work around this issue by first installing the CUDA application, then installing ocl-icd-opencl-dev, and finally installing the OpenCL application. (See comment #7)

  ---------------------------------------------------------------------------

  Don't know.

  ProblemType: Package
  DistroRelease: Ubuntu 13.10
  Package: ocl-icd-libopencl1 (not installed)
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.12.5-0ubuntu2.1
  Architecture: amd64
  Date: Sun Nov  3 14:03:41 2013
  DpkgTerminalLog:
   Unpacking ocl-icd-libopencl1:amd64 (from .../ocl-icd-libopencl1_2.0.2-1ubuntu1_amd64.deb) ...
   dpkg: error processing /var/cache/apt/archives/ocl-icd-libopencl1_2.0.2-1ubuntu1_amd64.deb (--unpack):
    trying to overwrite '/usr/lib/x86_64-linux-gnu/libOpenCL.so', which is also in package nvidia-opencl-dev:amd64 5.0.35-7ubuntu1
  DuplicateSignature: package:ocl-icd-libopencl1:(not installed):trying to overwrite '/usr/lib/x86_64-linux-gnu/libOpenCL.so', which is also in package nvidia-opencl-dev:amd64 5.0.35-7ubuntu1
  ErrorMessage: trying to overwrite '/usr/lib/x86_64-linux-gnu/libOpenCL.so', which is also in package nvidia-opencl-dev:amd64 5.0.35-7ubuntu1
  InstallationDate: Installed on 2013-10-28 (6 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  MarkForUpload: True
  SourcePackage: ocl-icd
  Title: package ocl-icd-libopencl1 (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/x86_64-linux-gnu/libOpenCL.so', which is also in package nvidia-opencl-dev:amd64 5.0.35-7ubuntu1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-cuda-toolkit/+bug/1247736/+subscriptions



More information about the Ubuntu-sponsors mailing list