Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] old kernels are installed during the upgrade
Date: Wed, 03 Jan 2018 22:41:35
Message-Id: EC34658B-67B6-41E6-B01B-35829AEA291A@stellar.eclipse.co.uk
In Reply to: Re: [gentoo-user] old kernels are installed during the upgrade by Alan McKinnon
1 > On 3 Jan 2018, at 22:11, Alan McKinnon <alan.mckinnon@×××××.com> wrote:
2 >
3 >>>>
4 >>>> $ grep -e source /var/lib/portage/world
5 >>>> sys-kernel/gentoo-sources:4.9.34
6 >>> ...
7 >>
8 >> 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.
9 >
10 > Only if the highest-versioned emerged sources are <4.9.34-r1
11
12 Yes, in the quoted example above I grepped my world file for sources and 4.9.34 is currently installed.
13
14 >>
15 >>> If you do want to use versions, I'd recommend using ~ rather than = to
16 >>> pick up patch-level updates.
17 >>
18 >> What do you mean by this exactly, please?
19 >
20 > =4.9.34 selects that exact version and only that specific version
21 > ~4.9.34 select that version and also 4.9.34-r1. There might need to be a
22 > * on the end of ~4.9.34, I don;t quite recall. Answer in portage's man pages
23
24 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?
25
26 Stroller.

Replies

Subject Author
Re: [gentoo-user] old kernels are installed during the upgrade "Herminio Hernandez
Re: [gentoo-user] old kernels are installed during the upgrade Alan McKinnon <alan.mckinnon@×××××.com>