![无法在 Kali 上使用 apt-get 安装任何东西](https://linux22.com/image/202690/%E6%97%A0%E6%B3%95%E5%9C%A8%20Kali%20%E4%B8%8A%E4%BD%BF%E7%94%A8%20apt-get%20%E5%AE%89%E8%A3%85%E4%BB%BB%E4%BD%95%E4%B8%9C%E8%A5%BF.png)
我尝试跑步sudo apt-get install apktool
并得到:
Reading package list... Done
Reading dependency tree... Done
Reading state information... Done
E: Unable to locate package apktool
我跑过去sudo apt-get update
得到:
Ign:1 http://security.kali.org/kali-security sana/updates InRelease
Ign:2 http://http.kali.org/kali sana InRelease
Err:3 http://http.kali.org/kali sana Release
404 Not Found [IP: 192.99.200.113 80]
Ign:1 http://security.kali.org/kali-security sana/updates InRelease
Ign:1 http://security.kali.org/kali-security sana/updates InRelease
Err:1 http://security.kali.org/kali-security sana/updates InRelease
Could not resolve 'security.kali.org'
Reading package lists... Done
E: The repository 'http://http.kali.org/kali sana Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
我怎样才能apt-get
工作才能安装东西?
另外:我在 VMware 中将 kali 作为虚拟机运行...它已连接到互联网,但不确定这是否是问题所在。
答案1
答案2
Kali Sana 是 EOL 版本,不再维护。您需要从 Kali Sana 迁移到 Kali 滚动。正如 @Romeo Ninov 所说,不能保证升级已安装的系统,全新安装更合适。
下一步;可apktool
在 Kali 存储库中找到:
sudo apt install apktool
VMware 映像可以从以下位置下载这里。 (不要改变sources.list
)