On Thu, Jun 11, 2020 at 4:43 PM n952162 <[email protected]> wrote: > > On 2020-06-11 22:35, Rich Freeman wrote: > > On Thu, Jun 11, 2020 at 4:28 PM n952162 <[email protected]> wrote: > >> On 2020-06-11 22:01, Rich Freeman wrote: > >>> Try: > >>> USE="python_targets_python3_6 -python_targets_python3_7 -rsync-verify" > >>> emerge -p1v =sys-apps/portage-2.3.99-r2 > >>> > >> Sorry, try again. > >> > >> * IMPORTANT: 2 config files in '/etc/portage' need updating. > >> > >> These are the packages that would be merged, in order: > >> > >> Calculating dependencies * See the CONFIGURATION FILES and > >> CONFIGURATION FILES UPDATE TOOLS > >> * sections of the emerge man page to learn how to update config files. > >> .... . ... done! > >> [ebuild U ] sys-apps/portage-2.3.99-r2::gentoo [2.3.13-r1::gentoo] > >> USE="(ipc) native-extensions xattr -apidoc% -build -doc -gentoo-dev% > >> -rsync-verify% (-selinux) (-epydoc%)" PYTHON_TARGETS="python3_6* > >> (-pypy3) -python3_7% (-python3_8) (-pypy%) (-python2_7%*) (-python3_4%) > >> (-python3_5%*)" 1028 KiB > >> [blocks B ] <app-portage/gentoolkit-0.4.6 > >> ("<app-portage/gentoolkit-0.4.6" is blocking sys-apps/portage-2.3.99-r2) > >> > > You're actually pretty close. > > > > I think this will work: > > USE="python_targets_python3_6 -python_targets_python3_7 -rsync-verify" > > emerge -p1v =sys-apps/portage-2.3.99-r2 app-portage/gentoolkit > > > > > > !!! All ebuilds that could satisfy "app-portage/gentoolkit" have been > masked. > !!! One of the following masked packages is required to complete your > request: > - app-portage/gentoolkit-9999::gentoo (masked by: EAPI 7) > - app-portage/gentoolkit-0.5.0::gentoo (masked by: EAPI 7) > - app-portage/gentoolkit-0.4.8::gentoo (masked by: EAPI 7) > - app-portage/gentoolkit-0.4.7::gentoo (masked by: EAPI 7) > - app-portage/gentoolkit-0.4.6::gentoo (masked by: EAPI 7) >
Yeah, I wasn't thinking and didn't think to check the EAPI on it. This will break gentoolkit for a short time, but I suggest doing: quickpkg portage gentoolkit USE="python_targets_python3_6 -python_targets_python3_7 -rsync-verify" emerge -p1v --nodeps =sys-apps/portage-2.3.99-r2 USE="python_targets_python3_6 -python_targets_python3_7 -rsync-verify" emerge -p1uv app-portage/gentoolkit Check that the first emerge output is sane and JUST wants to update portage before executing it. The second will immediately update gentoolkit as the version you currently have is not compatible with the new portage, so we don't really want to leave that lying around. Refrain from running anything installed by gentoolkit in-between these two commands. However, most of the stuff that you would use is read-only anyway. The quickpkg command at the start creates a binary package of your existing portage and gentoolkit packages so that you have a better chance of recovery if anything goes wrong. In general ignoring blocks is not something you want to do, and neither is --nodeps, but I'm pretty sure it is safe in this particular situation. -- Rich

