biocyberman Posted April 27, 2018 Report Share Posted April 27, 2018 Found the "wrong" version of glibc installed (version 2.26-r6) which does not have xlocale.h. I was ignorant to remove glibc because I did not see any way to downgrade to version 2.25-r11. Now portage does not work, all vital system commands stop working: id uid=1000 gid=1000 groups=1000,10,27,35,100,106,993,994 sudo su sudo: unknown uid 1000: who are you? wget from root terminal fails: /tmp/portage-2.3.8 # /tmp/portage-2.3.8/bin/emerge -1k sys-apps/portage !!! Repository name or alias 'gentoo', defined for repository 'core-kit', overrides existing alias or repository. !!! Repository 'gentoo' is missing masters attribute in '/usr/portage/metadata/layout.conf' !!! Set 'masters = core-kit' in this file for future compatibility portage: 'portage' user or group missing. For the defaults, line 1 goes into passwd, and 2 into group. portage:x:250:250:portage:/var/tmp/portage:/bin/false portage::250:portage *** WARNING *** For security reasons, only system administrators should be *** WARNING *** allowed in the portage group. Untrusted users or processes *** WARNING *** can potentially exploit the portage group for attacks such as *** WARNING *** local privilege escalation. WARNING: One or more repositories have missing repo_name entries: /usr/portage/profiles/repo_name NOTE: Each repo_name entry should be a plain text file containing a unique name for the repository on the first line. Calculating dependencies... done! !!! The following installed packages are masked: - app-emulation/wine-2.3::gentoo (masked by: package.mask) /var/git/meta-repo/kits/core-kit/profiles/package.mask/00-gentoo: # Michał Górny <firstname.lastname@example.org> (28 Nov 2017) # Replaced by split packages. Please install one of: # - app-emulation/wine-vanilla (the only choice for stable) # - app-emulation/wine-staging # - app-emulation/wine-d3d9 # - app-emulation/wine-any # For more information, please read the news item: # https://www.gentoo.org/support/news-items/2017-04-10-split-and-slotted-wine.html # If you really need the old ebuilds, you can use the 'wine' repository. # Removal in 30 days. For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. >>> Verifying ebuild manifests >>> Emerging (1 of 3) dev-lang/python-3.4.6-r1::python-kit * Fetching files in the background. * To view fetch progress, run in another terminal: * tail -f /var/log/emerge-fetch.log >>> Downloading 'http://distfiles.gentoo.org/distfiles/Python-3.4.6.tar.xz' --2018-04-27 13:45:55-- http://distfiles.gentoo.org/distfiles/Python-3.4.6.tar.xz Resolving distfiles.gentoo.org... failed: Device or resource busy. wget: unable to resolve host address ‘distfiles.gentoo.org’ >>> Downloading 'http://www.python.org/ftp/python/3.4.6/Python-3.4.6.tar.xz' --2018-04-27 13:45:55-- http://www.python.org/ftp/python/3.4.6/Python-3.4.6.tar.xz Resolving www.python.org... failed: Device or resource busy. wget: unable to resolve host address ‘www.python.org’ !!! Couldn't download 'Python-3.4.6.tar.xz'. Aborting. * Fetch failed for 'dev-lang/python-3.4.6-r1', Log file: * '/var/tmp/portage/dev-lang/python-3.4.6-r1/temp/build.log' >>> Failed to emerge dev-lang/python-3.4.6-r1, Log file: >>> '/var/tmp/portage/dev-lang/python-3.4.6-r1/temp/build.log' * Messages for package dev-lang/python-3.4.6-r1: * Fetch failed for 'dev-lang/python-3.4.6-r1', Log file: * '/var/tmp/portage/dev-lang/python-3.4.6-r1/temp/build.log' My question is, how do I rescue this system? I posting from this broken computer because it has not been rebooted since the incident. Link to comment Share on other sites More sharing options...
Found the "wrong" version of glibc installed (version 2.26-r6) which does not have xlocale.h. I was ignorant to remove glibc because I did not see any way to downgrade to version 2.25-r11. Now portage does not work, all vital system commands stop working:
wget from root terminal fails:
My question is, how do I rescue this system? I posting from this broken computer because it has not been rebooted since the incident.
Link to comment
Share on other sites
5 answers to this question
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now