Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't get gentoo to install a binary package
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Sol33t303
n00b
n00b


Joined: 23 Mar 2018
Posts: 65

PostPosted: Mon Jun 18, 2018 2:26 pm    Post subject: Can't get gentoo to install a binary package Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54214
Location: 56N 3W

PostPosted: Mon Jun 18, 2018 2:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30887
Location: here

PostPosted: Mon Jun 18, 2018 2:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum