1 |
On 6 Jan, Walt Rarus wrote: |
2 |
> I've never experienced this phenomenon prior to gentoo-sources-2.6.31.-r6. |
3 |
> I've always emerged gentoo-sources and they peacefully sat there and waited |
4 |
> until I built the corresponding kernel later when I felt like it - if ever. |
5 |
> With 2.6.31-r6, however, the emerge fails and consequently screws up 'emerge |
6 |
> world' attempts. PITA. |
7 |
> |
8 |
> Any recommended workarounds or fixes? |
9 |
> |
10 |
> ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
11 |
> I've pieced the following together from the console and elogv: |
12 |
> |
13 |
> ERROR: preinst |
14 |
> This package will overwrite one or more files that may belong to other |
15 |
> packages (see list below). You can use a command such as `portageq |
16 |
> owners / <filename>` to identify the installed package that owns |
17 |
> a |
18 |
> file. If portageq reports that only one package owns a file then do |
19 |
> NOT file a bug report. A bug report is only useful if it identifies at |
20 |
> least two or more packages that are known to install the same file(s). |
21 |
> If a collision occurs and you can not explain where the file came from |
22 |
> then you should simply ignore the collision since there is not enough |
23 |
> information to determine if a real problem exists. Please do NOT file |
24 |
> a bug report at http://bugs.gentoo.org unless you report exactly which |
25 |
> two packages install the same file(s). Once again, please do NOT file |
26 |
> a bug report unless you have completely understood the above message. |
27 |
> |
28 |
> package sys-kernel/gentoo-sources-2.6.31-r6 NOT merged |
29 |
> |
30 |
> Detected file collision(s): |
31 |
> |
32 |
> * /usr/src/linux-2.6.31-gentoo-r6/Makefile |
33 |
> * /usr/src/linux-2.6.31-gentoo-r6/Kbuild |
34 |
> .... gazillion similar ellided |
35 |
*** SNIP *** |
36 |
|
37 |
So, please check where these files came from by |
38 |
|
39 |
qfile /usr/src/linux-2.6.31-gentoo-r6/Makefile |
40 |
|
41 |
Have you installed this kernel 'by hand' i.e. outside of portage? |
42 |
|
43 |
Check by uname -a if you are not currently running linux-2.6.31-r6 |
44 |
|
45 |
If not, it's safe to rm -rf /usr/src/linux-2.6.31-gentoo-r6 |
46 |
and emerge it again. |
47 |
|
48 |
Helmut. |
49 |
|
50 |
-- |
51 |
Helmut Jarausch |
52 |
|
53 |
Lehrstuhl fuer Numerische Mathematik |
54 |
RWTH - Aachen University |
55 |
D 52056 Aachen, Germany |