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

Installing generic kernal headers #1

Closed
Eric-11 opened this issue Mar 30, 2015 · 1 comment
Closed

Installing generic kernal headers #1

Eric-11 opened this issue Mar 30, 2015 · 1 comment

Comments

@Eric-11
Copy link

Eric-11 commented Mar 30, 2015

Thanks for your script. I realize this is not related to your work, but I thought you might know the answer about the proper headers. I was able to install Lubuntu with no issues using your script:

Linux unicorn 3.17.1-031701-generic #201410150735 SMP Wed Oct 15 11:36:31 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

However I also need to install the kernel headers. Since this install seems to be -031701 in the uname, the general command

sudo apt-get install linux-headers-$(uname -r)

produces:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux-headers-3.17.1-031701-generic is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'linux-headers-3.17.1-031701-generic' has no installation candidate

Is this an error or should I force this?

sudo apt-get install linux-headers-generic

because specifying 3.17.1-generic doesn't work

E: Unable to locate package linux-headers-3.17.1-generic

Thanks for the help

@reynhout
Copy link
Owner

Hi, I just saw your post on /r/chrubuntu too.

Here's what I wrote there.

To match the 3.17.1 kernel, you'll want to install header files thusly:

curl -O http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.1-utopic/linux-headers-3.17.1-031701-generic_3.17.1-031701.201410150735_amd64.deb
curl -O http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.1-utopic/linux-headers-3.17.1-031701_3.17.1-031701.201410150735_all.deb
dpkg -i linux-headers-3.17.1-*.deb

3.17.1 is the last released kernel version for Utopic, but the 3.19 kernels work fine also.

If you want to keep the whole system consistent, stay on 3.17.1 until Vivid releases in a few weeks.

Let me know if you have any troubles with it.

Thanks!

PS: Sorry for the GHFMD rendering failure above. Imagine the curl and dpkg commands are properly wrapped in tags. :(

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