Bug#695883: nvidia-libopencl1: improper opencl-icd dependency

Bob Bib bobbibmpn at mail.ru
Fri Dec 14 00:53:01 UTC 2012

Package: nvidia-libopencl1
Version: 304.48-1
Severity: normal

Dear Maintainer,

it looks like the following recommends line is wrong:
"Recommends: opencl-icd | nvidia-opencl-icd";

("opencl-icd" is a purely virtual package provided by
"amd-opencl-icd" and "nvidia-opencl-icd");

this line perhaps should be changed to
"Recommends: nvidia-opencl-icd | opencl-icd"
(or even to simply "Recommends: nvidia-opencl-icd"),

because at the current state, it mistakenly pulls the 1st package
by alphabetical order (i. e., AMD package instead of Nvidia one):

# apt-get install nvidia-libopencl1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
Recommended packages:
  opencl-icd nvidia-opencl-icd
The following NEW packages will be installed:
  amd-opencl-icd nvidia-libopencl1

-- Package-specific info:
Linux version 3.2.0-4-amd64 (debian-kernel at lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-12) ) #1 SMP Debian 3.2.32-1

NVRM version: NVIDIA UNIX x86_64 Kernel Module  304.48  Sun Sep  9 20:22:27 PDT 2012
GCC version:  gcc version 4.6.3 (Debian 4.6.3-11) 

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

More information about the pkg-nvidia-devel mailing list