前幾日給我的安卓手機安裝了Termux,開始了我的暑假搞機之旅,好不容易給它裝上了ArchLinux,在我使用pacman更新時卻報了這樣的錯誤:
error: libxinerama: signature from "Arch Linux ARM Build System <builder@archlinuxarm.org>" is unknown trust
:: File /var/cache/pacman/pkg/libxinerama-1.1.4-1-aarch64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: libdmx: signature from "Arch Linux ARM Build System <builder@archlinuxarm.org>" is unknown trust
:: File /var/cache/pacman/pkg/libdmx-1.1.4-1-aarch64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: xorg-xdpyinfo: signature from "Arch Linux ARM Build System <builder@archlinuxarm.org>" is unknown trust
:: File /var/cache/pacman/pkg/xorg-xdpyinfo-1.3.2-2-aarch64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: xorg-xprop: signature from "Arch Linux ARM Build System <builder@archlinuxarm.org>" is unknown trust
:: File /var/cache/pacman/pkg/xorg-xprop-1.2.3-1-aarch64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: screenfetch: signature from "Arch Linux ARM Build System <builder@archlinuxarm.org>" is unknown trust
:: File /var/cache/pacman/pkg/screenfetch-3.8.0-2-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: failed to commit transaction (invalid or corrupted package (PGP signature))
看起來大概意思是軟件的簽名有問題。
Excuse me?
你系統(tǒng)自己設定的軟件來源你現(xiàn)在告訴我你自己不信任他??
好吧,生活還是要繼續(xù)的:百度,google,blahblah,我這么解決了這個問題:
pacman-key --init
pacman-key --populate
這上邊兩條命令,一條條輸入進去執(zhí)行一下,然后就可以使用pacman了

嘗試安裝screenfetch,成功了!
順便曬一曬手機里的arch:

哈哈哈哈