Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] unclear package collisions in nvidia-drivers-295.20-r1
Date: Wed, 15 Feb 2012 16:15:31
Message-Id: CAEH5T2MJ_DtubTVmQK+Y7D8jDdudedf50E5pWYcEYEBYSVebKA@mail.gmail.com
In Reply to: [gentoo-user] unclear package collisions in nvidia-drivers-295.20-r1 by Allan Gottlieb
1 On Wed, Feb 15, 2012 at 10:00 AM, Allan Gottlieb <gottlieb@×××.edu> wrote:
2 > Nvidia-drivers fails with package collisions
3 >
4 >  * Detected file collision(s):
5 >  *
6 >  *      /usr/lib32/libnvidia-compiler.so
7 >  *      /usr/lib32/libcuda.so
8 >  *      /usr/lib32/libcuda.so.1
9 >  *      /usr/lib64/libnvidia-compiler.so
10 >  *      /usr/lib64/libcuda.so
11 >  *      /usr/lib64/libcuda.so.1
12 >
13 > But the owner of all these (via a symlink) is the currently installed
14 > version of nvidia-drivers.  For example
15 >
16 >    ajglap gottlieb # equery b /usr/lib32/libcuda.so.1
17 >     * Searching for /usr/lib32/libcuda.so.1 ...
18 >    x11-drivers/nvidia-drivers-290.10-r1 (/usr/lib32/OpenCL/vendors/nvidia/libcuda.so.290.10)
19 >
20 >    ajglap gottlieb # ls -l !$
21 >    ls -l /usr/lib32/libcuda.so.1
22 >    lrwxrwxrwx 1 root root 39 Feb 13 19:29 /usr/lib32/libcuda.so.1 -> OpenCL/vendors/nvidia/libcuda.so.290.10
23 >
24 > So I don't really see the collision.  Is the correct procedure
25 >
26 > 1.  Copy the 12 files (both ends of the 6 links) someplace else
27 > 2.  Get out of X
28 > 3.  Try the emerge again
29 >
30 > thanks,
31 > allan
32
33 Are the collisions with owned files, or just files that it doesn't
34 know about? i use protect-owned so it will overwrite any unknown
35 files, but abort on files owned by another known installed package. If
36 portage does not report them as owned by another package I think it's
37 usually safe to override (unless you have been installing things
38 outside of portage).

Replies