Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
env update && source
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
gdfjhgo
n00b
n00b


Joined: 15 Jun 2021
Posts: 4

PostPosted: Tue Jun 15, 2021 5:16 pm    Post subject: env update && source Reply with quote

Hello!I have a problem.When i write
Code:
env-update && source /etc/profile && export PS1="(chroot) ${PS1}"


I get
Quote:
/sbin/ldconfig: You should remove '/lib' from '/etc/ld.so.conf'
sbin/ldconfig: You should remove '/usr/lib' from '/etc/ld.so.conf'


I used nano remove their rows->ctrl+x->Yes->enter
write
Code:
env-update && source /etc/profile && export PS1="(chroot) ${PS1}"

Again see this message

Quote:
/sbin/ldconfig: You should remove '/lib' from '/etc/ld.so.conf'
sbin/ldconfig: You should remove '/usr/lib' from '/etc/ld.so.conf'


Return to /etc/ld.so.conf and see that rows come back.What i do wrong?
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Tue Jun 15, 2021 5:23 pm    Post subject: Reply with quote

Hi
Welcome to Gentoo!!!

What is your profile?
Code:

eselect profile list

Which tarball did you use?

Did you properly create the chroot and untarred the stage3 tarball?
_________________
:)
Back to top
View user's profile Send private message
gdfjhgo
n00b
n00b


Joined: 15 Jun 2021
Posts: 4

PostPosted: Tue Jun 15, 2021 5:35 pm    Post subject: Reply with quote

alamahant wrote:
Hi
Welcome to Gentoo!!!

What is your profile?
Code:

eselect profile list

Which tarball did you use?

Did you properly create the chroot and untarred the stage3 tarball?

Profile:
default/linux/amd64/17.1/desktop (stable)

Tarball
https://mirror.init7.net/gentoo/releases/amd64/autobuilds/current-stage3-amd64-uclibc-vanilla/stage3-amd64-uclibc-vanilla-20200619.tar.bz2

after download i used

Code:


tar xpvf stage3-amd64-uclibc-vanilla-20200619.tar.bz2 --xattrs-include='*.*' --numeric-owner
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Tue Jun 15, 2021 5:45 pm    Post subject: Reply with quote

Do you need this uclibc tarball?
Why dont you use this url?
https://www.gentoo.org/downloads/
A list of profiles
Code:

Available profile symlink targets:
  [1]   default/linux/amd64/17.1 (stable)
  [2]   default/linux/amd64/17.1/selinux (stable)
  [3]   default/linux/amd64/17.1/hardened (stable)
  [4]   default/linux/amd64/17.1/hardened/selinux (stable)
  [5]   default/linux/amd64/17.1/desktop (stable) *
  [6]   default/linux/amd64/17.1/desktop/gnome (stable)
  [7]   default/linux/amd64/17.1/desktop/gnome/systemd (stable)
  [8]   default/linux/amd64/17.1/desktop/plasma (stable)
  [9]   default/linux/amd64/17.1/desktop/plasma/systemd (stable)
  [10]  default/linux/amd64/17.1/desktop/systemd (stable)
  [11]  default/linux/amd64/17.1/developer (stable)
  [12]  default/linux/amd64/17.1/no-multilib (stable)
  [13]  default/linux/amd64/17.1/no-multilib/hardened (stable)
  [14]  default/linux/amd64/17.1/no-multilib/hardened/selinux (stable)
  [15]  default/linux/amd64/17.1/systemd (stable)
  [16]  default/linux/amd64/17.0 (dev)
  [17]  default/linux/amd64/17.0/selinux (dev)
  [18]  default/linux/amd64/17.0/hardened (dev)
  [19]  default/linux/amd64/17.0/hardened/selinux (dev)
  [20]  default/linux/amd64/17.0/desktop (dev)
  [21]  default/linux/amd64/17.0/desktop/gnome (dev)
  [22]  default/linux/amd64/17.0/desktop/gnome/systemd (dev)
  [23]  default/linux/amd64/17.0/desktop/plasma (dev)
  [24]  default/linux/amd64/17.0/desktop/plasma/systemd (dev)
  [25]  default/linux/amd64/17.0/developer (dev)
  [26]  default/linux/amd64/17.0/no-multilib (dev)
  [27]  default/linux/amd64/17.0/no-multilib/hardened (dev)
  [28]  default/linux/amd64/17.0/no-multilib/hardened/selinux (dev)
  [29]  default/linux/amd64/17.0/systemd (dev)
  [30]  default/linux/amd64/17.0/x32 (dev)
  [31]  default/linux/amd64/17.0/musl (exp)
  [32]  default/linux/amd64/17.0/musl/hardened (exp)
  [33]  default/linux/amd64/17.0/musl/hardened/selinux (exp)
  [34]  default/linux/amd64/17.0/uclibc (exp)
  [35]  default/linux/amd64/17.0/uclibc/hardened (exp)

Do you feel that
Code:

default/linux/amd64/17.1/desktop (stable)


is the appropriate profile for your tarball?
I am not sure........
_________________
:)
Back to top
View user's profile Send private message
gdfjhgo
n00b
n00b


Joined: 15 Jun 2021
Posts: 4

PostPosted: Wed Jun 16, 2021 4:01 pm    Post subject: Reply with quote

alamahant wrote:
Do you need this uclibc tarball?
Why dont you use this url?
https://www.gentoo.org/downloads/
A list of profiles
Code:

