Gentoo Archives: gentoo-user

From: Paul Colquhoun <paulcol@×××××××××××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] how to prevent portage from installing masked package
Date: Sun, 07 Oct 2018 00:38:26
Message-Id: 16380260.myZA5TG4Fi@bluering
In Reply to: Re: [gentoo-user] how to prevent portage from installing masked package by Jack
1 On Sunday, 7 October 2018 8:34:39 AM AEDT Jack wrote:
2 > On 2018.10.06 16:29, John Covici wrote:
3 > > On Sat, 06 Oct 2018 14:55:53 -0400, Rich Freeman wrote:
4 > > > On Sat, Oct 6, 2018 at 2:04 PM John Covici <covici@××××××××××.com>
5 > >
6 > > wrote:
7 > >>> So, I have not been able to figure this out, it did not abort and
8 > >>> wants to install the masked package, so hear is the whole output
9 > >>> --- thanks for all your help.
10 > >>
11 > >> What is the actual package.mask set to? Does the same mask cover
12 > >> both the installed and upgraded version of gtk+? It seems odd to me
13 > >> that emerge would even offer the option to continue if a package was
14 > >> masked. You might want to check with the portage team.
15 > >
16 > > The line in my /etc/portage/package.mask says
17 > > x11-libs/gtk+-3.22.30
18 >
19 > For a specific version, you probably want that to be
20 > =x11-libs/gtk+-3.22.30
21 > or
22 >
23 > >=x11-libs/gtk+-3.22.30
24 >
25 > although the # in
26 > [ebuild U #] x11-libs/gtk+-3.24.1:3::mv [3.22.30:3::gentoo]
27 > seems to show it knows it is listed in package.mask.
28
29
30 Apart from the package.mask syntax error, there is also an emerge flag you
31 might want to try:
32
33 --autounmask-keep-masks y
34
35 I added this when emerge kept asking me to unmask stuff I had manually masked.
36
37
38 --
39 Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
40 Asking for technical help in newsgroups? Read this first:
41 http://catb.org/~esr/faqs/smart-questions.html#intro

Replies

Subject Author
Re: [gentoo-user] how to prevent portage from installing masked package John Covici <covici@××××××××××.com>