1 |
On 11/12/2012 01:28:08 PM, Redcap wrote: |
2 |
> Today I noticed that emerge adds a colon together with an integer to |
3 |
> the |
4 |
> version of every package it wants to update, e.g. it says |
5 |
> |
6 |
> [ebuild U ~] kde-base/kmail-4.9.3:4 [4.9.2:4] USE="handbook |
7 |
> kontact (- |
8 |
> aqua) -debug {-test}" 0 kB |
9 |
> |
10 |
> I never noticed the trailing ":4" before and I have no idea what it |
11 |
> means. I |
12 |
> searched the gentoo website but haven't been able to find anything |
13 |
> about it. |
14 |
> Does anyone what it is about? |
15 |
|
16 |
It's the value of SLOT. There are package for which multiple versions |
17 |
can be installed |
18 |
at the same time, e.g. on my system |
19 |
|
20 |
eix sys-devel/gcc shows |
21 |
|
22 |
Available versions: |
23 |
(2.95) (*)2.95.3-r9 (~*)2.95.3-r10^s |
24 |
(3.1) (*)3.1.1-r2 |
25 |
(3.2) (**)3.2.2^s (*)3.2.3-r4 |
26 |
(3.3) (~)3.3.6-r1^s |
27 |
(3.4) 3.4.6-r2^s |
28 |
(4.0) (~*)4.0.4^s |
29 |
(4.1) 4.1.2^s |
30 |
(4.2) (~)4.2.4-r1^s |
31 |
(4.3) (~)4.3.3-r2^s 4.3.4^s (~)4.3.5^s 4.3.6-r1^s |
32 |
(4.4) (~)4.4.2^s (~)4.4.3-r3^s 4.4.4-r2^s 4.4.5^s 4.4.6-r1^s |
33 |
4.4.7^s |
34 |
(4.5) (~)4.5.1-r1^s (~)4.5.2^s 4.5.3-r2^s 4.5.4^s{tbz2} |
35 |
(4.6) (~)4.6.0^s (~)4.6.1-r1^s (~)4.6.2^s (~)4.6.3^s{tbz2} |
36 |
(4.7) {M}(~)4.7.0^s {M}(~)4.7.1^s{tbz2} {M}(~)4.7.2^s{tbz2} |
37 |
=========^^^ SLOT value. |
38 |
|
39 |
So, if you want to (re-)emerge the 4.6 version of gcc, you use |
40 |
emerge -v1 sys-devel/gcc:4.6 |
41 |
|
42 |
(Just using emerge -v1 sys-devel/gcc would (re-)emerge the version with |
43 |
the highest slot value, |
44 |
4.7 in this case.) |
45 |
|
46 |
Helmut. |