I am getting errors while updating and upgrading kali linux
apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
error>
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.
But doing just update doesnt give any errors but upgrade does and due to this i am not able to install new applications what should i do?
I have changed repository address to
deb http://http.kali.org/kali kali-rolling main contrib non-free
and
deb http://old.kali.org/kali sana main non-free contrib
this from the official kali site
[kali][1]
and now getting the error >
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 <devel@kali.org>
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 <devel@kali.org>
Reading package lists... Done
W: GPG error: http://old.kali.org/kali sana InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>
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 <devel@kali.org>
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.
got this error.