1 |
On 04/01/2018 00:07, Stroller wrote: |
2 |
> |
3 |
>> On 3 Jan 2018, at 21:53, Neil Bothwick <neil@××××××××××.uk> wrote: |
4 |
>>> |
5 |
>>> It installs exactly that version, and that exact version is recorded in |
6 |
>>> the world file. |
7 |
>>> |
8 |
>>> $ grep -e source /var/lib/portage/world |
9 |
>>> sys-kernel/gentoo-sources:4.9.34 |
10 |
>> |
11 |
>> That's not a version, it's a slot. Whilst kernels are currently slotted |
12 |
>> with the version number, nothing else is and there is no guarantee that |
13 |
>> this will also hold for kernels. |
14 |
> |
15 |
> Fair enough, but there's nothing else I need to treat this way. |
16 |
> |
17 |
> I guess this risks that emerge will try to install 4.9.34-r1 during a future update, but I don't believe I've ever experienced that. |
18 |
|
19 |
Only if the highest-versioned emerged sources are <4.9.34-r1 |
20 |
> |
21 |
>> If you do want to use versions, I'd recommend using ~ rather than = to |
22 |
>> pick up patch-level updates. |
23 |
> |
24 |
> What do you mean by this exactly, please? |
25 |
|
26 |
=4.9.34 selects that exact version and only that specific version |
27 |
~4.9.34 select that version and also 4.9.34-r1. There might need to be a |
28 |
* on the end of ~4.9.34, I don;t quite recall. Answer in portage's man pages |
29 |
|
30 |
|
31 |
-- |
32 |
Alan McKinnon |
33 |
alan.mckinnon@×××××.com |