On Thu, Jun 11, 2020 at 4:10 AM Neil Bothwick <[email protected]> wrote:
>
> >
> >      sudo emerge -vauU portage 2>&1 | tee -a portage.200611
> >
> > !!! The following update has been skipped due to unsatisfied
> > dependencies:
> >
> > sys-apps/portage:0
> >
> >    selected: (sys-apps/portage-2.3.13-r1:0/0::gentoo, installed)
> >    skipped: (sys-apps/portage-2.3.99-r2:0/0::gentoo, ebuild scheduled
> > for merge) (see unsatisfied dependency below)
> >
> > !!! All ebuilds that could satisfy
> > "dev-lang/python:3.7[bzip2(+),threads(+)]" have been masked.
> > !!! One of the following masked packages is required to complete your
> > request:
> > - dev-lang/python-3.9.0_beta3::gentoo (masked by: EAPI 7)
> > - dev-lang/python-3.9.0_beta2::gentoo (masked by: EAPI 7)
> > - dev-lang/python-3.9.0_beta1::gentoo (masked by: EAPI 7)
> > - dev-lang/python-3.9.0_alpha6::gentoo (masked by: EAPI 7)
> > - dev-lang/python-3.8.3::gentoo (masked by: EAPI 7)
> > - dev-lang/python-3.8.2-r2::gentoo (masked by: EAPI 7)
> > - dev-lang/python-3.8.2-r1::gentoo (masked by: EAPI 7)
> > - dev-lang/python-3.7.7-r2::gentoo (masked by: EAPI 7)
> > - dev-lang/python-3.7.7-r1::gentoo (masked by: EAPI 7)
> > - dev-lang/python-3.6.10-r2::gentoo (masked by: EAPI 7)
> > - dev-lang/python-3.6.10-r1::gentoo (masked by: EAPI 7)
> > - dev-lang/python-2.7.18::gentoo (masked by: EAPI 7)
> > - dev-lang/python-2.7.17-r2::gentoo (masked by: EAPI 7)
> >
> > The current version of portage supports EAPI '6'. You must upgrade to a
> > newer version of portage before EAPI masked packages can be installed.
> > (dependency required by
> > "sys-apps/portage-2.3.99-r2::gentoo[python_targets_python3_7]" [ebuild])
> > For more information, see the MASKED PACKAGES section in the emerge
> > man page or refer to the Gentoo Handbook.

So, I'll first echo Neil's comments regarding non-updated config
files, the news items, and the world file.  You need to deal with the
basics before you start with open heart surgery.

Here is what is going on at a high level:

Your current version of portage doesn't support EAPI 7, which was
introduced quite a while ago - so long ago that we no longer guarantee
a trivial update process, though it probably isn't too hard to work
through.

Portage itself uses EAPI 5 in the current releases, which is mainly
because we want to try to make it at least somewhat straightforward to
update on older systems.  However, the default profiles are all
pushing updated versions of python, and python uses EAPI7 across the
board.  What you need to do is update portage without touching python
first, and then worry about python.

Portage wants to pull in python 3.7 because all packages are being
configured by default to support python 3.7.  The version of portage
you're trying to install supports python 3.6, 3.7, and 3.8.  As long
as you already have any of those installed you probably should be able
to update just portage, which resolves the EAPI issue, and then you
can update python or anything else.

What version(s) of python do you have installed?
Ways to obtain this info are:
qlist -IRv dev-lang/python
equery list python
eselect list python

(The first two are more useful but require non-default packages to be
installed, the last is a bit more limited but should work anywhere.)

Based on that I can probably give you a command line that will just
update portage without touching anything else.  Then once portage is
updated you can proceed.  Don't be surprised if it wants to rebuild
itself again with the more current settings - that is fine.  We're
just getting things bootstrapped enough so that you can keep making
progress.

Most likely what you're probably going to end up wanting to try is:
USE="python_targets_python3_6 -python_targets_python3_7" emerge -p1v
sys-apps/portage
(Remove the -p if the output of that looks sane.)

That will temporarily adjust the python dependency settings for just
that one command.  You shouldn't use that USE setting any further
after that - this is just to get portage updated once to allow python
to be updated in the future - you don't want to stick with 3.6 forever
and in a little while you won't even have that option.

-- 
Rich

Reply via email to