如何修复apt更新、升级

如何修复apt更新、升级

由于新安装,显示错误,安装步骤失败无法获取http://http.kali.org/kali/dists/kali-last-snapshot/inrelease临时解析'http.kali.org'

答案1

使用镜像解决Temporary resolving'http.kali.org'错误,参见https://http.kali.org/README.mirrorlist

echo "deb https://archive-4.kali.org/kali kali-last-snapshot main contrib non-free" |\
sudo tee /etc/apt/sources.list
sudo apt update

相关内容