Arch-Linux

使用 pacman 更新時出錯

  • February 12, 2022

今天執行 pacman -Syu 發生了這個錯誤:


(627/627) checking package integrity                                                                                                           \[########################################################################################\] 100%

error: libspeechd: signature from "Alexander Epaneshnikov <[email@alex19ep.me](mailto:email@alex19ep.me)\>" is unknown trust

:: File /var/cache/pacman/pkg/libspeechd-0.11.1-2-x86\_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).

Do you want to delete it? \[Y/n\] n

error: mujs: signature from "Daniel Bermond <[dbermond@archlinux.org](mailto:dbermond@archlinux.org)\>" is marginal trust

:: File /var/cache/pacman/pkg/mujs-1.2.0-2-x86\_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).

Do you want to delete it? \[Y/n\] n

error: speech-dispatcher: signature from "Alexander Epaneshnikov <[email@alex19ep.me](mailto:email@alex19ep.me)\>" is unknown trust

:: File /var/cache/pacman/pkg/speech-dispatcher-0.11.1-2-x86\_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).

Do you want to delete it? \[Y/n\] n

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

Errors occurred, no packages were upgraded.

\-> error installing repo packages

Arch 版本:

5.10.87-1-lts

侏儒

我能做些什麼來解決這個問題?

先執行pacman -S archlinux-keyring,再執行pacman -Syu

引用自:https://unix.stackexchange.com/questions/690317