Gentoo Archives: gentoo-user

From: nunojsilva@×××××××.pt
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Is this a portage bug?
Date: Wed, 15 Aug 2018 12:19:27
Message-Id: pl15jr$6uk$1@blaine.gmane.org
In Reply to: [gentoo-user] Is this a portage bug? by Peter Humphrey
1 On 2018-08-15, Peter Humphrey wrote:
2
3 > Hello list,
4 >
5 > While trying to get a USB printer recognised on an Atom box, I found this,
6 > immediately after emerge --sync && eix-update:
7 >
8 > (atom) peak / # eix -c kyocera
9 > [N] net-print/kyocera-1x2x-mfp-driver (--): Printer descriptions (PPDs) and filters for Kyocera 1x2x MFP
10 > [N] net-print/kyocera-mita-ppds ((~)8.4-r1{tbz2}): PPD description files for (some) Kyocera Mita Printers
11 > Found 2 matches
12 >
13 > (atom) peak / # emerge -pv net-print/kyocera-1x2x-mfp-driver net-print/kyocera-mita-ppds
14 >
15 > These are the packages that would be merged, in order:
16 >
17 > Calculating dependencies ... done!
18 >
19 > !!! All ebuilds that could satisfy "net-print/kyocera-1x2x-mfp-driver" have been masked.
20 > !!! One of the following masked packages is required to complete your request:
21 > - net-print/kyocera-1x2x-mfp-driver-1.1203-r1::gentoo (masked by: missing keyword)
22 >
23 > (atom) peak / # grep kyocera /etc/portage/package.keywords
24 > net-print/kyocera-1x2x-mfp-driver
25 > net-print/kyocera-mita-ppds
26 >
27 > I wonder whether the "1x2x" is confusing portage.
28
29 There is no confusion. The package isn't available for your
30 architecture/keyword.
31
32 Portage finds it, and says it is masked by "missing keyword".
33
34 "(--)" in the eix output is what eix -c shows when there's no version
35 available for your system.
36
37 You could unmask it - you can run
38
39 emerge -pv --autounmask net-print/kyocera-1x2x-mfp-driver
40
41 to see what files need to be changed and how (this won't make any
42 changes by itself).
43
44 But keep in mind, from portage(5) ("man 5 portage"):
45
46 «Additional Note: If you encounter the -* KEYWORD, this indicates
47 that the package is known to be broken on all systems which are not
48 otherwise listed in KEYWORDS. For example, a binary only package
49 which is built for x86 will look like:
50
51 games-fps/quake3-demo-1.11.ebuild:KEYWORDS="-* x86"»
52
53
54 --
55 Nuno Silva