2022-10-10 遇到的一點小問題
今天在更新應用時遇到了密鑰錯誤的問題旨袒,無法正常更新。
[root@wannoo ~]# pacman -S gcc-libs
resolving dependencies...
looking for conflicting packages...
Packages (1) gcc-libs-12.2.0-1
Total Download Size: 0.05 MiB
Total Installed Size: 137.72 MiB
Net Upgrade Size: 32.15 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
gcc-libs-12.2.0-1-x86_64 55.6 KiB 27.8K/s 00:02 [##########################################################] 100%
(1/1) checking keys in keyring [##########################################################] 100%
downloading required keys...
error: key "9D4CWANNOO26DA0A" could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
這個網(wǎng)上搜一下施无,有挺多的必孤。
把文件/etc/pacman.conf里面的SigLevel = Required DatabaseOptional
修改為SigLevel = Never
就可以了。
Never : All signature checking is suppressed, even if signatures are present.
這個設置相關(guān)的幾個文檔兴想,記錄一下:
Pacman
Package_signing
pacman.conf