无法找到包 linux-headers-4.9.0-kali4-amd64

无法找到包 linux-headers-4.9.0-kali4-amd64

我正在尝试为 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)

反而。

相关内容