Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

archlinuxcn-keyring 无法安装 / archlinuxcn-keyring can't be installed #3557

Closed
Hanatomizu opened this issue Dec 15, 2023 · 6 comments
Closed
Assignees

Comments

@Hanatomizu
Copy link

问题类型 / Type of issues

  • 打包错误 / packaging error

受影响的软件包 / Affected packages

  • (请在此填写包名,每行一个,开头加上星号 / package names, one per line)
  • archlinuxcn-keyring

请在此补充说明。
Please describe in detail here.

运行 pacman -Sy archlinuxcn-keyring 时出现错误
An error occurred while running pacman -Sy archlinuxcn-keyring

$ sudo pacman -Sy archlinuxcn-keyring
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 multilib is up to date
 archlinuxcn                       3.4 MiB   964 KiB/s 00:04 [#################################] 100%
resolving dependencies...
looking for conflicting packages...

Package (1)                      New Version  Net Change  Download Size

archlinuxcn/archlinuxcn-keyring  20230923-1     0.36 MiB       0.26 MiB

Total Download Size:   0.26 MiB
Total Installed Size:  0.36 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 archlinuxcn-keyring-202309...   262.7 KiB   949 KiB/s 00:00 [#################################] 100%
(1/1) checking keys in keyring                               [#################################] 100%
(1/1) checking package integrity                             [#################################] 100%
error: archlinuxcn-keyring: signature from "Jiachen YANG (Arch Linux Packager Signing Key) <[email protected]>" is marginal trust
:: File /var/cache/pacman/pkg/archlinuxcn-keyring-20230923-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
@lilydjwg
Copy link
Member

sudo pacman-key --lsign-key "[email protected]"

https://www.archlinuxcn.org/archlinuxcn-keyring-manually-trust-farseerfc-key/

@SilverRainZ SilverRainZ pinned this issue Dec 18, 2023
@Hanatomizu
Copy link
Author

sudo pacman-key --lsign-key "[email protected]"

https://www.archlinuxcn.org/archlinuxcn-keyring-manually-trust-farseerfc-key/

解决了,谢谢!
Solved, thank you so much!

@DawnMagnet
Copy link

sudo pacman-key --lsign-key "[email protected]"

https://www.archlinuxcn.org/archlinuxcn-keyring-manually-trust-farseerfc-key/

我存在此问题的同时,还无法导入密钥

gpg: 密钥 327DD5C2A01B4587 生成于未来的 11420 秒后(可能是因为时空扭曲或系统时钟的问题)

通过 https://www.archlinuxcn.org/gnupg-2-1-and-the-pacman-keyring/ 可以解决

@kingcanfish
Copy link

kingcanfish commented Apr 24, 2024

sudo pacman-key --lsign-key "[email protected]"

archlinuxcn.org/archlinuxcn-keyring-manually-trust-farseerfc-key

这个能否添加到 readme 中呢~

@lilydjwg
Copy link
Member

不是有个链接吗?简要介绍是给不懂中文的人看的。

@lilydjwg
Copy link
Member

也更新 README 了。等问题最终解决的时候,需要更新的地方又多了一个……

@oldherl oldherl unpinned this issue Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants