Kali Linux를 업데이트하는 중 오류가 발생했습니다.

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][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.

이 오류가 발생합니다.

답변1

~에서칼리 리눅스 문서:

sources.listKali Linux 설치가 손상된 가장 일반적인 원인은 비공식 권장 사항을 따르는 것입니다. 특히 비공식 저장소를 사용하여 시스템 파일을 임의로 채우는 것입니다. 다음 게시물에서는 어떤 리포지토리가 있어야 하며 sources.list언제 사용해야 하는지 명확히 하는 것을 목표로 합니다.

Kali 파일에 sources.list다른 저장소를 추가하면 KALI LINUX 설치가 중단될 가능성이 높습니다.

[...]

은퇴한 Kali sana(2.0) 저장소

폐기된 sana 저장소에 액세스하려면 source.list에 다음 항목을 포함하십시오.

deb http://old.kali.org/kali sana main non-free contrib
# For source package access, uncomment the following line
# deb-src http://old.kali.org/kali sana main non-free contrib

관련 정보