0
wzor

install linux-headers

Recommended Posts

compiled https://github.com/armbian/build debian.
uname -a
Linux orangepipc 4.14.73-sunxi # 1 SMP Mon Oct 1 11:55:35 +04 2018 armv7l GNU / Linux

apt update
apt-get install -y build-essential linux-headers -uname -r`

Reading package lists ... Done
Building dependency tree
Reading state information ... Done
E: Unable to locate package linux-headers-4.14.73-sunxi
E: Could not find any package by glob 'linux-headers-4.14.73-sunxi'
E: Could not find any package by regex 'linux-headers-4.14.73-sunxi'

 

what is the problem???

 

PS:  the problem decided.

Share this post


Link to post
Share on other sites

With:

apt install linux-headers-next-sunxi

 you get latest headers from the repository ... but there is not a version 4.14.73 but a bit lower so it's good to start with the same kernel version too or as @chwe suggested.

Share this post


Link to post
Share on other sites

Currently for mvebu-next is the same, latest headers are missing.

 

Is there any chance that at some point for every linux-image package release on the armbian repo we can find the corresponding linux-headers package ?

 

You can't request to every user to go build their own armbian image in order to get the right headers to compile something.

 

Honestly it's quite frustrating. @Igor could you please push in the armbian repo the latest mvebu-next headers ?

Share this post


Link to post
Share on other sites
54 minutes ago, gprovost said:

You can't request to every user to go build their own armbian image

 


Why should I solve every problem that pops out?? Solving this problem requires costly manual intervention(s) or costly coding to limit manual interventions. None of that is available.

It is frustrating indeed.

 

49 minutes ago, gprovost said:

could you please push in the armbian repo the latest mvebu-next headers ?


Anyone (trustworthy) can prepare it:
https://github.com/armbian/upload

and start to take care of this problem in general.

Share this post


Link to post
Share on other sites

I'm not arguing your limited bandwidth. My point is that whenever you trigger you process of uploading the linux-image to the dpkg repo, I would have imagined that it should come along to also upload the linux-headers since it is also part of the build output.

 

32 minutes ago, Igor said:

Anyone (trustworthy) can prepare it:
https://github.com/armbian/upload

and start to take care of this problem in general. 

 

Sure. But seems a bit strange that published linux-headers would be built on another machine than the one that build the kernel. Just for the sake of consistency.

 

Is there a piece of script somewhere that you use to automatize the build and publish flow. I mean something that we can help contributing ?

Share this post


Link to post
Share on other sites
32 minutes ago, gprovost said:

Sure. But seems a bit strange that published linux-headers would be built on another machine than the one that build the kernel. Just for the sake of consistency.


I am only interested in solving this problem in general - if I find some time. Until then it's in users domain.

 

32 minutes ago, gprovost said:

I mean something that we can help contributing ?


Repository https://github.com/armbian/upload shows which packages are in the repository. You upload them in the same location as they come from the build script and script do the rest. This service is as is. I am not changing MO. I can only stop doing this.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
0