Skip to content

Commit

Permalink
fix: archcn 签名问题 (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnslin authored Dec 27, 2023
1 parent a5e2405 commit 616c49b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/guide/rookie/desktop-env-and-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,24 @@ sudo pacman -S yay # yay 命令可以让用户安装 AUR 中的软件(yay 在

若安装 `archlinuxcn-keyring` 时报错,是由于密钥环的问题。可先按照 [archlinuxcn 官方说明](https://www.archlinuxcn.org/gnupg-2-1-and-the-pacman-keyring/) 执行其中的命令,再安装 `archlinuxcn-keyring`

`archlinuxcn` 社区源的 `keyring``archlinuxcn-keyring``farseerfc` 的 key 签署验证,而 `Arch Linux` 官方 `keyring` 中包含了 farseerfc 的 key 。自 12 月初 `archlinux-keyring` 中删除了一个退任的 [master key](https://gitlab.archlinux.org/archlinux/archlinux-keyring/-/issues/246) 导致 `farseerfc` 的 key 的信任数不足,由 `GnuPG``web of trust` 推算为 `marginal trust`,从而不再能自动信任 `archlinuxcn-keyring` 包的签名。

如果你在新系统中尝试安装 `archlinuxcn-keyring` 包时遇到如下报错:

```bash
error: archlinuxcn-keyring: Signature from "Jiachen YANG (Arch Linux Packager Signing Key) <[email protected]>" is marginal trust
```

请使用以下命令在本地信任 `farseerfc 的 key` 。此 `key` 已随 `archlinux-keyring` 安装在系统中,只是缺乏信任:

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

之后继续安装 `archlinuxcn-keyring`
`sudo pacman -S archlinuxcn-keyring`
https://www.archlinuxcn.org/archlinuxcn-keyring-manually-trust-farseerfc-key/

:::

## 7. 检查家目录
Expand Down

0 comments on commit 616c49b

Please sign in to comment.