1 |
On 04/01/2018 00:41, Stroller wrote: |
2 |
> |
3 |
>> On 3 Jan 2018, at 22:11, Alan McKinnon <alan.mckinnon@×××××.com> wrote: |
4 |
>> |
5 |
>>>>> |
6 |
>>>>> $ grep -e source /var/lib/portage/world |
7 |
>>>>> sys-kernel/gentoo-sources:4.9.34 |
8 |
>>>> ... |
9 |
>>> |
10 |
>>> 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. |
11 |
>> |
12 |
>> Only if the highest-versioned emerged sources are <4.9.34-r1 |
13 |
> |
14 |
> Yes, in the quoted example above I grepped my world file for sources and 4.9.34 is currently installed. |
15 |
> |
16 |
>>> |
17 |
>>>> If you do want to use versions, I'd recommend using ~ rather than = to |
18 |
>>>> pick up patch-level updates. |
19 |
>>> |
20 |
>>> What do you mean by this exactly, please? |
21 |
>> |
22 |
>> =4.9.34 selects that exact version and only that specific version |
23 |
>> ~4.9.34 select that version and also 4.9.34-r1. There might need to be a |
24 |
>> * on the end of ~4.9.34, I don;t quite recall. Answer in portage's man pages |
25 |
> |
26 |
> I thought it was something like that, but searched `man portage` for "~" more than one way, and didn't find reference to this. Am I blind? |
27 |
|
28 |
man 5 ebuild |
29 |
|
30 |
Section "Extended Atom Prefixes", it is near the top, probably first |
31 |
page on most screen sizes. |
32 |
|
33 |
The location is very non-obvious, I only know of it because I refr to it |
34 |
often once I found it |
35 |
|
36 |
|
37 |
-- |
38 |
Alan McKinnon |
39 |
alan.mckinnon@×××××.com |