Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with emerge in new installation. [SOLVED]
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
aiwendil2
n00b
n00b


Joined: 08 Jan 2024
Posts: 2

PostPosted: Mon Jan 08, 2024 1:06 am    Post subject: Problem with emerge in new installation. [SOLVED] Reply with quote

Hi!

I'm installing Gentoo from a LMDE LiveCD, i'm following the official handbook. The problem is, after trying to install cpuid2cpuflags using:
Code:
emerge --ask app-portage/cpuid2cpuflags

I've noticed portage is trowing an exception about wget not being found if i attempt to emerge anything, here's the full log:

Code:

Warning: File compression unsupported zstd. Missing package: app-arch/zstd
Warning: File compression unsupported zstd. Missing package: app-arch/zstd
>>> Downloading 'https://gentoo.c3sl.ufpr.br/distfiles/layout.conf'
Process Process-3:
Traceback (most recent call last):
  File "/usr/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
    self.run()
  File "/usr/lib/python3.11/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3.11/site-packages/portage/util/_async/ForkProcess.py", line 326, in _bootstrap
    sys.exit(target(*(args or []), **(kwargs or {})))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/_emerge/EbuildFetcher.py", line 278, in _target
    if fetch(
       ^^^^^^
  File "/usr/lib/python3.11/site-packages/portage/package/ebuild/fetch.py", line 1557, in fetch
    loc = loc()
          ^^^^^
  File "/usr/lib/python3.11/site-packages/portage/package/ebuild/fetch.py", line 711, in get_mirror_url
    elif fetch(
         ^^^^^^
  File "/usr/lib/python3.11/site-packages/portage/package/ebuild/fetch.py", line 1742, in fetch
    myret = _spawn_fetch(mysettings, myfetch)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/portage/package/ebuild/fetch.py", line 172, in _spawn_fetch
    rval = spawn_func(args, env=env, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/portage/process.py", line 380, in spawn
    raise CommandNotFound(mycommand[0])
portage.exception.CommandNotFound: wget
 * Fetch failed for 'app-portage/cpuid2cpuflags-12', Log file:
 *  '/var/tmp/portage/app-portage/cpuid2cpuflags-12/temp/build.log'

>>> Failed to emerge app-portage/cpuid2cpuflags-12, Log file:

>>>  '/var/tmp/portage/app-portage/cpuid2cpuflags-12/temp/build.log'

 * Messages for package app-portage/cpuid2cpuflags-12:

 * Fetch failed for 'app-portage/cpuid2cpuflags-12', Log file:
 *  '/var/tmp/portage/app-portage/cpuid2cpuflags-12/temp/build.log'


If i run wget from my chrooted environment it runs just fine, usr/bin/wget exists and it's an executable.


Last edited by aiwendil2 on Mon Jan 08, 2024 10:14 am; edited 1 time in total
Back to top
View user's profile Send private message
acidbreez
n00b
n00b


Joined: 05 Dec 2006
Posts: 24

PostPosted: Mon Jan 08, 2024 6:59 am    Post subject: Reply with quote

try

Code:
emerge -a app-arch/zstd


and then after that retry

Code:
emerge -a app-portage/cpuid2cpuflags
Back to top
View user's profile Send private message
aiwendil2
n00b
n00b


Joined: 08 Jan 2024
Posts: 2

PostPosted: Mon Jan 08, 2024 10:13 am    Post subject: Reply with quote

I found the problem! I've forgot to run.

Code:
source /etc/profile


After chrooting, everything works now!
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