1 |
I found this helpful in managing kernel versions |
2 |
|
3 |
https://www.youtube.com/watch?v=UwvV2wf-Gk0 |
4 |
|
5 |
On Wed, Jan 3, 2018 at 3:41 PM, Stroller <stroller@××××××××××××××××××.uk> |
6 |
wrote: |
7 |
|
8 |
> |
9 |
> > On 3 Jan 2018, at 22:11, Alan McKinnon <alan.mckinnon@×××××.com> wrote: |
10 |
> > |
11 |
> >>>> |
12 |
> >>>> $ grep -e source /var/lib/portage/world |
13 |
> >>>> sys-kernel/gentoo-sources:4.9.34 |
14 |
> >>> ... |
15 |
> >> |
16 |
> >> I guess this risks that emerge will try to install 4.9.34-r1 during a |
17 |
> 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 |
> Yes, in the quoted example above I grepped my world file for sources and |
22 |
> 4.9.34 is currently installed. |
23 |
> |
24 |
> >> |
25 |
> >>> If you do want to use versions, I'd recommend using ~ rather than = to |
26 |
> >>> pick up patch-level updates. |
27 |
> >> |
28 |
> >> What do you mean by this exactly, please? |
29 |
> > |
30 |
> > =4.9.34 selects that exact version and only that specific version |
31 |
> > ~4.9.34 select that version and also 4.9.34-r1. There might need to be a |
32 |
> > * on the end of ~4.9.34, I don;t quite recall. Answer in portage's man |
33 |
> pages |
34 |
> |
35 |
> I thought it was something like that, but searched `man portage` for "~" |
36 |
> more than one way, and didn't find reference to this. Am I blind? |
37 |
> |
38 |
> Stroller. |
39 |
> |
40 |
> |
41 |
> |