Kali 2017용 Linux 헤더를 설치하려고 하는데 이 오류가 발생합니다. 어떡해? 인터넷 전체를 검색했는데(그렇지 않다고 생각하지 마세요) 유용한 답변이 없습니다.
~# apt-get install linux-header-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-header-4.9.0-kali4-amd64
E: Couldn't find any package by glob 'linux-header-4.9.0-kali4-amd64'
E: Couldn't find any package by regex 'linux-header-4.9.0-kali4-amd64'
내 저장소는 다음과 같습니다
~# leafpad /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux 2017.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170416-02:08]/ kali-rolling contrib main non-free
#deb cdrom:[Debian GNU/Linux 2017.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170416-02:08]/ kali-rolling contrib main non-free
deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
deb-src http://http.kali.org/kali kali-rolling main contrib non-free
답변1
's'를 놓쳤습니다. 시도해 보세요.
apt-get install linux-headers-$(uname -r)
대신에.