View previous topic :: View next topic |
Author |
Message |
Sol33t303 n00b
Joined: 23 Mar 2018 Posts: 65
|
Posted: Mon Jun 18, 2018 2:26 pm Post subject: Can't get gentoo to install a binary package |
|
|
The issue is more complex than what I could fit in the title. Here is a picture of the error http://imgur.com/B2hqUTG. I accidentally shot myself in the foot and uninstalled glibc. Following https://wiki.gentoo.org/wiki/Fix_My_Gentoo I managed to create a glibc binary for my system an I have put it in /usr/portage/packages/sys-libs but it shows the error in my picture. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54214 Location: 56N 3W
|
Posted: Mon Jun 18, 2018 2:42 pm Post subject: |
|
|
Sol33t303,
It looks like your portage tree is missing.
Inside the chroot you need Code: | env-update
source /etc/profile |
You env-update was missed.
Don't even think about using glibc-9999. That's live as it happens.
Hmm. You can't chroot with glibc gone because bash needs it.
Code: | $ lddtree /bin/bash
/bin/bash (interpreter => /lib64/ld-linux-x86-64.so.2)
libreadline.so.7 => /lib64/libreadline.so.7
libncurses.so.6 => /lib64/libncurses.so.6
libdl.so.2 => /lib64/libdl.so.2
libc.so.6 => /lib64/libc.so.6 |
Get the same version of glibc as you had and keep reading that wiki page.
You will need to use the tar method. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30887 Location: here
|
Posted: Mon Jun 18, 2018 2:45 pm Post subject: |
|
|
Your /etc/portage/make.profile symlink point to an non-existent path (in your case /var/lib/layman/unity-gentoo...).
Your /var is a separate partition? If yes is mounted? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
|