Sample Header Ad - 728x90

Package "linux-headers" not available in Kali Linux

-3 votes
1 answer
953 views
I found a [tutorial](https://www.youtube.com/watch?v=V_Payl5FlgQ) of how to install Kali Linux on VirtualBox. Everything was going fine, until I enter this command:
sudo apt update && sudo apt install -y linux-headers - $(uname -r)
It says that package linux-headers is not availabe but is referred by another package and I get these errors:
E: Package 'linux-headers' has no installation candidate
E: Unable to locate package 5.7.0-kali1-amd64
E: Couldn't find any package by glob '5.7.0-kali1-amd64'
Also, what does parameter -y means in sudo apt install -y linux-headers - $(uname -r)?
Asked by platinoob_ (1 rep)
Sep 22, 2020, 11:23 AM
Last activity: Jun 10, 2024, 11:11 PM