ArchLinux使用pacman安装软件时遇到的签名问题

前几日给我的安卓手机安装了Termux,开始了我的暑假搞机之旅,好不容易给它装上了ArchLinux,在我使用pacman更新时却报了这样的错误:

error: libxinerama: signature from "Arch Linux ARM Build System " 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 " 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 " 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 " 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 " 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?

你系统自己设定的软件来源你现在告诉我你自己不信任他??

好吧,生活还是要继续的:百度,google,blahblah,我这么解决了这个问题:

pacman-key --init

pacman-key --populate

这上边两条命令,一条条输入进去执行一下,然后就可以使用pacman了

ArchLinux使用pacman安装软件时遇到的签名问题_第1张图片
尝试安装screenfetch,成功了!

顺便晒一晒手机里的arch:


ArchLinux使用pacman安装软件时遇到的签名问题_第2张图片
哈哈哈哈

意见反馈 || 任何建议

联系我(新浪)
邮箱:[email protected]

你可能感兴趣的:(ArchLinux使用pacman安装软件时遇到的签名问题)