herve <he...@couvelard.com> writes: > concerning the linux-headers. may i explain what happend to me. > > I reinstalled a debian 11.6 some months ago. and last week i had to > make virtualbox functioning again. it had to "compile" some kernel > modules and need some "headers". my kernel (from the install is > 5.10.0-23-amd64 #1 SMP Debian 5.10.179-3 (2023-07-27) x86_64 > GNU/Linux) so virtualbox need some 5.10.0-23 headers... you can find > 5.10.0.20, 5.10.0.22, 5.10.0.25 in the repos from where the install > came from. > > I had to surf the web and find a 5.10.0.23 in the web site of an > university and wget it to dpkg -i it.
No, you didn't. You could, and should, simply update the kernel with the latest security fixes, and then install the matching headers from the same repo. > I do not know (maybe i could not even understand) the security > reasons/problems of the headers versioning but it seems from my > end-user point of view that, the actual situation that lend me to > download from a website is the worst possible solution. Running out-of-tree kernel code means that you can't use the security card. Sorry. Bjørn