Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] "masked by: EAPI 7" trying up update "portage" - how to proceed
Date: Thu, 11 Jun 2020 08:10:39
Message-Id: 20200611091031.770b9102@digimed.co.uk
In Reply to: [gentoo-user] "masked by: EAPI 7" trying up update "portage" - how to proceed by n952162
1 On Thu, 11 Jun 2020 08:47:50 +0200, n952162 wrote:
2
3 > I haven't clue what to do here.  Can somebody supply a good URL or
4 > explanation?
5 >
6 > The emerge(1) man page says:
7 >
8 >        EAPI   The EAPI variable in an ebuild(5) file is used to mask
9 > packages that are not
10 >               supported  by  the  current  version of portage. Packages
11 > masked by EAPI can
12 >               only be installed after portage has been upgraded.
13 >
14 > but it's precisely portage that I'm trying to update.
15 >
16 > The comand was:
17 >
18 >     sudo emerge -vauU portage 2>&1 | tee -a portage.200611
19 >
20 >
21 > 01~>cat /tmp/portage.200611
22 >
23 >  * IMPORTANT: 2 config files in '/etc/portage' need updating.
24
25 Which config files need updating and why haven't you updated them? It may
26 be relevant.
27
28 >
29 > These are the packages that would be merged, in order:
30 >
31 > Calculating dependencies
32 >  * IMPORTANT: 25 news items need reading for repository 'gentoo'.
33 >  * Use eselect news read to view new items.
34
35 Why haven't you read these? There were recent news items relating to
36 python changes, which may have a direct bearing on your situation.
37
38 >
39 >  * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
40 >  * sections of the emerge man page to learn how to update config files.
41 > .... done!
42 >
43 > Total: 0 packages, Size of downloads: 0 KiB
44 >
45 > !!! The following update has been skipped due to unsatisfied
46 > dependencies:
47 >
48 > sys-apps/portage:0
49 >
50 >   selected: (sys-apps/portage-2.3.13-r1:0/0::gentoo, installed)
51 >   skipped: (sys-apps/portage-2.3.99-r2:0/0::gentoo, ebuild scheduled
52 > for merge) (see unsatisfied dependency below)
53 >
54 > !!! All ebuilds that could satisfy
55 > "dev-lang/python:3.7[bzip2(+),threads(+)]" have been masked.
56 > !!! One of the following masked packages is required to complete your
57 > request:
58 > - dev-lang/python-3.9.0_beta3::gentoo (masked by: EAPI 7)
59 > - dev-lang/python-3.9.0_beta2::gentoo (masked by: EAPI 7)
60 > - dev-lang/python-3.9.0_beta1::gentoo (masked by: EAPI 7)
61 > - dev-lang/python-3.9.0_alpha6::gentoo (masked by: EAPI 7)
62 > - dev-lang/python-3.8.3::gentoo (masked by: EAPI 7)
63 > - dev-lang/python-3.8.2-r2::gentoo (masked by: EAPI 7)
64 > - dev-lang/python-3.8.2-r1::gentoo (masked by: EAPI 7)
65 > - dev-lang/python-3.7.7-r2::gentoo (masked by: EAPI 7)
66 > - dev-lang/python-3.7.7-r1::gentoo (masked by: EAPI 7)
67 > - dev-lang/python-3.6.10-r2::gentoo (masked by: EAPI 7)
68 > - dev-lang/python-3.6.10-r1::gentoo (masked by: EAPI 7)
69 > - dev-lang/python-2.7.18::gentoo (masked by: EAPI 7)
70 > - dev-lang/python-2.7.17-r2::gentoo (masked by: EAPI 7)
71 >
72 > The current version of portage supports EAPI '6'. You must upgrade to a
73 > newer version of portage before EAPI masked packages can be installed.
74 > (dependency required by
75 > "sys-apps/portage-2.3.99-r2::gentoo[python_targets_python3_7]" [ebuild])
76 > For more information, see the MASKED PACKAGES section in the emerge
77 > man page or refer to the Gentoo Handbook.
78
79 This is the basic problem, you have a very old version of portage, how
80 long since this system was updated? Is this the same one you have been
81 asking questions about belated updates before? Did you try everything
82 suggested?
83
84 >  * sys-apps/portage
85 >
86 >
87 > Would you like to add these packages to your world favorites? [Yes/No]
88 > >>> Recording sys-apps/portage in "world" favorites file...
89
90 You don't want basic system commands in your world file. This has been
91 explained to you before, and the need to use --oneshot when updating
92 individual packages. It is quite possible that world file pollution has
93 some bearing on your situation.
94
95 Deal with the outstanding issues of updates, news and the world file
96 before trying to proceed. Even if it doesn't fix every problem, it makes
97 the output much easier to parse when all that detail is gone.
98
99
100 --
101 Neil Bothwick
102
103 Those who live by the sword get shot by those who don't.

Replies