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

前几日给我的安卓手机安装了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?

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

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

pacman-key --init

pacman-key --populate

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

尝试安装screenfetch,成功了!

顺便晒一晒手机里的arch:


哈哈哈哈

意见反馈 || 任何建议

联系我(新浪)
邮箱:qianlizhihao@gmail.com

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容