Gentoo Archives: gentoo-user

From: n952162@×××.de
To: gentoo-user@l.g.o
Subject: Aw: Re: [gentoo-user] Updating portage, continued
Date: Mon, 03 Jun 2019 22:10:05
Message-Id: trinity-a39838ce-4789-4e00-9ad7-5a71c63382b8-1559599780309@3c-app-webde-bs35
In Reply to: Re: [gentoo-user] Updating portage, continued by Rich Freeman
1 I'm sorry, I'm not getting this yet. What if I just don't update these configuration files?
2
3 dispatch-conf tells me, for /etc/portage/package.accept_keywords:
4
5 --- /etc/portage/package.use/zz-autounmask 2018-03-12 21:56:49.172491972 +0100
6 +++ /etc/portage/package.use/._cfg0015_zz-autounmask 2018-07-28 11:08:23.725995803 +0200
7 @@ -1,2 +1,5 @@
8 >=dev-lang/python-2.7.14-r1:2.7 sqlite
9 >=sys-libs/zlib-1.2.11-r1 minizip
10 +# required by www-misc/monitorix-3.9.0::gentoo
11 +# required by monitorix (argument)
12 +>=net-analyzer/rrdtool-1.6.0-r1 perl graph
13
14 I can zap it or merge it or skip it. It looks like the emerge was successful, so, why should I do anything?
15
16 $ rrdtool
17 RRDtool 1.6.01.6.0 Copyright by Tobias Oetiker <tobi@×××××××.ch>
18
19
20 I would have thought that emerge would pend until I'd agreed to the override. But, it apparently went ahead and installed.
21 So what's required still? What will be different once I make the merge to zz-autounmask?
22
23
24
25
26 > Gesendet: Donnerstag, 30. Mai 2019 um 14:33 Uhr
27 > Von: "Rich Freeman" <rich0@g.o>
28 > An: gentoo-user@l.g.o
29 > Betreff: Re: [gentoo-user] Updating portage, continued
30 >
31 > On Wed, May 29, 2019 at 6:37 PM <n952162@×××.de> wrote:
32 > >
33 > > The next section of the response to my attempt to update portage is a long list of packages, each terminated with a "(masked by: something or other)".
34 > >
35 > > What does that tell me. If it's masked, it shouldn't be available, right? But, I've got it:
36 > >
37 > > - virtual/perl-parent-0.234.0-r1::gentoo (masked by: package.mask)
38 > >
39 > > ls virtual/perl-parent/perl-parent-0.234.0-r1.ebuild
40 > > virtual/perl-parent/perl-parent-0.234.0-r1.ebuild
41 > >
42 > > Can I get rid of it? Is perl-parent always masked?
43 > >
44 >
45 > I think one of the issues here is that you might be running a bit with
46 > scissors.
47 >
48 > It seems like you might be using package.keywords, and now you're
49 > dealing with package masks.
50 >
51 > Portage will let you override just about anything, but those default
52 > behaviors all exist for a reason and you can easily end up painting
53 > yourself into a corner. Overriding keywords is something that isn't
54 > too unsafe to do once you know what you're doing, but if you're doing
55 > it a lot it can get out of hand (adding keywords for one package can
56 > require 3 more, and if you keep that up it can really get out of
57 > hand). If you're overriding keywords frequently perhaps you should be
58 > running the testing branch in the first place, etc.
59 >
60 > Overriding masks is something that should only be done if you REALLY
61 > know what you're doing. If something is masked it might contain
62 > security vulnerabilities, or it might be going away. The consequences
63 > of the former are obvious. If it is going away then you're going to
64 > be fighting to keep things working because the next step will be
65 > removal and other packages will start being modified to not work with
66 > the old approach.
67 >
68 > Basically, any setting you put in /etc/portage is something you're
69 > going to have to work to maintain, so you should be doing whatever you
70 > can to minimize this. By all means speak up on the list about "I'm
71 > trying to accomplish this, and is there a better way to go about it?"
72 > If you're creating a ton of entries in /etc/portage you might be
73 > fighting the package manager more than necessary. There is nothing
74 > wrong with customizing things (that is basically what Gentoo is for),
75 > but you definitely need to learn how to manage that so that you don't
76 > make life hard on yourself.
77 >
78 > --
79 > Rich
80 >
81 >

Replies

Subject Author
Aw: Re: [gentoo-user] Updating portage, continued n952162@×××.de
Re: Aw: Re: [gentoo-user] Updating portage, continued Mick <michaelkintzios@×××××.com>
Re: [gentoo-user] Updating portage, continued Neil Bothwick <neil@××××××××××.uk>