无法使用 pacman 更新 Linux

无法使用 pacman 更新 Linux

尝试使用以下命令从命令行更新我的 Artix(Arch 衍生)Linux:

sudo pacman -Syu

我收到以下错误:

...
Total Download Size:       3.15 MiB
Total Installed Size:  15628.07 MiB
Net Upgrade Size:        678.21 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
 khtml-5.79.0-1-x86_64                                      2.8 MiB  3.09 MiB/s 00:01 [-------------------------------------------------]  88%
 kross-5.79.0-1-x86_64                                      3.1 MiB  3.02 MiB/s 00:01 [-------------------------------------------------]  99%
(1096/1096) checking keys in keyring                                                  [-------------------------------------------------] 100%
(1096/1096) checking package integrity                                                [-------------------------------------------------] 100%
error: khtml: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/khtml-5.79.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: kross: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/kross-5.79.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

如果我对最后两个问题回答“是”,则会出现同样的错误。

我想忽略这两个软件包来更新我的系统。我该怎么做?这两个不重要的 6 MiB 软件包有可能阻止 15 GiB 更新吗?

答案1

今天重试,更新成功。

我没有删除这个问题,因为这可能是一个常见问题,即使解决方案很简单。

相关内容