Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] command not found? Emerge cannot use commands
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
all-matters
n00b
n00b


Joined: 21 May 2024
Posts: 2

PostPosted: Tue May 21, 2024 6:29 pm    Post subject: [SOLVED] command not found? Emerge cannot use commands Reply with quote

Don't know what the right term is. Only started gentoo a hour ago
This is in a chroot(live iso) btw.
Its not only a specific package it happens everywhere

Code:
 * Package:    dev-python/packaging-24.0:0
 * Repository: gentoo
 * Maintainer: python@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_11
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 661: chgrp: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 662: chmod: command not found
>>> It appears that 'packaging-24.0' is already setup; skipping.
>>> Remove '/var/tmp/portage/dev-python/packaging-24.0/.setuped' to force setup.
/usr/lib/portage/python3.11/phase-functions.sh: line 1113: chgrp: command not found
/usr/lib/portage/python3.11/phase-functions.sh: line 1114: chmod: command not found
>>> Unpacking source...
>>> Unpacking packaging-24.0.tar.gz to /var/tmp/portage/dev-python/packaging-24.0/work
/usr/lib/portage/python3.11/phase-helpers.sh: line 371: gzip: command not found
/usr/lib/portage/python3.11/phase-helpers.sh: line 371: tar: command not found
 * ERROR: dev-python/packaging-24.0::gentoo failed (unpack phase):
 *   unpack: failure unpacking packaging-24.0.tar.gz
 *
 * Call stack:
 *               ebuild.sh, line  136:  Called src_unpack
 *             environment, line 4054:  Called default
 *      phase-functions.sh, line  871:  Called default_src_unpack
 *      phase-functions.sh, line  898:  Called __eapi0_src_unpack
 *        phase-helpers.sh, line  807:  Called unpack 'packaging-24.0.tar.gz'
 *        phase-helpers.sh, line  430:  Called __unpack_tar 'gzip -d'
 *        phase-helpers.sh, line  372:  Called __assert_sigpipe_ok 'unpack: failure unpacking packaging-24.0.tar.gz'
 *   isolated-functions.sh, line   41:  Called die
 * The specific snippet of code:
/usr/lib/portage/python3.11/isolated-functions.sh: line 177: sed: command not found
/usr/lib/portage/python3.11/isolated-functions.sh: line 190: sed: command not found
 *
 * If you need support, post the output of `emerge --info '=dev-python/packaging-24.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/packaging-24.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/packaging-24.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/packaging-24.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/packaging-24.0/work'
 * S: '/var/tmp/portage/dev-python/packaging-24.0/work/packaging-24.0'

Sorry if I dont provide enough info. I'm inexperienced and Its not everyday that you encounter this
chmod, chgrp and sed should be there. I've checked the $PATH too and it looks alright. I've been scratching my head for a hour over this

I've only recently switched from arch to gentoo and this feels very discouraging :(


Last edited by all-matters on Wed May 22, 2024 9:27 am; edited 1 time in total
Back to top
View user's profile Send private message
freke
l33t
l33t


Joined: 23 Jan 2003
Posts: 998
Location: Somewhere in Denmark

PostPosted: Tue May 21, 2024 6:37 pm    Post subject: Reply with quote

Is this during installation (using the handbook)?
Have you removed any packages (chmod/chgrp is part of sys-apps/coreutils I believe)?

emerge --info output?
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21836

PostPosted: Tue May 21, 2024 8:16 pm    Post subject: Reply with quote

Also, what is the output of ls -ld /{usr/,}{,s}bin?

If I had to guess, you are trying to mix a merged-usr profile with a non-merged-usr filesystem.
Back to top
View user's profile Send private message
all-matters
n00b
n00b


Joined: 21 May 2024
Posts: 2

PostPosted: Wed May 22, 2024 9:26 am    Post subject: Reply with quote

Hu wrote:
Also, what is the output of ls -ld /{usr/,}{,s}bin?

If I had to guess, you are trying to mix a merged-usr profile with a non-merged-usr filesystem.


THANK YOUU THAT WAS IT!!!
I just migrated my system to merged-usr using
https://wiki.gentoo.org/wiki/Merge-usr#Manual_Migration
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