About a month ago, every time sudo pacman -Syu
failed. When I ran pacman -D -k
, an error message appeared about soulharsh
key being invalid. I need to run
sudo pacman -Sy archlinux-keyring
sudo pacman-key --refresh-keys
before sudo pacman -Syu
would succeed. But the “refresh-keys” remedy is only temporary. Each time I tried to update the system, the invalid “soulharsh” issue reappeared and I had to refresh the keys before I could update the system.
I got fed up with this situation and decided to do something about “soulharsh”. I ran sudo pacman-key --delete <key>
. Most likely I chose the wrong thing for <key>
because now, I cannot update my system even after refreshing the keys. Now, I see this everytime:
$ sudo pacman -Syu
error: Reborn-OS: key "38D3F838D6A0A3AB32DDDF2299EABCFB664B3E5F" is unknown
:: Import PGP key 38D3F838D6A0A3AB32DDDF2299EABCFB664B3E5F? [Y/n] Y
error: key "38D3F838D6A0A3AB32DDDF2299EABCFB664B3E5F" could not be looked up remotely
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
Reborn-OS 106.7 KiB 271 KiB/s 00:00 [######################] 100%
error: Reborn-OS: key "38D3F838D6A0A3AB32DDDF2299EABCFB664B3E5F" is unknown
:: Import PGP key 38D3F838D6A0A3AB32DDDF2299EABCFB664B3E5F? [Y/n] Y
error: key "38D3F838D6A0A3AB32DDDF2299EABCFB664B3E5F" could not be looked up remotely
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))
I get the same error message when I run sudo pacman -Sy archlinux-keyring
I appreciate any assistance since I have not be able to update my system for more than 2 weeks.