Gentoo Archives: gentoo-user

From: Allan Gottlieb <gottlieb@×××.edu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] unclear package collisions in nvidia-drivers-295.20-r1
Date: Wed, 15 Feb 2012 19:14:26
Message-Id: yu9vcn7gbd0.fsf@nyu.edu
In Reply to: Re: [gentoo-user] unclear package collisions in nvidia-drivers-295.20-r1 by Mark Knecht
1 On Wed, Feb 15 2012, Mark Knecht wrote:
2
3 > On Wed, Feb 15, 2012 at 8:12 AM, Paul Hartman
4 > <paul.hartman+gentoo@×××××.com> wrote:
5 >> On Wed, Feb 15, 2012 at 10:00 AM, Allan Gottlieb <gottlieb@×××.edu> wrote:
6 >>> Nvidia-drivers fails with package collisions
7 >>>
8 >>>  * Detected file collision(s):
9 >>>  *
10 >>>  *      /usr/lib32/libnvidia-compiler.so
11 >>>  *      /usr/lib32/libcuda.so
12 >>>  *      /usr/lib32/libcuda.so.1
13 >>>  *      /usr/lib64/libnvidia-compiler.so
14 >>>  *      /usr/lib64/libcuda.so
15 >>>  *      /usr/lib64/libcuda.so.1
16 >>>
17 >>> But the owner of all these (via a symlink) is the currently installed
18 >>> version of nvidia-drivers.  For example
19 >>>
20 >>>    ajglap gottlieb # equery b /usr/lib32/libcuda.so.1
21 >>>     * Searching for /usr/lib32/libcuda.so.1 ...
22 >>>    x11-drivers/nvidia-drivers-290.10-r1 (/usr/lib32/OpenCL/vendors/nvidia/libcuda.so.290.10)
23 >>>
24 >>>    ajglap gottlieb # ls -l !$
25 >>>    ls -l /usr/lib32/libcuda.so.1
26 >>>    lrwxrwxrwx 1 root root 39 Feb 13 19:29 /usr/lib32/libcuda.so.1 -> OpenCL/vendors/nvidia/libcuda.so.290.10
27 >>>
28 >>> So I don't really see the collision.  Is the correct procedure
29 >>>
30 >>> 1.  Copy the 12 files (both ends of the 6 links) someplace else
31 >>> 2.  Get out of X
32 >>> 3.  Try the emerge again
33 >>>
34 >>> thanks,
35 >>> allan
36 >>
37 >> Are the collisions with owned files, or just files that it doesn't
38 >> know about? i use protect-owned so it will overwrite any unknown
39 >> files, but abort on files owned by another known installed package. If
40 >> portage does not report them as owned by another package I think it's
41 >> usually safe to override (unless you have been installing things
42 >> outside of portage).
43 >>
44 >
45 > It may be related to all the OpenCL stuff that was just included in
46 > this last set of nvidia-driver packages. Possibly the ebuild hasn't
47 > handled the new stuff correctly?
48 >
49 > - Mark
50
51 Perhaps. All the files are links to files with OpenCL in the path.
52
53 But I am still unsure what to do.
54 I mentioned a three step procedure above.
55 Perhaps best is to do nothing and hope -r2 will come along and
56 install cleanly.
57 Toward that end should I file a bug at bugs.gentoo.org?
58
59 allan

Replies

Subject Author
Re: [gentoo-user] unclear package collisions in nvidia-drivers-295.20-r1 Mark Knecht <markknecht@×××××.com>