You are not logged in.
root@archiso ~ # archinstall
Testing connectivity to the Arch Linux mirrors ...
Updating archlinux32-keyring ...
Traceback (most recent call last):
File "/usr/bin/archinstall", line 8, in <module>
sys.exit(run_as_a_module())
File "/usr/lib/python3.10/site-packages/archinstall/__init__.py", line 311, in run_as_a_module
script.execute()
File "/usr/lib/python3.10/site-packages/archinstall/lib/profiles.py", line 195, in execute
self.spec.loader.exec_module(sys.modules[self.namespace])
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.10/site-packages/archinstall/examples/guided.py", line 292, in <module>
if not archinstall.update_keyring32():
File "/usr/lib/python3.10/site-packages/archinstall/lib/networking.py", line 60, in update_keyring32
if run_pacman("-Sy --noconfirm archlinux32-keyring").exit_code == 0:
File "/usr/lib/python3.10/site-packages/archinstall/lib/pacman.py", line 28, in run_pacman
return SysCommand(f'{default_cmd} {args}')
File "/usr/lib/python3.10/site-packages/archinstall/lib/general.py", line 435, in __init__
self.create_session()
File "/usr/lib/python3.10/site-packages/archinstall/lib/general.py", line 486, in create_session
with SysCommandWorker(
File "/usr/lib/python3.10/site-packages/archinstall/lib/general.py", line 275, in __exit__
raise SysCallError(f"{self.cmd} exited with abnormal exit code [{self.exit_code}]: {self._trace_log[-500:]}", self.exit_code, worker=self)
archinstall.lib.exceptions.SysCallError: ['/usr/bin/pacman', '-Sy', '--noconfirm', 'archlinux32-keyring'] exited with abnormal exit code [256]: b"iB\r\n\r\n:: Proceed with installation? [Y/n] \r\n(0/1) checking keys in keyring [----------------------] 0%\r(1/1) checking keys in keyring [######################] 100%\r\r\nwarning: Public keyring not found; have you run 'pacman-key --init'?\r\ndownloading required keys...\r\nerror: keyring is not writable\r\nerror: required key missing from keyring\r\nerror: failed to commit transaction (could not find or read file)\r\nErrors occurred, no packages were upgraded.\r\n\x1b[?25h"
Offline
Mmh. Actually it seems that them pacman-init.service is not starting up because the keyring is missing. After a `pacman-key --init` it should start. The pacman-init.service has to have finished before you start archinstall. pacman-init can take a LONG (TM) time to update the keys.
Offline
removing /etc/pacman.d/gnupg, pacman-key --init, pacman-key --populate archlinux32 should be enough..
For some annoying reason it wont let me
sudo rm -rf /etc/pacman.d/gnupg
rm: cannot remove '/etc/pacman.d/gnupg': Device or resource busy
Offline
Mmh. Actually it seems that them pacman-init.service is not starting up because the keyring is missing. After a `pacman-key --init` it should start. The pacman-init.service has to have finished before you start archinstall. pacman-init can take a LONG (TM) time to update the keys.
Seems to run into this issue
1 root@archiso ~ # pacman-key --init
gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
gpg: no ultimately trusted keys found
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '/etc/pacman.d/gnupg/secring.gpg' to gpg-agent
gpg: migration succeeded
==> Generating pacman master key. This may take some time.
gpg: Generating pacman keyring master key...
gpg: agent_genkey failed: No such file or directory
gpg: key generation failed: No such file or directory
gpg: Done
==> Updating trust database...
gpg: no need for a trustdb check
Offline
Alright, I will try again and try that. Would be great if the Arch32 iso wasn't so broken haha
Offline
I tried archinstalll on the live cd and it worked properly this time and install it but the second time I went to try the live CD it's all broken again.. I did manage it get it working going through the stuff you guys talked about but it would be nice if these stuff were done properly and I didn't have to fight with it to work
The images really need to be fixed as they are unusable and broken, I can even install packages at times.
Last edited by gameslayer (2023-01-01 06:27:48)
Offline