Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

System broken after updating glibc

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
DrGreenthumb
n00b
n00b
Posts: 17
Joined: Thu Aug 21, 2003 5:20 pm
Location: Germany

System broken after updating glibc

  • Quote

Post by DrGreenthumb » Sun Jun 11, 2006 9:59 am

Hi
I have tryed to update glibc on my amd64 system.
The compilation went fine but while installation emerge failed. After that i couldn't start any programms.
If i try the boot the system it stops at:
Booting initramfs
chroot: cannot execute /bin/sh: no such file or directory
kernelpanic - not syncing: attemped to kill init

I have tried to boot from a live cd and then chroot to my harddisk but chroot failed too.
/bin/sh exists and it is a link to /bin/bash

I have no idea what to do now :(
Top
jamapii
l33t
l33t
User avatar
Posts: 637
Joined: Thu Sep 16, 2004 6:22 pm

  • Quote

Post by jamapii » Sun Jun 11, 2006 11:35 am

I think booting from a recent livecd, mounting all the partitions of your system, then

ROOT=/path/to/your/system emerge --oneshot glibc

could undo the damage.

Your glibc update has probably gone wrong in such a way that it didn't even install important parts of glibc, but the old version has been uninstalled. Now when you execute /bin/bash, it looks for glibc, and THIS results in "no such file or directory". I've seen it before.[/code]
Top
DrGreenthumb
n00b
n00b
Posts: 17
Joined: Thu Aug 21, 2003 5:20 pm
Location: Germany

  • Quote

Post by DrGreenthumb » Sun Jun 11, 2006 12:15 pm

thanks for your fast answer

I have mounted my harddisks and tried:

Code: Select all

 ROOT=/mnt/gentoo/ /mnt/gentoo/usr/bin/emerge --oneshot glibc
but emerge produces an error message for each line. import: command not found and so on ....
So i have changed the first line to #!/mnt/gentoo/usr/bin/python but then python fails as no libpython can be found.
Setting $ROOT to my system dir did not help :(

Another interesting thing might be

Code: Select all

ldd /mnt/gentoo/bin/bash
There is no missing library!?
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic