Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot update portage because of EAPI 7 mask [SOLVED]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Sun May 30, 2021 4:26 pm    Post subject: Reply with quote

ch64,

EAPI7 is several years old now. Your install must be several years out of date too.
There are two ways forward.
1. Throw away the existing install and do a new install, keeping a few important fragments from the old install.

2. Do a stepwise update following HOWTO Update Old Gentoo.

Option 1 will be much faster than option 2 but option 2 minimises downtime.
Its also a wonderful educational experience.
As ever, the choice is yours.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ch64
Guru
Guru


Joined: 09 Jun 2010
Posts: 412

PostPosted: Sun May 30, 2021 9:15 pm    Post subject: Reply with quote

Portage itself gives "EAPI 7 masked" as result.
A, I've read Neddy. Ok

update:
I just came from Dust of the Mountain Beer.
The beer is too strong. So after reboot I lost the thingy to Beer again. ;)
In clear words: Another time. ;)
Beeri issy wetje laptopje. :) noooch

So my big advice: Dont let Beer Beer next to Laptop. :lol:
And still there is a difference between Notebook (Asshole) and Laptop (Lenovo Asshole)
The third thingy is interesting.
*rylps*
Back to top
View user's profile Send private message
dewhite
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2003
Posts: 106
Location: Houston, Texas, USA

PostPosted: Fri Jul 16, 2021 8:00 pm    Post subject: Reply with quote

jody wrote:
In the mean time i found a workaround:
Code:
emerge --unmerge --oneshot dev-python/certifi
emerge --unmerge --oneshot dev-python/setuptools

emerge --oneshot portage

At this point portage emerged without a problem.
After this
Code:
emerge --oneshot dev-python/certifi
emerge --oneshot dev-python/setuptools
because i don't know who might be needing these packages.


This was helpful to me today in resolving conflicts on a system overdue for update. Strange this thread is from 2019, but I am having this problem in mid-2021. My last world update was only late February of this year...

In any case, I wanted to share with future searchers that I had to remove a few additional packages to proceed:

Code:
emerge -avC1 setuptools certifi urllib3 PySocks idna chardet requests

Code:
emerge -av1 portage


I was prepared to reinstall all of the removed packages after the successful update with:
Code:
# emerge -av1 setuptools certifi urllib3 PySocks idna chardet requests


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-python/certifi-10001-r1::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 0 KiB
[ebuild   R    ] dev-python/setuptools-57.0.0::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 0 KiB
[ebuild   R    ] dev-python/PySocks-1.7.1-r1::gentoo  PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 0 KiB
[ebuild   R    ] dev-python/idna-3.2::gentoo  PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 0 KiB
[ebuild   R    ] dev-python/chardet-4.0.0::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 0 KiB
[ebuild   R    ] dev-python/urllib3-1.26.5::gentoo  USE="-brotli -test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 0 KiB
[ebuild   R    ] dev-python/requests-2.25.1-r2::gentoo  USE="-socks5 -test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 0 KiB

but found that it was not necessary because each of the listed packages with pulled in by the portage update. I guess they're all necessary for something...
_________________
Work FS: R7-5700g | 2x16Gb DDR4 | 500Gb NVMe LUKS root | 2x 8TB RAID1
Home FS: R7-1700x | 2x8Gb DDR4 | 275Gb M.2 SATA LUKS root | 2x 14TB RAID1
Back to top
View user's profile Send private message
Brumi-2021
n00b
n00b


Joined: 17 Oct 2021
Posts: 7

PostPosted: Sun Oct 17, 2021 8:53 am    Post subject: Reply with quote

mocsokmike wrote:
You are right!
Thank you all for your help!
I also needed to update python to 3.6, because the new portage requires it (otherwise the build fails).

These were the exact steps to fix my problem:
Code:
emerge --sync
emerge -qav python
USE='-rsync-verify' emerge -qavO portage
emerge -qav portage

Gentoo forums is still the best!


Thanks for sharing it !!!! I also had similar problem with many errors related to EAPI 7 --> EAPI 8 . finally solved in my (Pentoo) Gentoo following your steps .
I had an old portage and old python and it gave me many errors , related to (masked by EAPI 8) not suported in current portage version.

After apply your steps ,

emerge --sync
emerge -qav python
USE='-rsync-verify' emerge -qavO portage
emerge -qav portage


I could also update correctly , python , portage , and later also the kernel update,

* python3_8 -> python3_9 updated // dev-lang/python-3.8.9_p2::gentoo ⇒ dev-lang/python-3.9.7_p1::gentoo
* Portage updated to portage 3.0.20-r6 // sys-apps/portage-3.0.20-r6::gentoo
* kernel 5.12.19 ==> kernel 5.14.10

Step by step , keeping clean and update the Gentoo System , thanks .

(additional edit comment ------------------------------------------------------------------------------------------)
Once solved the problem , it is a good practice to enable back again ,USE "rsync verify",

Since verify is the default you can likely just

"emerge -a1 portage"

and after that , you can check that "rsync veryfy" , USE flag is activated , with the command ,

equery uses portage

you should see,

+ + rsync-verify : Enable full-tree cryptographic verification of
Gentoo repository rsync checkouts using
app-portage/gemato.




Thanks a lot !

Moved from Gentoo Forums Feedback and merged here, the user has used the report button instead of quote -- fedeliallalinea
Back to top
View user's profile Send private message
kohina
n00b
n00b


Joined: 21 Dec 2016
Posts: 10

PostPosted: Sun Dec 19, 2021 1:44 pm    Post subject: Reply with quote

dewhite wrote:
jody wrote:
In the mean time i found a workaround:
Code:
emerge --unmerge --oneshot dev-python/certifi
emerge --unmerge --oneshot dev-python/setuptools

emerge --oneshot portage

At this point portage emerged without a problem.
After this
Code:
emerge --oneshot dev-python/certifi
emerge --oneshot dev-python/setuptools
because i don't know who might be needing these packages.


This was helpful to me today in resolving conflicts on a system overdue for update. Strange this thread is from 2019, but I am having this problem in mid-2021. My last world update was only late February of this year...

In any case, I wanted to share with future searchers that I had to remove a few additional packages to proceed:

Code:
emerge -avC1 setuptools certifi urllib3 PySocks idna chardet requests

Code:
emerge -av1 portage


I was prepared to reinstall all of the removed packages after the successful update with:
Code:
# emerge -av1 setuptools certifi urllib3 PySocks idna chardet requests


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-python/certifi-10001-r1::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 0 KiB
[ebuild   R    ] dev-python/setuptools-57.0.0::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 0 KiB
[ebuild   R    ] dev-python/PySocks-1.7.1-r1::gentoo  PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 0 KiB
[ebuild   R    ] dev-python/idna-3.2::gentoo  PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 0 KiB
[ebuild   R    ] dev-python/chardet-4.0.0::gentoo  USE="-test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 0 KiB
[ebuild   R    ] dev-python/urllib3-1.26.5::gentoo  USE="-brotli -test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 0 KiB
[ebuild   R    ] dev-python/requests-2.25.1-r2::gentoo  USE="-socks5 -test" PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" 0 KiB

but found that it was not necessary because each of the listed packages with pulled in by the portage update. I guess they're all necessary for something...


Thank you! This brought back an old box not updated for over a year...
_________________
I was once surrounded by beautiful gentoo boxen but they've all withered away due to portagetic arrest (death resulting from portage failure). The atom, the core2duo, the athlon... may these brave souls find peace in the afterlife.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum