archlinux 小白求助

2018-09-07 12:48:38 +08:00
 jisibencom
一个 ARMV5 的开发板,安装上了 ARCH ARM,但安装软件时提示:
:: File /var/cache/pacman/pkg/screen-4.6.2-1-arm.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))
Errors occurred, no packages were upgraded.

搜了一下,改什么 SigLevel,不行。运行 pacman-key --init,自然是卡在了 gpg: Generating pacman keyring master key...,什么按键盘,ls -R /之类的都试过了,不行。

这个问题起码都存在了 10 来年了。。。究竟是啥问题呢
2620 次点击
所在节点    问与答
7 条回复
pcmid
2018-09-08 19:10:47 +08:00
pacman-key --populate archlinux
pcmid
2018-09-08 19:12:05 +08:00
@pcmid 当然要先装 archlinux-keyring
jisibencom
2018-09-08 20:42:40 +08:00
@pcmid pacman -S archlinux-keyring ?运行 pacman 就报上面的错
pcmid
2018-09-08 23:16:39 +08:00
@jisibencom /usr/share/pacman/keyrings 下面有没有公钥文件
jisibencom
2018-09-10 09:49:30 +08:00
@pcmid
Last login: Fri Sep 7 16:20:46 2018 from 192.168.190.172
[root@alarm ~]# pacman -S archlinux-keyring
resolving dependencies...
looking for conflicting packages...

Packages (1) archlinux-keyring-20180808-1

Total Download Size: 0.59 MiB
Total Installed Size: 0.84 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
archlinux-keyring-20180808-1-any 600.4 KiB 364K/s 00:02 [################################] 100%
(1/1) checking keys in keyring [################################] 100%
downloading required keys...
:: Import PGP key 4096R/68B3537F39A313B3E574D06777193F152BDBE6A6, "Arch Linux ARM Build System <builder@archlinuxarm.org>", created: 2014-01-19? [Y/n] y
(1/1) checking package integrity [################################] 100%
error: archlinux-keyring: signature from "Arch Linux ARM Build System <builder@archlinuxarm.org>" is unknown trust
:: File /var/cache/pacman/pkg/archlinux-keyring-20180808-1-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))
Errors occurred, no packages were upgraded.
[root@alarm ~]# cd /usr/share/pacman/
[root@alarm pacman]# ls
PKGBUILD-split.proto PKGBUILD-vcs.proto PKGBUILD.proto keyrings proto.install
[root@alarm pacman]# cat keyrings/
cat: keyrings/: Is a directory
[root@alarm pacman]#
jisibencom
2018-09-10 09:55:35 +08:00
先删除 /etc/pacmand.d/gnupg 这个文件夹
再 pacman-key --init,
最后 pacman-key --refresh-keys

这个也尝试了。一样的不行。
jisibencom
2018-09-10 10:00:40 +08:00
Guruplug Display | Arch Linux ARM
https://archlinuxarm.org/platforms/armv5/guruplug-display

这个是设备的型号和安装的系统。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/487065

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX