Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install kernel headers? #90

Open
earshinov opened this issue Oct 21, 2024 · 1 comment
Open

Install kernel headers? #90

earshinov opened this issue Oct 21, 2024 · 1 comment

Comments

@earshinov
Copy link

Hey! Thank you for a very usable script.

Is there any way to install kernel headers along with the kernel?

I just ran bash ./ubuntu-mainline-kernel.sh -i 5.19.17 only to discover that a package I'm trying to install that contains a kernel module won't compile the module because kernel headers are missing:

Loading new [redacted] files...
Building for 5.19.17-051917-generic
Module build for kernel 5.19.17-051917-generic was skipped since the
kernel headers for this kernel does not seem to be installed.

Took me a while to figure out why the module is missing.

I am doing an automated setup, so manually googling for kernel-headers .deb wasn't on my roadmap (found them here: https://mirrors.portworx.com/mirrors/https/kernel.ubuntu.com/mainline/v5.19.17/amd64/)

@pimlie
Copy link
Owner

pimlie commented Nov 1, 2024

Hmm, kernel headers should be installed automatically unless they are not listed on the Ubuntu Kernel repo or with a unexpected name for the package. You can try to use download only mode to see which files are being downloaded / installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants