Gentoo Archives: gentoo-user

From: n952162 <n952162@×××.de>
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 19:36:30
Message-Id: ae8fb5cc-8995-08f4-3e0d-47da7fc6ebf3@web.de
In Reply to: Re: [gentoo-user] "masked by: EAPI 7" trying up update "portage" - how to proceed by Rich Freeman
1 On 2020-06-11 14:47, Rich Freeman wrote:
2 > On Thu, Jun 11, 2020 at 4:10 AM Neil Bothwick <neil@××××××××××.uk> wrote:
3 >>> sudo emerge -vauU portage 2>&1 | tee -a portage.200611
4 >>>
5 >>> !!! The following update has been skipped due to unsatisfied
6 >>> dependencies:
7 >>>
8 >>> sys-apps/portage:0
9 >>>
10 >>> selected: (sys-apps/portage-2.3.13-r1:0/0::gentoo, installed)
11 >>> skipped: (sys-apps/portage-2.3.99-r2:0/0::gentoo, ebuild scheduled
12 >>> for merge) (see unsatisfied dependency below)
13 >>>
14 >>> !!! All ebuilds that could satisfy
15 >>> "dev-lang/python:3.7[bzip2(+),threads(+)]" have been masked.
16 >>> !!! One of the following masked packages is required to complete your
17 >>> request:
18 >>> - dev-lang/python-3.9.0_beta3::gentoo (masked by: EAPI 7)
19 >>> - dev-lang/python-3.9.0_beta2::gentoo (masked by: EAPI 7)
20 >>> - dev-lang/python-3.9.0_beta1::gentoo (masked by: EAPI 7)
21 >>> - dev-lang/python-3.9.0_alpha6::gentoo (masked by: EAPI 7)
22 >>> - dev-lang/python-3.8.3::gentoo (masked by: EAPI 7)
23 >>> - dev-lang/python-3.8.2-r2::gentoo (masked by: EAPI 7)
24 >>> - dev-lang/python-3.8.2-r1::gentoo (masked by: EAPI 7)
25 >>> - dev-lang/python-3.7.7-r2::gentoo (masked by: EAPI 7)
26 >>> - dev-lang/python-3.7.7-r1::gentoo (masked by: EAPI 7)
27 >>> - dev-lang/python-3.6.10-r2::gentoo (masked by: EAPI 7)
28 >>> - dev-lang/python-3.6.10-r1::gentoo (masked by: EAPI 7)
29 >>> - dev-lang/python-2.7.18::gentoo (masked by: EAPI 7)
30 >>> - dev-lang/python-2.7.17-r2::gentoo (masked by: EAPI 7)
31 >>>
32 >>> The current version of portage supports EAPI '6'. You must upgrade to a
33 >>> newer version of portage before EAPI masked packages can be installed.
34 >>> (dependency required by
35 >>> "sys-apps/portage-2.3.99-r2::gentoo[python_targets_python3_7]" [ebuild])
36 >>> For more information, see the MASKED PACKAGES section in the emerge
37 >>> man page or refer to the Gentoo Handbook.
38 > So, I'll first echo Neil's comments regarding non-updated config
39 > files, the news items, and the world file. You need to deal with the
40 > basics before you start with open heart surgery.
41 >
42 > Here is what is going on at a high level:
43 >
44 > Your current version of portage doesn't support EAPI 7, which was
45 > introduced quite a while ago - so long ago that we no longer guarantee
46 > a trivial update process, though it probably isn't too hard to work
47 > through.
48 >
49 > Portage itself uses EAPI 5 in the current releases, which is mainly
50 > because we want to try to make it at least somewhat straightforward to
51 > update on older systems. However, the default profiles are all
52 > pushing updated versions of python, and python uses EAPI7 across the
53 > board. What you need to do is update portage without touching python
54 > first, and then worry about python.
55 >
56 > Portage wants to pull in python 3.7 because all packages are being
57 > configured by default to support python 3.7. The version of portage
58 > you're trying to install supports python 3.6, 3.7, and 3.8. As long
59 > as you already have any of those installed you probably should be able
60 > to update just portage, which resolves the EAPI issue, and then you
61 > can update python or anything else.
62 >
63 > What version(s) of python do you have installed?
64 > Ways to obtain this info are:
65 > qlist -IRv dev-lang/python
66 > equery list python
67 > eselect list python
68
69
70 dev-lang/python-2.7.14-r1
71 dev-lang/python-3.5.4-r1
72 dev-lang/python-3.6.3-r1
73
74
75 >
76 > (The first two are more useful but require non-default packages to be
77 > installed, the last is a bit more limited but should work anywhere.)
78 >
79 > Based on that I can probably give you a command line that will just
80 > update portage without touching anything else. Then once portage is
81 > updated you can proceed. Don't be surprised if it wants to rebuild
82 > itself again with the more current settings - that is fine. We're
83 > just getting things bootstrapped enough so that you can keep making
84 > progress.
85 >
86 > Most likely what you're probably going to end up wanting to try is:
87 > USE="python_targets_python3_6 -python_targets_python3_7" emerge -p1v
88 > sys-apps/portage
89 > (Remove the -p if the output of that looks sane.)
90 >
91 > That will temporarily adjust the python dependency settings for just
92 > that one command. You shouldn't use that USE setting any further
93 > after that - this is just to get portage updated once to allow python
94 > to be updated in the future - you don't want to stick with 3.6 forever
95 > and in a little while you won't even have that option.
96 >
97 I tried that:
98
99 These are the packages that would be merged, in order:
100
101 Calculating dependencies  . ... done!
102
103 !!! All ebuilds that could satisfy
104 ">=app-crypt/openpgp-keys-gentoo-release-20180706" have been masked.
105 !!! One of the following masked packages is required to complete your
106 request:
107 - app-crypt/openpgp-keys-gentoo-release-20191030::gentoo (masked by: EAPI 7)
108
109 The current version of portage supports EAPI '6'. You must upgrade to a
110 newer version of portage before EAPI masked packages can be installed.
111 (dependency required by
112 "sys-apps/portage-9999::gentoo[-build,rsync-verify]" [ebuild])
113 (dependency required by "sys-apps/portage" [argument])
114 For more information, see the MASKED PACKAGES section in the emerge
115 man page or refer to the Gentoo Handbook.
116
117
118  * IMPORTANT: 25 news items need reading for repository 'gentoo'.
119  * Use eselect news read to view new items.

Replies