我在更新和升级 kali linux 时遇到错误
apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
错误>
Ign:1 http://http.kali.org/kali sana InRelease
Ign:2 http://security.kali.org/kali-security sana/updates InRelease
Err:3 http://http.kali.org/kali sana Release
404 Not Found
Err:4 http://security.kali.org/kali-security sana/updates Release
404 Not Found
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.
E: The repository 'http://security.kali.org/kali-security sana/updates 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.
但是只做更新不会给出任何错误,但升级会,因此我无法安装新的应用程序我该怎么办?
我已将存储库地址更改为
deb http://http.kali.org/kali kali-rolling main contrib non-free
和
deb http://old.kali.org/kali sana main non-free contrib
这是来自官方kali网站
[kali][1]
现在得到错误>
Get:2 http://old.kali.org/kali sana InRelease [20.3 kB]
Err:2 http://old.kali.org/kali sana InRelease
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
Get:1 http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease [30.5 kB]
Err:1 http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
Reading package lists... Done
W: GPG error: http://old.kali.org/kali sana InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
E: The repository 'http://old.kali.org/kali sana InRelease' is not signed.
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.
W: GPG error: http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <[email protected]>
E: The repository 'http://http.kali.org/kali kali-rolling InRelease' is not signed.
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.
得到这个错误。