Available profile symlink targets:
  [1]   default/linux/amd64/17.1 (stable)
  [2]   default/linux/amd64/17.1/selinux (stable)
  [3]   default/linux/amd64/17.1/hardened (stable)
  [4]   default/linux/amd64/17.1/hardened/selinux (stable)
  [5]   default/linux/amd64/17.1/desktop (stable) *
  [6]   default/linux/amd64/17.1/desktop/gnome (stable)
  [7]   default/linux/amd64/17.1/desktop/gnome/systemd (stable)
  [8]   default/linux/amd64/17.1/desktop/plasma (stable)
  [9]   default/linux/amd64/17.1/desktop/plasma/systemd (stable)
  [10]  default/linux/amd64/17.1/desktop/systemd (stable)
  [11]  default/linux/amd64/17.1/developer (stable)
  [12]  default/linux/amd64/17.1/no-multilib (stable)
  [13]  default/linux/amd64/17.1/no-multilib/hardened (stable)
  [14]  default/linux/amd64/17.1/no-multilib/hardened/selinux (stable)
  [15]  default/linux/amd64/17.1/systemd (stable)
  [16]  default/linux/amd64/17.0 (dev)
  [17]  default/linux/amd64/17.0/selinux (dev)
  [18]  default/linux/amd64/17.0/hardened (dev)
  [19]  default/linux/amd64/17.0/hardened/selinux (dev)
  [20]  default/linux/amd64/17.0/desktop (dev)
  [21]  default/linux/amd64/17.0/desktop/gnome (dev)
  [22]  default/linux/amd64/17.0/desktop/gnome/systemd (dev)
  [23]  default/linux/amd64/17.0/desktop/plasma (dev)
  [24]  default/linux/amd64/17.0/desktop/plasma/systemd (dev)
  [25]  default/linux/amd64/17.0/developer (dev)
  [26]  default/linux/amd64/17.0/no-multilib (dev)
  [27]  default/linux/amd64/17.0/no-multilib/hardened (dev)
  [28]  default/linux/amd64/17.0/no-multilib/hardened/selinux (dev)
  [29]  default/linux/amd64/17.0/systemd (dev)
  [30]  default/linux/amd64/17.0/x32 (dev)
  [31]  default/linux/amd64/17.0/musl (exp)
  [32]  default/linux/amd64/17.0/musl/hardened (exp)
  [33]  default/linux/amd64/17.0/musl/hardened/selinux (exp)
  [34]  default/linux/amd64/17.0/uclibc (exp)
  [35]  default/linux/amd64/17.0/uclibc/hardened (exp)

Do you feel that
Code:

default/linux/amd64/17.1/desktop (stable)


is the appropriate profile for your tarball?
I am not sure........


Ok, i am started from 0 i choose amd64 skip disk preparing and etc. (for description)
I downloaded https://bouncer.gentoo.org/fetch/root/all/releases/amd64/autobuilds/20200619/uclibc/stage3-amd64-uclibc-hardened-20200619.tar.bz2 (It is correct?)
next steps also skip

After i choose profile default/linux/amd64/17.0/uclibc/hardened (exp) (it is correct?)
I execute this command
Code:

emerge --ask --verbose --update --deep --newuse @world


And this action stopped with error (That go up because i tried to fix that with google)
I can't do any emerge command
For answer i get:
Code:
emerge: no python-exec wrapped executable found in /usr/lib/python-exec

I find this topic and try as saying
forums.gentoo.org/viewtopic-t-1059712.html
My eselect list show python3.7 and python3.8 i cleaned up 3.7 but nothing changed.
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Wed Jun 16, 2021 4:08 pm    Post subject: Reply with quote

Code:

emerge --sync
eselect profile set <>
env-update
emerge -uDNav @world

But to be honest i know NOTHING about your chosen profile
I hope it will go ok.
Are you installing in a mobile device?
Is this your first Gentoo installation?
_________________
:)
Back to top
View user's profile Send private message
gdfjhgo
n00b
n00b


Joined: 15 Jun 2021
Posts: 4

PostPosted: Wed Jun 16, 2021 4:41 pm    Post subject: Reply with quote

alamahant wrote:
Code:

emerge --sync
eselect profile set <>
env-update
emerge -uDNav @world

But to be honest i know NOTHING about your chosen profile
I hope it will go ok.
Are you installing in a mobile device?
Is this your first Gentoo installation?

Quote:
Are you installing in a mobile device?
Nope, virtualbox
Quote:
Is this your first Gentoo installation?
Yes.

Code:
env-update
emerge -uDNav @world
emerge --sync
emerge: no python-exec wrapped executable found in /usr/lib/python-exec
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Wed Jun 16, 2021 5:04 pm    Post subject: Reply with quote

Since this is your first install and not a mobile device i STRONGLY advice you to go "orthodox" rather than experimental.
Start with this tarrball
https://bouncer.gentoo.org/fetch/root/all/releases/amd64/autobuilds/20210613T214502Z/stage3-amd64-20210613T214502Z.tar.xz
Plz unmount and reformat your Gentoo used partitions

Code:

umount -R /mnt/gentoo
mkfs.<fs> /dev/<partition>

Then remount them move to the mount directory and wget the above tarrball and extract it.
Do a "normal" Gentoo install then maybe a bare-metal one and if maybe some rainy afternoon after all that you want to try something extreme then do use something like uclibc tarballs etc...
:D
_________________
:)
Back to top
View user's profile Send private message
Phoenix591
Guru
Guru


Joined: 17 Sep 2007
Posts: 483

PostPosted: Wed Jun 16, 2021 6:25 pm    Post subject: Reply with quote

Uclibc is an alternative to glibc used in embedded and other super low resource devices. Here be dragons.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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