Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
aggiornamento a profilo errato[Non Risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
saverik
Guru
Guru


Joined: 18 Oct 2008
Posts: 383

PostPosted: Sun Oct 01, 2023 12:45 pm    Post subject: aggiornamento a profilo errato[Non Risolto] Reply with quote

Buongiorno,

oggi sono partito con una nuova installazione sul mio portatile con la live dvd di gentoo.
Tutto procede bene fino alla compilazione del kernel.
Successivamente per installare kde seleziono il profilo /systemd/plasma/merge-usr (precedentemente avevo scelto il profilo /systemd/ per alleggerire la prima compilazione) e procedo con
Code:
emerge --ask --verbose --update --newuse --deep @world
per aggiornare , ma il sistema mi da errore.

A questo punto mi rendo conto dell'errore in quanto non avevo fatto il merge come da prescritto dalla documentazione quindi ricambio il profilo e torno su /systemd/plasma/ , ma a questo punto il sistema è diventato inutilizzabile.

Code:

 livecd /mnt/gentoo # chmod 1777 /dev/shm /run/shm
livecd /mnt/gentoo # chroot /mnt/gentoo /bin/bash
livecd / # source /etc/profile
livecd / # export PS1="(chroot) ${PS1}"

(chroot) livecd / # mount /dev/nvme0n1p1 /efi/efi
bash: mount: comando non trovato

(chroot) livecd / # mount /dev/nvme0n1p1 /boot/efi/efi
[color=black]bash: mount: comando non trovato[/color]

(chroot) livecd / # eselect profile list
/usr/share/eselect/libs/core.bash: riga 138: gsed: comando non trovato

!!! Error: get_repos failed
!!! Error: Failed to get a list of valid profiles
(chroot) livecd / # ls
bash: ls: comando non trovato
(chroot) livecd / # emerge --sync
PORTAGE_BZIP2_COMMAND setting is invalid: 'bzip2'
PORTAGE_BZIP2_COMMAND setting from make.globals is invalid: 'bzip2'
>>> Syncing repository 'gentoo' into '/var/db/repos/gentoo'...
 * Using keys from /usr/share/openpgp-keys/gentoo-release.asc
 * Refreshing keys via WKD ...                                                                         [ ok ]
>>> Starting rsync with rsync://89.238.71.6/gentoo-portage...
Welcome to turnstone.gentoo.org / rsync.gentoo.org

Server Address : 89.238.71.6, 2a00:1828:a00d:ffff::6
Contact Name   : mirror-admin@gentoo.org
Hardware       : 16 x Intel(R) Xeon(R) CPU E5530 @ 2.40GHz, 24152MB RAM
Sponsor        : Manitu GmbH, St. Wendel, Germany

Please note: common gentoo-netiquette says you should not sync more
than once a day.  Users who abuse the rsync.gentoo.org rotation
may be added to a temporary ban list.

MOTD autogenerated by update-rsync-motd on Tue Oct 11 08:08:51 PM UTC 2022

receiving incremental file list
timestamp.chk

Number of files: 1 (reg: 1)
Number of created files: 0
Number of deleted files: 0
Number of regular files transferred: 1
Total file size: 32 bytes
Total transferred file size: 32 bytes
Literal data: 32 bytes
Matched data: 0 bytes
File list size: 42
File list generation time: 0,001 seconds
File list transfer time: 0,000 seconds
Total bytes sent: 104
Total bytes received: 133

sent 104 bytes  received 133 bytes  158,00 bytes/sec
total size is 32  speedup is 0,14
portage: stty: command not found
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/portage/util/_async/AsyncFunction.py", line 45, in _run
    result = self.target(*(self.args or []), **(self.kwargs or {}))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/portage/sync/controller.py", line 165, in sync
    taskmaster.run_tasks(tasks, func, status, options=task_opts)
  File "/usr/lib/python3.11/site-packages/portage/sync/controller.py", line 65, in run_tasks
    result = getattr(inst, func)(**kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/portage/sync/syncbase.py", line 370, in sync
    return self.update()
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/portage/sync/modules/rsync/rsync.py", line 385, in update
    unchanged, is_synced, exitcode, updatecache_flg = self._do_rsync(
                                                      ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/portage/sync/modules/rsync/rsync.py", line 813, in _do_rsync
    command.append(self.download_dir)
                   ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/portage/sync/syncbase.py", line 128, in download_dir
    self._download_dir = self.repo_storage.init_update()
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/portage/util/futures/_sync_decorator.py", line 23, in wrapper
    return (loop or asyncio.get_event_loop()).run_until_complete(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/portage/util/_eventloop/asyncio_event_loop.py", line 129, in _run_until_complete
    return self._loop.run_until_complete(future)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/portage/repository/storage/hardlink_quarantine.py", line 58, in init_update
    await self._check_call(["rm", "-rf", update_location])
  File "/usr/lib/python3.11/site-packages/portage/repository/storage/hardlink_quarantine.py", line 48, in _check_call
    p.start()
  File "/usr/lib/python3.11/site-packages/_emerge/AsynchronousTask.py", line 34, in start
    self._start()
  File "/usr/lib/python3.11/site-packages/_emerge/SpawnProcess.py", line 125, in _start
    retval = self._spawn(self.args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/_emerge/SpawnProcess.py", line 229, in _spawn
    return spawn_func(args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/portage/process.py", line 380, in spawn
    raise CommandNotFound(mycommand[0])
portage.exception.CommandNotFound: rm
PORTAGE_BZIP2_COMMAND setting is invalid: 'bzip2'
PORTAGE_BZIP2_COMMAND setting from make.globals is invalid: 'bzip2'

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


Action: sync for repo: gentoo, returned code = 1


(chroot) livecd / # mount /dev/nvme0n1p1 /boot/efi/efi
bash: mount: comando non trovato
(chroot) livecd / # env-update && source /etc/profile && export PS1="(chroot) ${PS1}"
bash: env-update: comando non trovato
(chroot) livecd / # useradd -m -G users,wheel,audio -s /bin/bash saverik
bash: useradd: comando non trovato


Spero di essermi spiegato bene.[/code]
come ne esco? Ricomincio da zero?
Saluti a tutti
_________________
Dell_7490 i5-8350u ,32GbRam,Adata8200proNvme512Gb
Linux= Gentoo64bit+Kde_Plasma+systemd


Last edited by saverik on Wed Oct 11, 2023 8:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
xdarma
l33t
l33t


Joined: 08 Dec 2003
Posts: 719
Location: tra veneto e friuli (italy)

PostPosted: Thu Oct 05, 2023 6:44 am    Post subject: Reply with quote

Potrebbe essere un banale problema di path?
Puoi controllare cosa contiene la variabile PATH con:
Code:
printenv | grep "^PATH="

Che al mio utente root restituisce:
Code:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/16/bin:/usr/lib/llvm/15/bin

_________________
proud user of faKeDE-4.7.3 -> back to windowmaker -> moved to LXQt
Back to top
View user's profile Send private message
saverik
Guru
Guru


Joined: 18 Oct 2008
Posts: 383

PostPosted: Thu Oct 05, 2023 5:48 pm    Post subject: Reply with quote

sono fuori per lavoro. appena rientro ti aggiorno .
:D Grazie
_________________
Dell_7490 i5-8350u ,32GbRam,Adata8200proNvme512Gb
Linux= Gentoo64bit+Kde_Plasma+systemd
Back to top
View user's profile Send private message
saverik
Guru
Guru


Joined: 18 Oct 2008
Posts: 383

PostPosted: Wed Oct 11, 2023 8:22 pm    Post subject: Reply with quote

eccomi di ritorno

Ho provato a riavviare da live cd ma non sono riuscito ad accedere al disco dove è stato installato il sistema.

Domani riparto da zero ..
Grazie per l'aiuto :D
_________________
Dell_7490 i5-8350u ,32GbRam,Adata8200proNvme512Gb
Linux= Gentoo64bit+Kde_Plasma+systemd
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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