我正在为我姐姐安装 Manjaro GNOME 18.0.4。但是,当我尝试使用 更新所有软件包时pacman -Syu
,由于两个签名错误,更新失败:
dunst
带有签名的包裹"Matti Hyttinen <[email protected]>"
notification-daemon
签名"Brett Cornwall <[email protected]>"
有趣的是,我什至没有什么可以搞砸的,因为这是我安装后做的第一件事(我重新安装了 Manjaro,因为它可能是安装中的问题)。此外,似乎这两个有问题的软件包都是用于通知的。
我 - 当然 - 已经尝试查找问题,而我一遍又一遍地找到的解决方案是
rm -r /etc/pacman.d/gnupg
pacman-key --init
pacman-key --populate archlinux manjaro
pacman-key --refresh-keys
作为根。但是这种解决方案在这种情况下根本不起作用。
完整的错误信息(与 相同dunst
):
$ sudo pacman -S notification-daemon
resolving dependencies...
looking for conflicting packages...
Packages (1) notification-daemon-3.20.0-3
Total Download Size: 0.05 MiB
Total Installed Size: 0.74 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
notification-daemon... 52.4 KiB 64.7K/s 00:01 [######################] 100%
(1/1) checking keys in keyring [######################] 100%
(1/1) checking package integrity [######################] 100%
error: notification-daemon: signature from "Brett Cornwall <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/notification-daemon-3.20.0-3-x86_64.pkg.tar.xz 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.
编辑:我将所有SigLevel
选项(总共 4 个)更改/etc/pacman.conf
为SigLevel = Never
,运行pacman -Syu
并更改了SigLevel
选项。系统现在是最新的,但问题仍然存在。