archinstall
archinstall copied to clipboard
Infinite waiting for Arch Linux Keyring (archlinux-keyring-wkd-sync) synchronization to complete. (Lastest version)
How i got this: First i got an error:
Time synchronisation not completing, while you wait- check the docs for workarounds: https://archinstall.readthedocs.io/
then did:
timedatectl set-time "current date/time"
archinstall --skip-ntp
made Automatic time sync (NTP) false/no
then got:
Waiting for Arch Linux Keyring (archlinux-keyring-wkd-sync) synchronization to complete.
waited for around 30m and still on the same thing.
possible fixes that i already did:
sudo pacman -Sy archinstall
pacman-key --init pacman-key --populate pacman-key --refresh-keys sudo pacman -Sy archlinux-keyring
You would also need to terminate/restart the archlinux-keyring-wkd-sync.service as this is what we're waiting for.
This is however the second time I've seen this specific report in 2 weeks so I'll look into how we could optimize this situation.
I have the same issue as @Heyo7726. I'm a complete newbie with Linux so I'm not well versed in this arena. But I thought I would mention that I have the issue too.
Same issue when run archinstall. 😢
archlinux-keyring-wkd-sync.service and timer is dead, and can't start.
Same issue when run
archinstall. 😢 archlinux-keyring-wkd-sync.service and timer is dead, and can't start.
Usually that's due to network related reasons. I really wish the timer/service in question would have more debug output..
Having the same issue. Is there a way to help diagnose what the problem is? I don’t think it is a network issue as I can ping google.com, but in truth I don’t know enough about this to know if that is even a good test.
I have been trying to install Arch as a client in Virtualbox on a Debian 12 host. Actually this is my send attempt. I tried this in 2024 and now grabbed the latest 01-01-2025 ISO today.
I have multiple clients that have successfully installation on my workstation, (Debian, Mint, Windows 11). There is no problem with the networking portion. (I have tried manual and automatic options with the Arch install) .
Each time I tried it hung on time synch. I found that there is a command 'archinstall --skip-ntp' and I used that. Arch continued past that point on the next attempt only to hang on Waiting for Linux keyring sync (arch-leyright-wkd-sync) to complete.
I switched the network setting on VB settings to bridged and from root@archio I was able to ping out to the gateway and then all the way to 8.8.8.8. From my Debian host I ran Angry IP and determined the Arch client was using 192.168.1.63. I was able to run ssh [email protected] which gave me a key fingerprint with I accepted and prompted me for a password, which I don't have. But clearly the network settings work. The problem is Arch and not a connectivity issue.
having the same issue, on 3.0.1 and today's master. network is up and running, starting archlinux-keyring-wkd-sync manual runs without errors.
Hi, @gnoppix, I am a Debian user who is new to arch. I was using archinstall from the archio prompt. I am not familiar with a manual install. Are you saying that this will now work?
This particular issue is due to a service on the ISO blocking progress, manual install will have the same issue.
Either way, users need to become familiar with how to deal with services hanging.
systemctl restart archlinux-keyring-wkd-sync.timer
systemctl restart archlinux-keyring-wkd-sync.service
These two commands should remedy the situation, after the machine has network up and running - and assuming the machine is allowed to reach gpg servers to perform the key updates (this is not always the case behind corporate/school networks)
@Torxed, The problem installing for the first time from the ISO is that at the archiso~# prompt, when I type
systemctl restart archlinux-keyring-wkd-sync.timer
I get the response:
Failed to restart archlinux-keyring-wkd-sync.timer.service: Unit archlinux-keyring-wkd-sync.timer.service not found
This is the 10/01/2025 release.
sorry didnt added my log, restarting archlinux-keyring-wkd-sync.* services helped on the old version and than falling into python error.... will try now with 3.02 and a proper log :)
logfile was full of: 1737634656.529998 ['/usr/bin/systemctl', 'show', '--property=ActiveEnterTimestamp', '--no-pager', 'archlinux-keyring-wkd-sync.timer']
on another console I've restarted the service and it and fall int python error where it cant find mkinitcpio.conf
File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 872, in minimal_installation if mkinitcpio and not self.mkinitcpio(['-P']): ~~~~~~~~~~~~~~~^^^^^^^^ File "/usr/lib/python3.13/site-packages/archinstall/lib/installer.py", line 711, in mkinitcpio with open(f'{self.target}/etc/mkinitcpio.conf', 'r+') as mkinit: ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/mnt/archinstall/etc/mkinitcpio.conf'
If I look into /mnt/archinstall the file doesn't exist, not it exists on /mnt/archinstall/etc/mkinitcpio.conf.d/
Log: https://0x0.st/8X8q.log
running on the installiso : pacman -Q |grep mk mkinitcpio 39.2-3 mkinitcpio-archiso 71-1 mkinitcpio-busybox 1.36.1-1 mkinitcpio-nfs-utils 0.3-8
chroot into /mnt/archinstall/ run pacman -Q give no result. Anything more to test?
edit: used extra/archinstall 3.0.2-2
on another console I've restarted the service and it and fall int python error where it cant find mkinitcpio.conf
Just to clarify, you say you restarted the service, but did you also restart the timer?
archlinux-keyring-wkd-sync.timer
Or was it enough to restart the .service - and then it proceeded to crash?
@Torxed, archlinux-keyring-wkd-sync.timer was NOT a service available from archiso. I tried but it wasn't in the provided ISO.
@Torxed, archlinux-keyring-wkd-sync.timer was NOT a service available from archiso. I tried but it wasn't in the provided ISO.
Pretty sure it is, and here's why:
- packages.x86_64 requires base, which requires archlinux-keyring
pkgfile /usr/lib/systemd/system/archlinux-keyring-wkd-sync.timershows thatcore/archlinux-keyringprovides that timer.wget https://ftp.lysator.liu.se/pub/archlinux/iso/2025.01.01/archlinux-2025.01.01-x86_64.iso(latest)wget https://archlinux.org/iso/2025.01.01/b2sums.txtb2sum -c b2sums.txtsudo ip link add br0 type bridgesudo ip tuntap add dev tapArch mode tap user anton group antonsudo ip link set dev tapArch master br0qemu-system-x86_64 -m 8192 -enable-kvm -cdrom archlinux-2025.01.01-x86_64.iso -device pcie-root-port,multifunction=on,bus=pcie.0,id=port9-0,addr=0x9,chassis=0 -device virtio-net-pci,mac=FE:00:00:00:00:00,id=network0,netdev=network0.0,status=on,bus=port9-0 -netdev tap,ifname=tapArch,id=network0.0,script=no,downscript=no -cpu host,topoext,kvm=off,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time -machine type=q35,accel=kvm,kernel_irqchip=on
@Torxed, OK so I tried twice again and each time it hangs (once for ten minutes) [first snap] I then ctl-C out each time.
I show, via ping, that I have network access (second snap). There is no ifconfig available (deprecated and can't be downloaded as a keyring is not writable), for me to show you how the DHCP sets the session up. I am in bridged mode. The address is part of the LAN netmask this workstation is on and is using the same nameservers that all other devices here use. Our entire network uses a public static IP address in the Philippines. Our mail server and web servers are available from the Internet. All other OSes install.
And that gets me to the question, should keyrings be writable? If so, should I install a Debian package in a VM first and the install archlinux on top of it?
@Torxed after cleaning the pacman-pkg-cache it now works. thanks for all your efforts
EDIT: Not running on a virtual machine, but bare metal. Having this issue too. Restarting the timers and services did NOT remedy the issue. Internet is working. I am not behind a school/corporate wifi.
I'm experiencing the same issue, what's the current fix?
Same issue here I've been troubleshooting for a couple days and I'm now realizing there is nothing more I can do
I'm experiencing the same issue, what's the current fix?
I messed around a bit more. For some reason if I select US mirrors I get the "waiting for Arch Linux Keyring (archlinux-keyring-wkd-sync) synchronization to complete." issue. But selecting none of the mirrors and allowing archinstall to select one the installation goes on with no issues
I'm experiencing the same issue, what's the current fix?
I messed around a bit more. For some reason if I select US mirrors I get the "waiting for Arch Linux Keyring (archlinux-keyring-wkd-sync) synchronization to complete." issue. But selecting none of the mirrors and allowing archinstall to select one the installation goes on with no issues
This worked for me! Thank you very much for the help, no idea what causes this issue.
@reportthings said "I messed around a bit more. For some reason if I select US mirrors I get the "waiting for Arch Linux Keyring (archlinux-keyring-wkd-sync) synchronization to complete." issue. But selecting none of the mirrors and allowing archinstall to select one the installation goes on with no issues.
So I tried it as a VirtualBox VM clean install. No luck. Still hangs.
I fixed this by unplug the Ethernet and plug it in again and pressed yes to redownload and it worked
My router blocked the ntp sync so when I plugged my machine into a socket that did not talk to my router the installed as expected!
I'm experiencing the same issue, what's the current fix?
I messed around a bit more. For some reason if I select US mirrors I get the "waiting for Arch Linux Keyring (archlinux-keyring-wkd-sync) synchronization to complete." issue. But selecting none of the mirrors and allowing archinstall to select one the installation goes on with no issues
works great! i got the time sync prob then i tried this and... well, it works! Like a charm.. um... just dont use any mirrors then wait for a bit then it should work if it didnt please report it here im no dev but im sure they are tryna fix it
I'm experiencing the same issue, what's the current fix?
I messed around a bit more. For some reason if I select US mirrors I get the "waiting for Arch Linux Keyring (archlinux-keyring-wkd-sync) synchronization to complete." issue. But selecting none of the mirrors and allowing archinstall to select one the installation goes on with no issues
works great! i got the time sync prob then i tried this and... well, it works! Like a charm.. um... just dont use any mirrors then wait for a bit then it should work if it didnt please report it here im no dev but im sure they are tryna fix it
still there's a problem, the install never finishied its just giving red errors and orange ones too... it never installs either, please fix this devs really this is my only hope for this old piece of history
Laptop Specs: OS: Tiny 10 B4 x64 CPU: AMD E2 VISION - Dual Core W/ Radeon GPU(TM, Why not) Currently Super Slow and Ru-RUNS STEAM!!!!! WHAT RAM: 2GB RAM (Idk What brand) Samsung Manufactured it Samsung Notebook NP305U1A
Notes: Suprisingly Runs Steam... Tag: The Power Of Paint Also Suprisingly has HDMI Good Audio (I think) Quite Good USB 16GB I didnt install Arch but I got ubuntu to get inside of this History ol' boi also i got linux mint and random things on this boi, i got a red & orange error of some kind it also wants me to Restart the install idk why my cpu probaly is the prob but it runs well onther oses and vmware runs all oses i got here alongside my Cool USB which also works fine so idk what doesnt work please devs HELP MEEEEEE!!!
-Random Guy From Github, yours cooly. §MintLeaf§
PS: Also the Laptop Is Currently Dead, Im tryna fix it still
You can use --skip-wkd now days.
The Same Problem….
The Same Problem….
Did you try the solution posted?