Jump to content

Recommended Posts

Posted

I use Armbian_23.5.1_Orangepi3-lts_bookworm_current_6.1.30.

I'm trying to download in armbian-config kernel headers, but linux-headers-5.15.93-sunxi64 are downloaded.

 

How to download kernel headers 6.1.30.?

 

Posted

Just wondering if the Apt repos are still behind? I just tried installing the linux-source package on a system running 6.1.30-sunxi, and it's giving me an error.

➜  ~ sudo apt install linux-source-$(uname -r)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package linux-source-6.1.30-sunxi
E: Couldn't find any package by glob 'linux-source-6.1.30-sunxi'

Just trying to figure out if I'm doing something wrong or if this is a known issue. Thanks!

Posted

Just wanted to point out that more than a month has passed and the repo still does not hold 6.1.30.

I am gonna try to switch to an older Kernel so i compile the kernel modules i need.

Posted (edited)

It was not possible to add the kernel headers to the repository? It has already been released on 23.08, but there are still no kernel headers

Edited by Energokom
Posted

Hi everyone.
I'm using OrangePi PC h3 board and Armbian. I needed to install linux-kernel-headers for my project. Many time I was looking for a solution to this problem.

1. Find out the version of kernel:

        uname -r

For me its 6.1.63-current-sunxi.

2. Download headers for your version:

        https://imola.armbian.com/apt/pool/main/l/

You need to find for your version of kernel. In my case https://imola.armbian.com/apt/pool/main/l/linux-headers-current-sunxi/

3. I'm connecting to my board by ssh, so I need to transfer file on OrangePi:

        scp file_path username@ip_address:path_where_to_save

You can use another way.

4. Install headers:
         sudo dpkg -i file_name.deb

After that everything worked for me.

Good luck.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines