On 11/12/2012 01:28:08 PM, Redcap wrote:
Today I noticed that emerge adds a colon together with an integer to the
version of every package it wants to update, e.g. it says

[ebuild U ~] kde-base/kmail-4.9.3:4 [4.9.2:4] USE="handbook kontact (-
aqua) -debug {-test}" 0 kB

I never noticed the trailing ":4" before and I have no idea what it means. I searched the gentoo website but haven't been able to find anything about it.
Does anyone what it is about?

It's the value of SLOT. There are package for which multiple versions can be installed
at the same time, e.g. on my system

eix sys-devel/gcc shows

     Available versions:
        (2.95)  (*)2.95.3-r9 (~*)2.95.3-r10^s
        (3.1)   (*)3.1.1-r2
        (3.2)   (**)3.2.2^s (*)3.2.3-r4
        (3.3)   (~)3.3.6-r1^s
        (3.4)   3.4.6-r2^s
        (4.0)   (~*)4.0.4^s
        (4.1)   4.1.2^s
        (4.2)   (~)4.2.4-r1^s
        (4.3)   (~)4.3.3-r2^s 4.3.4^s (~)4.3.5^s 4.3.6-r1^s
(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 4.4.7^s
        (4.5)   (~)4.5.1-r1^s (~)4.5.2^s 4.5.3-r2^s 4.5.4^s{tbz2}
        (4.6)   (~)4.6.0^s (~)4.6.1-r1^s (~)4.6.2^s (~)4.6.3^s{tbz2}
        (4.7)   {M}(~)4.7.0^s {M}(~)4.7.1^s{tbz2} {M}(~)4.7.2^s{tbz2}
=========^^^  SLOT value.

So, if you want to (re-)emerge the 4.6 version of gcc, you use
emerge -v1 sys-devel/gcc:4.6

(Just using emerge -v1 sys-devel/gcc would (re-)emerge the version with the highest slot value,
4.7 in this case.)

Helmut.

Reply via email to