Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] old kernels are installed during the upgrade
Date: Wed, 03 Jan 2018 22:53:14
Message-Id: 442b8f35-50ca-65c2-a919-f905ce19e72b@gmail.com
In Reply to: Re: [gentoo-user] old kernels are installed during the upgrade by Stroller
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

Replies

Subject Author
Re: [gentoo-user] old kernels are installed during the upgrade Stroller <stroller@××××××××××××××××××.uk>