close

pacman 安裝時遇到 signature invalid

Error log:

#>#> pacman -S meson

resolving dependencies...

looking for conflicting packages...

Packages (2) ninja-1.10.2-1.1 meson-0.61.2-1

Total Download Size: 1.23 MiB
Total Installed Size: 7.93 MiB

:: Retrieving packages...

error: meson: signature from "Arch Linux ARM Build System " is invalid

:: File /var/cache/pacman/pkg/meson-0.61.2-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).

error: failed to commit transaction (invalid or corrupted package (PGP signature))

Errors occurred, no packages were upgraded.

系統大概有些 package 沒更新

查了下要更新 archlinux-keyring manjaro-keyring

Solution:

#> sudo pacman-key --init
#> mkdir -pv $HOME/.cache/pkg/ && sudo pacman -Syw archlinux-keyring manjaro-keyring --cachedir $HOME/.cache/pkg/

ref:

https://wiki.manjaro.org/index.php/Pacman_troubleshooting#Errors_about_Keys

arrow
arrow
    全站熱搜

    JohnDX 發表在 痞客邦 留言(0) 人氣()