Apt 更新在 parrots 中显示错误

Apt 更新在 parrots 中显示错误

刚刚安装了 parrot OS,我正在尝试提高我的 linux 技能。所以进入后sudo apt update我得到了这些错误

W: Failed to fetch https://deb.parrot.sh/parrot/dists/lts/InRelease  Temporary failure resolving 'deb.parrot.sh'
W: Failed to fetch https://deb.parrot.sh/parrot/dists/parrot/InRelease  Temporary failure resolving 'deb.parrot.sh'
W: Failed to fetch https://deb.parrot.sh/direct/parrot/dists/parrot-security/InRelease  Temporary failure resolving 'deb.parrot.sh'
W: Failed to fetch https://deb.parrot.sh/parrot/dists/parrot-backports/InRelease  Temporary failure resolving 'deb.parrot.sh'
W: Some index files failed to download. They have been ignored, or old ones used instead.
┌─[user@parrot]─[~]

顺便说一句,我在我的 vmware 虚拟机中执行此操作。

答案1

Parrot OS 在 VMware Workstation(或 Player)中作为 VM 运行良好。我在这里运行并更新它。

使用 ifconfig 确保网络正常工作。<---重要步骤。

跑步:

sudo apt-get --fix-missing update .... 获取缺失的更新。

sudo apt-get dist-upgrade .... 安装新的依赖项

然后再次运行 sudo apt-get update。

从桥接模式更改为 NAT 会重置您的网络连接。您可能需要进行最后一次重启。

相关内容