I
I
Ilnur Karimov2017-07-17 20:44:55
linux
Ilnur Karimov, 2017-07-17 20:44:55

Can't find package linux-headers?

When you enter the command in the terminalapt-get install -y dkms linux-headers-$(uname -r)

Чтение списков пакетов… Готово
Построение дерева зависимостей       
Чтение информации о состоянии… Готово
E: Не удалось найти пакет linux-headers-4.9.0-kali3-amd64
E: Не удалось найти пакет с помощью glob «linux-headers-4.9.0-kali3-amd64»
E: Не удалось найти пакет с помощью regex «linux-headers-4.9.0-kali3-amd64»

what to do ? repositories are all set up

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
pfg21, 2017-07-17
@Lylpyp

it seems to me more that the system is messed up with repositories in /etc/apt/sources.list
For example, I turned on the repository, installed the 4.9.0-kali3-amd64 kernel through it. and then commented out access to this repository and apt naturally does not find headers suitable for the kernel.
option 2: the core of the system is terribly old, the core and headers for it were excluded from the available repositories, and quite naturally nothing is found.
update the kernel, and then put headers on it, they are written into the turnip as a set.

N
Niriter Inc., 2017-07-17
@niriter

try using sudo to do like this "sudo apt-get install -y dkms linux-headers-$(uname -r)" and write what happens

S
sim3x, 2017-07-17
@sim3x

linux-headers-generic

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question