[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel sources for Debian 10.6 security update kernel 4.19.0-12-amd64



On Thu, Mar 25, 2021 at 07:52:20AM +0000, Eerapu, Nipuna Sri wrote:
> Hi Team,
> 
> I am trying to download kernel sources for kernel 4.19.0-12-amd64 and getting below error.
> 
> As part of my project, I want to compile drivers for this kernel version.
> 
> root@linux-ndeb106:/usr/src# uname -r
> 4.19.0-12-amd64
> root@linux-ndeb106:/usr/src#  apt-get install linux-headers-$(uname -r)
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> E: Unable to locate package linux-headers-4.19.0-12-amd64
> E: Couldn't find any package by glob 'linux-headers-4.19.0-12-amd64'
> E: Couldn't find any package by regex 'linux-headers-4.19.0-12-amd64'

Well, you're running a kernel that's no longer on the stable mirrors,
because it has been superseded.  If you need the headers to match it, you
will need to pull them from a source that still has them (e.g. wherever
you got this kernel from).

If you no longer have such a source sitting around, consider using
snapshot.debian.org.  You can retrieve the single package that you
want by hand, or you can try to do fancy crap like using it as an apt
source.  The instructions are on the web page.


Reply to: