Jump to content

orangepi3-lts 6.1.30-sunxi64 - kernel headers


Energokom

Recommended Posts

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!

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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