LFS 第 3.1 章 zsh:未找到命令:wget

LFS 第 3.1 章 zsh:未找到命令:wget

大家好,我正在 Black Arch VM 上制作 LFS。我目前在第 3.1 章,我运行了命令wget https://www.linuxfromscratch.org/lfs/view/11.0/wget-list,但出现错误zsh: command not found: wget。我在开始构建 LFS 之前运行sudo pacman -S wget以获取 wget 但我得到:

resolving dependencies...
looking for conflicting packages...

Packages (1) wget-1.21.2-1

Total Download Size:   0.72 MiB
Total Installed Size:  3.08 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 wget-1.21.2-1-x86_64                                 739.1 KiB   193 KiB/s 00:04 [##############################################] 100%
(1/1) checking keys in keyring                                                    [##############################################] 100%
(1/1) checking package integrity                                                  [##############################################] 100%
error: wget: signature from "Levente Polyak (anthraxx) <[email protected]>" is unknown trust
:: File /var/cache/pacman/pkg/wget-1.21.2-1-x86_64.pkg.tar.zst 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.`

您有想法如何解决此错误吗?感谢您的回答和建议。

我尝试过pacman -Sy archlinux-keyring && pacman -Syyu,但我得到了

error: failed retrieving file 'wget-1.21.2-1-x86_64.pkg.tar.zst' from mirror.rackspace.com : Failure writing output to destination warning: failed to retrieve some files error: failed to commit transaction (download library error)

相关内容