1
pcmid 2018-09-08 19:10:47 +08:00 via Android
pacman-key --populate archlinux
|
3
jisibencom OP @pcmid pacman -S archlinux-keyring ?运行 pacman 就报上面的错
|
4
pcmid 2018-09-08 23:16:39 +08:00
@jisibencom /usr/share/pacman/keyrings 下面有没有公钥文件
|
5
jisibencom OP @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 <[email protected]>", created: 2014-01-19? [Y/n] y (1/1) checking package integrity [################################] 100% error: archlinux-keyring: signature from "Arch Linux ARM Build System <[email protected]>" 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]# |
6
jisibencom OP 先删除 /etc/pacmand.d/gnupg 这个文件夹
再 pacman-key --init, 最后 pacman-key --refresh-keys 这个也尝试了。一样的不行。 |
7
jisibencom OP Guruplug Display | Arch Linux ARM
https://archlinuxarm.org/platforms/armv5/guruplug-display 这个是设备的型号和安装的系统。 |