在尝试从 kali linux 中的通知进行定期更新后,我收到此错误消息:
E: Error http://security.kali.org/ kali/updates/main libicu48 amd64 4.8.1.1-12+deb7u2
404 Not Found
有什么帮助吗?
答案1
如果你看http://security.kali.org/pool/main/i/icu/您会找到但找不到您尝试安装的libicu48_4.8.1.1-12+deb7u3_amd64.deb
旧版本。4.8.1.1-12+deb7u2
我怀疑您计算机上的软件包信息已过时。请运行apt-get update
并注意是否有任何错误消息。
如果没有错误,请尝试再次升级。
如果有错误,请尝试找出原因。您可能使用的是不再获得安全更新的旧版本吗?或许你需要调整sources.list
答案2
Kali Linux 安装损坏的最常见原因是遵循非官方建议,特别是任意填充系统的来源.list文件与非官方存储库。
打开sources.list文件
nano /etc/apt/sources.list
删除旧内容并粘贴此内容,
deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free
保存、退出并重新启动
欲了解更多信息,请访问Kali Linux官方文档
答案3
尝试以下操作/etc/apt/source.list
:
deb [arch=i386,amd64,armel,armhf] http://http.kali.org/kali kali-dev main contrib non-free
deb [arch=i386,amd64,armel,armhf] http://http.kali.org/kali kali-dev main/debian-installer
deb-src http://http.kali.org/kali kali-dev main contrib non-free
deb [arch=i386,amd64,armel,armhf] http://http.kali.org/kali kali main contrib non-free
deb [arch=i386,amd64,armel,armhf] http://http.kali.org/kali kali main/debian-installer
deb-src http://http.kali.org/kali kali main contrib non-free
deb [arch=i386,amd64,armel,armhf] http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free