Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Linux headers for Stretch rc1
Linux headers for Stretch rc1
Have just installed Stretch rc1 which uses kernel version 4.8.0-2. But there don't seem to be any linux headers for this kernel, only 4.9.0-1 in the repositories. Any suggestions on how to proceed when building a kernel module?
Re: Linux headers for Stretch rc1
There are no Debian release candidates. The installer was rc1, not the OS. The installer probably has 4.8. You have a non-release now (testing), it does not have a specific kernel, but one that changes all the time. Since 4.9 kernel is there in the repo,I suggest you first check what kernel you have and the update your system.
Code: Select all
uname - a
apt update
apt upgrade
Re: Linux headers for Stretch rc1
Many thanks for the quick response, makes sense now. Kernel 4.8 was installed by the rc1 installer but a system update/upgrade did not change the version at all. I had to specifically install linux-image-4.9.0-1-amd64, then reboot and everything was good.
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: Linux headers for Stretch rc1
You can install a linux-image metapackage*, which will automatically pull in whatever the latest kernel is--so when 4.10 gets into Stretch, that will be pulled in by an upgrade to the metapackage. You'll have to manually remove any older unwanted kernels.
*For you, that's linux-image-amd64.
*For you, that's linux-image-amd64.
MX Linux packager and developer
Re: Linux headers for Stretch rc1
And linux-headers-amd64stevepusser wrote: *For you, that's linux-image-amd64.
Re: Linux headers for Stretch rc1
Yes, the metapackages sound like the answer. Much appreciate everyone's help.
Re: Linux headers for Stretch rc1
OK. I thought that the installer would install the metapackages but I guess it doesn't?
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: Linux headers for Stretch rc1
^ If that is true then it sounds like a bug in RC1 to me...
@OP: can you confirm and reproduce?
I will try myself when I have time.
@OP: can you confirm and reproduce?
I will try myself when I have time.
deadbang
- dilberts_left_nut
- Administrator
- Posts: 5347
- Joined: 2009-10-05 07:54
- Location: enzed
- Has thanked: 13 times
- Been thanked: 66 times
Re: Linux headers for Stretch rc1
I recall being offered the choice between the metapackage and the specific kernel pkg, but that was the Jessie installer, and the "advanced" install path - I would expect the 'standard' install to use the metapackage by default..pylkko wrote:OK. I thought that the installer would install the metapackages but I guess it doesn't?
AdrianTM wrote:There's no hacker in my grandma...