Gentoo Archives: gentoo-user

From: Daniel Frey <djqfrey@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Preventing new versions of gentoo-sources…
Date: Thu, 20 Jun 2019 00:16:50
Message-Id: 7af48037-712f-e76d-d621-46a772be7692@gmail.com
In Reply to: Re: [gentoo-user] Preventing new versions of gentoo-sources… by Grant Taylor
1 On 6/19/19 11:27 AM, Grant Taylor wrote:
2 > On 6/19/19 11:37 AM, Vadim A. Misbakh-Soloviov wrote:
3 >> echo '>sys-kernel/gentoo-sources-4.15' >>
4 >> /etc/portage/package.mask/kernels
5 >
6 > Perfect!
7 >
8 > Thank you.  :-)
9 >
10 > I did name the file /etc/portage/package.mask/gentoo-sources as I like
11 > to name the file after the package that it's meant to effect.
12 >
13 > The testing is even better than I had originally hoped.
14 > gentoo-sources-4.14.127.ebuild came in since I did my updates a few days
15 > ago.  So now emerge is telling me there is a new version of
16 > gentoo-sources, that is within my specified parameters.  :-)
17 >
18 >
19 >
20
21 I was thinking about this for a bit, and thought that maybe adding the
22 slot to the package in /var/lib/portage/world would work.
23
24 So, using `emerge --select` and `emerge --deselect` I set up my world
25 file this way:
26
27 # grep -i gentoo-sources /var/lib/portage/world
28 sys-kernel/gentoo-sources:4.14.105-r1
29 sys-kernel/gentoo-sources:4.14.114
30 sys-kernel/gentoo-sources:4.14.83
31
32 I removed all other kernel packages manually so only those three are
33 installed.
34
35 However, portage still wants to install the latest gentoo-sources, even
36 though the generic "sys-kernel/gentoo-sources" is absent from the world
37 file.
38
39 I figured this would be a way to manually update the kernel without
40 having to manually add and remove masks. Darn.
41
42 That's not how I'd expect portage to handle that situation (or maybe
43 it's just me?) Can a dev chime in?
44
45 Dan

Replies

Subject Author
Re: [gentoo-user] Preventing new versions of gentoo-sources… Dale <rdalek1967@×××××.com>
Re: [gentoo-user] Preventing new versions of gentoo-sources… Neil Bothwick <neil@××××××××××.uk>