You are not logged in.
Partitioning, setting my time and formatting all went flawlessly. Problems started rising as soon as I started downloading packages via pacstrap. PGP corrupted, invalid. Key problems. I've googled endlessly with nothing good coming out of it
I reset my keys using ]pacman-key --init , no good results. Internet works fine too through Ethernet. And past issues that have been posted about on here are not understandable. I'd appreciate any help. Same problems rise doing archinstall setup with packages being corrupted from every host, I've read something on mirrors but /etc/pacman.d/mirrorlist doesn't give me permission for some odd reason.
Last edited by melanchopc (2022-11-17 18:25:29)
Offline
Keyring problems on the ISO usually means you're either using an older ISO or you didn't wait for the keyring to finish initializing. There's a systemd service that runs at boot that does that.
That's all a guess, though, as you didn't post exact errors.
Last edited by Scimmia (2022-11-17 18:29:35)
Offline
Keyring problems on the ISO usually means you're either using an older ISO or you didn't wait for the keyring to finish initializing. There's a systemd service that runs at boot that does that.
That's all a guess, though, as you didn't post exact errors.
The ISO is around 2-3 days old. Is there a way for me to send the errors and all information that could be useful information for getting this fixed? Are phone pictures allowed or is there a more optimal way?
Offline
Start by checking pacman-init.service.
As far as getting the errors, see https://wiki.archlinux.org/title/List_o … n_services
To get it both interactive and on the pastebin, you use tee, such as `LC_ALL=C pacman <your pacman options> |& tee >(curl -F 'f:1=<-' ix.io)`
Offline
Start by checking pacman-init.service.
As far as getting the errors, see https://wiki.archlinux.org/title/List_o … n_services
To get it both interactive and on the pastebin, you use tee, such as `LC_ALL=C pacman <your pacman options> |& tee >(curl -F 'f:1=<-' ix.io)`
pacman-init.service gives me zsh: command not found.
Again, I'm very new to arch. I've installed it on a VM a couple of times now and trying to migrate it to my main computer. The explanation to pastebin stuff is not understandable to me.
Offline
Offline
Note: wifi works, pinging works.
I ran: pacstrap /mnt base linux linux-firmware base-devel grub efibootmgr nano networkmanager
the installation was going well till near the end of everything being done it said:
(166/166) checking keyring not found; have you run 'pacman-key --init?'
downloading required keys...
error: keyring is not writable
error: keyring is not writable
error: keyring is not writable
error: keyring is not writable
error: keyring is not writable
...error: required key missing from keyring
error: failled to commit transaction (unexpected error)
errors occured, no packages were upgraded.
==> ERROR: failed to install pacakges to new root
Last edited by melanchopc (2022-11-17 19:36:23)
Offline
systemctl status pacman-init.service
[See the link jasonwryan posted.]
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
systemctl status pacman-init.service
[See the link jasonwryan posted.]
Running systemctl status pacman-init.services I get:
pacman-init.service - Initalizes Pacman keyring
Loaded: Loaded (/etc/systemmd/system/pacman-init.service; enabled; preset disabled
Active: inactive (dead)
Offline
I ran: pacstrap /mnt base linux linux-firmware base-devel grub efibootmgr nano networkmanager
You need to run
pacstrap -K /mnt base linux ...
to initialize the keyring on the target.
Offline
melanchopc wrote:I ran: pacstrap /mnt base linux linux-firmware base-devel grub efibootmgr nano networkmanager
You need to run
pacstrap -K /mnt base linux ...
to initialize the keyring on the target.
I thought pacstrap was supposed to copy the host's keyring to the target by default (i.e. without the -G option). Is the -K to do something different? (Downloading a fresh keyring? Or?)
Last edited by cfr (2022-11-18 21:06:55)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
You need to run
pacstrap -K /mnt base linux ...
to initialize the keyring on the target.
There should be no need to do this. Every time the install ISO is booted it generates new keys using pacman-init.service and then pacstrap copies them to the installation target....
https://gitlab.archlinux.org/archlinux/ … it.service
https://github.com/archlinux/arch-insta … acstrap.in
@melanchopc - Are you using the officioal image from http://archlinux.org/download/ ?
Offline