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

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
gnipper
Posts: 5
Joined: 2010-10-19 03:13

Linux headers for Stretch rc1

#1 Post by gnipper »

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?

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Linux headers for Stretch rc1

#2 Post by pylkko »

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

gnipper
Posts: 5
Joined: 2010-10-19 03:13

Re: Linux headers for Stretch rc1

#3 Post by gnipper »

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.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Linux headers for Stretch rc1

#4 Post by stevepusser »

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.
MX Linux packager and developer

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 86 times

Re: Linux headers for Stretch rc1

#5 Post by 4D696B65 »

stevepusser wrote: *For you, that's linux-image-amd64.
And linux-headers-amd64

gnipper
Posts: 5
Joined: 2010-10-19 03:13

Re: Linux headers for Stretch rc1

#6 Post by gnipper »

Yes, the metapackages sound like the answer. Much appreciate everyone's help.

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Linux headers for Stretch rc1

#7 Post by pylkko »

OK. I thought that the installer would install the metapackages but I guess it doesn't?

User avatar
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

#8 Post by Head_on_a_Stick »

^ 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.
deadbang

User avatar
dilberts_left_nut
Administrator
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

#9 Post by dilberts_left_nut »

pylkko wrote:OK. I thought that the installer would install the metapackages but I guess it doesn't?
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..
AdrianTM wrote:There's no hacker in my grandma...

Post Reply