Just upgraded my system. Any command hitting portage's profile or overlays (emerge, equery, epro, etc) fail. Here's equery:
# equery l -po portage Unavailable repository 'gentoo' referenced by masters entry in '/usr/local/portage/metadata/layout.conf' !!! Unable to parse profile: '/etc/portage/make.profile' !!! ParseError: Parent 'gentoo:funtoo/1.0/linux-gnu/arch/x86-64bit' not found: '/etc/portage/make.profile/parent' Unavailable repository 'gentoo' referenced by masters entry in '/usr/local/portage/metadata/layout.conf' !!! Unable to parse profile: '/etc/portage/make.profile' !!! ParseError: Parent 'gentoo:funtoo/1.0/linux-gnu/arch/x86-64bit' not found: '/etc/portage/make.profile/parent' Unavailable repository 'gentoo' referenced by masters entry in '/usr/local/portage/metadata/layout.conf' !!! Unable to parse profile: '/etc/portage/make.profile' !!! ParseError: Parent 'gentoo:funtoo/1.0/linux-gnu/arch/x86-64bit' not found: '/etc/portage/make.profile/parent' * Searching for portage ... [I--] [??] sys-apps/portage-2.4.3-r4:0
and emerge:
# emerge world -uDNav --with-bdeps=y Unavailable repository 'gentoo' referenced by masters entry in '/usr/local/portage/metadata/layout.conf' !!! Unable to parse profile: '/etc/portage/make.profile' !!! ParseError: Parent 'gentoo:funtoo/1.0/linux-gnu/arch/x86-64bit' not found: '/etc/portage/make.profile/parent' !!! Your current profile is invalid. If you have just changed your profile !!! configuration, you should revert back to the previous configuration. !!! Allowed actions are limited to --help, --info, --search, --sync, and !!! --version.
/etc/portage/make.profile/parent is still available:
# ll /etc/portage/make.profile total 4 -rw-r--r-- 1 root root 170 Oct 14 2015 parent
and `epro --help`
# epro --help Unavailable repository 'gentoo' referenced by masters entry in '/usr/local/portage/metadata/layout.conf' !!! Unable to parse profile: '/etc/portage/make.profile' !!! ParseError: Parent 'gentoo:funtoo/1.0/linux-gnu/arch/x86-64bit' not found: '/etc/portage/make.profile/parent' Unable to find the repository name in /profiles/repo_name - exiting.
Any suggestions?