Ubuntu-Mate 22.04 Linux Headers not Found 4.9.312-6

Post Reply
robert123
Posts: 3
Joined: Tue Aug 02, 2022 4:53 am
languages_spoken: english
ODROIDs: C2, XU, N2, C4
Has thanked: 2 times
Been thanked: 0
Contact:

Ubuntu-Mate 22.04 Linux Headers not Found 4.9.312-6

Post by robert123 »

I have downloaded the current C4 Ubuntu-Mate 22.04 (Jammy) image from the Hardkernel WIKI page and have discovered that the Linux Headers are not installed in /usr/src . Any/all attempts to update this via apt update/upgrade have faile dto install them. I am unable to install 3rd party kernel drivers as it is unable to build/compile due to the missing Linux headers. I am far from an expert in Linux and even after attempts to install an updated Linux version or generic Linux headers, the kernel reports as 4.9.312-6 (uname -r). I would appreciate guidance on how I can proceed in either installing the headers for 4.9.312-6 or upgrading Linux so that compiles will work.

mdrjr
Site Admin
Posts: 11817
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 51 times
Contact:

Re: Ubuntu-Mate 22.04 Linux Headers not Found 4.9.312-6

Post by mdrjr »

Hello!

You need to update your system, kernel 4.9.316-7 includes the headers.
sudo apt update && sudo apt dist-upgrade

robert123
Posts: 3
Joined: Tue Aug 02, 2022 4:53 am
languages_spoken: english
ODROIDs: C2, XU, N2, C4
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Ubuntu-Mate 22.04 Linux Headers not Found 4.9.312-6

Post by robert123 »

Thanks for responding but this included in the attempts to update the headers. The /usr/src remained empty.

mdrjr
Site Admin
Posts: 11817
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 51 times
Contact:

Re: Ubuntu-Mate 22.04 Linux Headers not Found 4.9.312-6

Post by mdrjr »

4.9.316-7 was released a few hours ago!
You need to update now.
These users thanked the author mdrjr for the post:
robert123 (Wed Aug 03, 2022 4:20 am)

robert123
Posts: 3
Joined: Tue Aug 02, 2022 4:53 am
languages_spoken: english
ODROIDs: C2, XU, N2, C4
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Ubuntu-Mate 22.04 Linux Headers not Found 4.9.312-6

Post by robert123 »

Perfect. It seemed strange that the headers were not installed on the released image. Thank you for following up my question!

mdrjr
Site Admin
Posts: 11817
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 51 times
Contact:

Re: Ubuntu-Mate 22.04 Linux Headers not Found 4.9.312-6

Post by mdrjr »

robert123 wrote:
Wed Aug 03, 2022 4:20 am
Perfect. It seemed strange that the headers were not installed on the released image. Thank you for following up my question!
Normally the headers aren't installed on the mate images. Only on the minimal images
due to size contraints :(
These users thanked the author mdrjr for the post:
robert123 (Wed Aug 03, 2022 4:33 am)

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 1 guest