You are not logged in.
Pages: 1
Topic closed
Running into an issue trying to set up and import a key for a custom repo. This is on a fresh install.
If I try to issue a sudo pacman-key --init I get the following:
gpg: key BD8984D2 was created 27073 seconds in the future (time warp or clock problem)
My hardware clock is set to UTC and is correct and the date and time are set correctly as well. No matter what I do with pacman-key I receive the error. I've tried going though https://wiki.archlinux.org/index.php/Pacman-key but obviously I'm stuck at initialising the keyring.
How can I resolve this?
Offline
It sounds to me that the custom repo has the clock problem, not you. You may be able to force it by passing in gpg's --ignore-time-conflict option somehow through pacman-key (check the man page if that's a possibility).
Offline
It sounds to me that the custom repo has the clock problem, not you. You may be able to force it by passing in gpg's --ignore-time-conflict option somehow through pacman-key (check the man page if that's a possibility).
The problem is the key is the Pacman Keyring Master Key so I think the problem is on my end. I receive this error even without having the custom repo configured and without the key if if just try to initialise it.
Offline
I figured this out kinda. I just simply rebooted then things worked just fine.
Offline
The problem is caused by out-of-sync local time. To be specific, the pacman master key was created when a wrong time set in your OS. This may cause the timestamp of the pacman master key is in the future after you correct the time on your OS (possibly by ntp).
We need to recreate the pacman master key after correct time set on the OS.
# enable ntp and ensure the time correct
timedatectl set-ntp 1
timedatectl status
rm -fr /etc/pacman.d/gnupg
# create pacman master key
pacman-key --init
# reload keys from keyring resources
pacman-key --populate
Offline
Mod note: closing this old thread.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed