저는 칼리 리눅스 4.13.0 amd64를 사용하고 있습니다.
apt update 실행시 문제가 발생하며 오류가 뜹니다.
# sudo apt update
Ign:1 cdrom://[Debian GNU/Linux 2017.3 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20171109-13:49] kali-rolling InRelease
Err:2 cdrom://[Debian GNU/Linux 2017.3 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20171109-13:49] kali-rolling Release
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Reading package lists... Done
E: The repository 'cdrom://[Debian GNU/Linux 2017.3 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20171109-13:49] kali-rolling 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.*
답변1
답변2
다음 줄을 제거/주석 해제합니다 /etc/apt/sources.list
.
cdrom://[Debian GNU/Linux 2017.3 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20171109-13:49] kali-rolling InRelease
당신 때문에sources.list
다음 줄만 포함해야 합니다.:
deb http://http.kali.org/kali kali-rolling main contrib non-free
다음을 사용하여 재정의할 수 있습니다 sources.list
.
echo deb http://http.kali.org/kali kali-rolling main contrib non-free > /etc/apt/sources.list
apt update
답변3
뎁http://http.kali.org/kalikali-rolling main contrib non-free
위 항목은 CDROM 오류 솔루션이 아닌 인터넷에서 적절하게 업데이트됩니다.