![LFS 第 3.1 章 zsh:未找到命令:wget](https://linux22.com/image/201543/LFS%20%E7%AC%AC%203.1%20%E7%AB%A0%20zsh%EF%BC%9A%E6%9C%AA%E6%89%BE%E5%88%B0%E5%91%BD%E4%BB%A4%EF%BC%9Awget.png)
大家好,我正在 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)