Issue running 'archinstall'
I've installed ArchLinux using archinstall script at the beginning of the month just fine. This is what I get now in VirtualBox.

What's going on here?
Running into the same issue using QEMU.
Updating the keyring package myself errors with a note to use pacman-key --init. Doing so errors as well with an attempt to install the package again afterwards saying its corrupted.
I can provide those errors if needed
Running into the same issue using QEMU.
Updating the keyring package myself errors with a note to use
pacman-key --init. Doing so errors as well with an attempt to install the package again afterwards saying its corrupted.I can provide those errors if needed
Hey, thanks for your response, I'm glad I'm not the only one experiencing this issue. There's no need to post error message as Obema12 has already detailed it even before me, here.
I've sent an email to Christian Hesse about this but still no response, it's his name in the PGP corruption issue after all.
UPDATE: This must be arch-wide problem or something, everyone is playing dumb for some reason, however the issue might be resolved by doing this:
killall gpg-agent
rm -rf /etc/pacman.d/gnupg
pacman-key --init
pacman-key --populate archlinux
I did that and was able to proceed. Hope this helps.
P.S. These PGP keys seem to be a problem these days for some reason. More reasons to stay on Windows I guess.
UPDATE: This must be arch-wide problem or something, everyone is playing dumb for some reason, however the issue might be resolved by doing this:
killall gpg-agent rm -rf /etc/pacman.d/gnupg pacman-key --init pacman-key --populate archlinuxI did that and was able to proceed. Hope this helps.
P.S. These PGP keys seem to be a problem these days for some reason. More reasons to stay on Windows I guess.
The rm -rf command is not necessary, it doesn't work, but the rest do fix it. The issue appears to be related to: /var/cache/pacman/pkg/ is emptied after archinstall has successfully installed an operating system. Going back to archinstall to re-install arch does not work. I've no idea if this only effects VM's, as that's all I've tried it on, but I suspect not.
My only solution was to redownload the iso, and then close down KVM and reopen it, making the new ISO the one it loaded. Your solution is much better, massive thank you for that.
I had tried to make a /backup/pkg in the iso, but when I rebooted it was gone. So I'm not sure why archinstall can seemingly edit the ISO but I can't manually edit it.
I'm not sure if there's more to it than the path I mentioned above, e.g. if other things are being deleted or not.
I've no idea if this only effects VM's, as that's all I've tried it on, but I suspect not.
Not sure if I was just lucky but my bare-metal install roughly 24h ago worked perfectly fine except for the connectivity and keyring steps taking a lot longer than usual. It was a fresh, only once used ISO though so I couldn't confirm or deny anything changing after the successful install
Heya! Same issue here.
The fix that worked for me (yes I made an account to say this) was to connect to wifi, there's a tutorial on YouTube on how to do it but that's all. After that, the Archinstall gui(?) Opened
when will the new archinstall come out?
I have the same issue. Yesterday I got that message, reboot vm and then worked. Today, I'm trying to install again, but it doesn't work
UPDATE: This must be arch-wide problem or something, everyone is playing dumb for some reason, however the issue might be resolved by doing this:
killall gpg-agent rm -rf /etc/pacman.d/gnupg pacman-key --init pacman-key --populate archlinuxI did that and was able to proceed. Hope this helps. P.S. These PGP keys seem to be a problem these days for some reason. More reasons to stay on Windows I guess.
The rm -rf command is not necessary, it doesn't work, but the rest do fix it. The issue appears to be related to: /var/cache/pacman/pkg/ is emptied after archinstall has successfully installed an operating system. Going back to archinstall to re-install arch does not work. I've no idea if this only effects VM's, as that's all I've tried it on, but I suspect not.
My only solution was to redownload the iso, and then close down KVM and reopen it, making the new ISO the one it loaded. Your solution is much better, massive thank you for that.
I had tried to make a /backup/pkg in the iso, but when I rebooted it was gone. So I'm not sure why archinstall can seemingly edit the ISO but I can't manually edit it.
I'm not sure if there's more to it than the path I mentioned above, e.g. if other things are being deleted or not.
Did you read the comments noisyBrain?
I did... and did't work. I just rebooted vm, entered pacman -Syy then archinstall and it worked. Those commands did't work for me
I actually had this same issue and got it working by entering /etc/pacman.conf and modifying the SigLevel to "Never". https://wiki.archlinux.org/title/Pacman/Package_signing#Configuring_pacman
This is not a fix, this is a workaround and a really bad one. It worked every single time I tried it as I had an an urgency but be very aware of the risks you are putting yourself at by changing that line. https://wiki.archlinux.org/title/Pacman/Package_signing#Disabling_signature_checking
Thanks for the responses. I've been tinkering with Linux in VM today after all of my Linux installations went to flames as my browser download speed on ALL distros is capped at meager 200kb/s for some reason.
I've read your responses and 'my' solution doesn't work anymore for me, I've tried @noisyBrain's solution and it didn't work so I ended up using what @Plarpoon said. I've disabled signing as there was no way to proceed with installation in the VirtualBox.
Christian Hesse is still playing dumb on my email and Pierre has said that August ISO is postponed thanks to some kernel bug regarding older CPUs. Seems like Arch Linux is currently an absolute dumpster fire.
I'll probably try to re enable the signing after the installation, the default value was:
SigLevel = Required DatabaseOptional
I tried out several solutions they only one was with SigLevel=Never but after install and changing to the default I couldn’t install any packages because of the gpg error. Honestly I fad up with Arch I need a GNU which is working after install not for tinker. Installed Fedora36 now and all good.
It's ofcourse your choice if to keep using Fedora or not but you were one step away from solving your issue on Arch.
You just had to restore the keys after restoring the default values from "Never", it's all explained here:
https://wiki.archlinux.org/title/Pacman/Package_signing#Resetting_all_the_keys
Hope this can be useful!
Thanks, yes that’s really helpful I had never needed this before. I’ll give them a try in my KVM.
FYI It`s working again with no issue for this time. I just downloaded the Arch release 08.05. and try it works fine.
This. I installed with archinstall and then went back into the ISO to try and run archinstall just to test it, and it seemed to start the script up okay.
Yeah, it's working now for me too with the new ISO. Got bored of tinkering and pgp key problems that I ended up with Linux Mint in the end. :)
Should probably close this then, or leave it open in case it happens again.
Would you mind closing the issue if you feel it's resolved (I don't have permissions:) )
the issue is still happening on the latest archlinux-2022.08.05-x86_64.iso
had to run
pacman-key --init
pacman-key --populate archlinux
before being able to execute archinstall successfully