Comment 3 for bug 1320217

Revision history for this message
Tristan Schmelcher (tschmelcher) wrote :

The wine / nvidia-libopencl1-331-updates co-installability problem is due to more than just bug 1313123 and the fix to bug 1313123 has not fixed this issue:

user@hostname:~$ apt-cache policy nvidia-libopencl1-331-updates
nvidia-libopencl1-331-updates:
  Installed: 331.38-0ubuntu7.1
  Candidate: 331.38-0ubuntu7.1
  Version table:
 *** 331.38-0ubuntu7.1 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/restricted amd64 Packages
        100 /var/lib/dpkg/status
     331.38-0ubuntu7 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/restricted amd64 Packages
user@hostname:~$ sudo apt-get install wine
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  ocl-icd-libopencl1 ocl-icd-libopencl1:i386 wine1.6 wine1.6-amd64
  wine1.6-i386:i386
Suggested packages:
  opencl-icd:i386 dosbox:any
The following packages will be REMOVED:
  nvidia-libopencl1-331-updates
The following NEW packages will be installed:
  ocl-icd-libopencl1 ocl-icd-libopencl1:i386 wine wine1.6 wine1.6-amd64
  wine1.6-i386:i386
0 upgraded, 6 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B/32.5 MB of archives.
After this operation, 245 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
user@hostname:~$

The cause is described in https://bugs.launchpad.net/ubuntu/+source/ocl-icd/+bug/1247736/comments/33 :

"The core of the conflict is nvidia drivers package includes only libopenc1 but did not include libopencl-1.1-1 in its Provides while Wine requires both libopencl1 and libopencl-1.1-1. Specifying last one like that instead of just 1.1 seems wrong and besides is it really necessary when you already specified libopencl1? I think wine should remove it "libopencl-1.1-1" from its depends and just keep libopencl1."

This is still the case:

user@hostname:~$ apt-cache show nvidia-libopencl1-331-updates
...
Replaces: libopencl1
Provides: libopencl1
...
Conflicts: libopencl1
...
user@hostname:~$ apt-cache show wine1.6-amd64
...
Depends: ..., libopencl-1.1-1, ..., ocl-icd-libopencl1 (>= 1.0) | libopencl1, ...
...
user@hostname:~$

Either wine must not depend on libopencl-1.1-1 or nvidia-libopencl1-331-updates must provide it.