Questions tagged [linux-headers]

44 questions
9
votes
3 answers

Failed to update Linux headers on debian stretch / Debian 9

After running below command i got error: # apt-get install linux-headers-$(uname -r) Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package linux-headers-4.9.0-3-amd64 E: Couldn't find…
Abhishek Verma
  • 259
  • 1
  • 3
  • 9
6
votes
1 answer

Why are there multiple copies of header files in /usr/include?

I've been browsing my /usr/include folder trying to get acquainted with the layout and I've noticed that there are multiple copies of header files (at least by name, I didn't actually diff them to see if they were exact copies) found in several sub…
Adam Sperry
  • 166
  • 2
  • 8
5
votes
1 answer

Kali Linux kernel headers for 4.14.71-v6

I am trying to install kernel headers version 4.14.71-v6 (uname -r) for Kali Linux. I already did the common commands... apt update apt upgrade apt dist-upgrade apt install linux-headers-generic alt install linux-headers-$(uname -r) ...with and…
4
votes
1 answer

What is kernel headers that can be used in userspace? Do their signature or interface differ than the headers in different directories?

It might be a incoherent question about kernel headers as I don't have clear understanding about it and where and how it is used. I think it might get flagged down. My question has 3 parts: I think Kernel headers provide a interface so that other…
jlas
  • 95
  • 1
  • 5
3
votes
1 answer

Why called 'UIO' instead of 'VIO'

As The Open Group doc says, the header defines the iovec structure, so why we call it Berkeley UIO.h rather than V(ector)IO.h?
ccmywish
  • 31
  • 4
3
votes
1 answer

NGINX can't read custom headers from response

From my nginx server I want to get an auth response with custom headers from an external Apache server. The problem is, I can't get the custom header's value. location /app { auth_request /auth; add_header custom…
nano1254
  • 61
  • 6
3
votes
1 answer

Should my Linux headers match my running kernel or what glibc was compiled against?

The last time I needed to deal with kernel headers was back in the Pleistocene (2.6 or so) and I remember back then that you needed to match your kernel headers not to the kernel you were running but to the kernel version glibc was compiled against.…
Bandrami
  • 850
  • 5
  • 13
2
votes
2 answers

How to remove old kernel images

Am currently running POP_OS 20.04 (LTS). When I open the terminal and run the command, dpkg --list | grep linux-image it returns a list of apparently installed images, including my current (6.0.12) and most recent (5.17.5), about nine images from…
2
votes
0 answers

Cannot install linux-headers because of uname

On Ubuntu (18.04.5 LTS) I tried to install linux headers (need that for acronis backup) with sudo apt-get install linux -headers-`uname -r` If i run that, apt lists 719 header-packages to be installed. There are also different variants like aws,…
Indivon
  • 121
  • 2
2
votes
1 answer

Want to install VirtualBox Guest Additions on CentOS 7 but get a header mismatch

I try to install VirtualBox Guest Additions on a CentOS 7 VM. I installed the prerequisites via sudo yum install perl gcc dkms kernel-devel kernel-headers make bzip2 then I "inserted" the Guest Additions CD image and the Guest Additions auto runner…
2
votes
0 answers

Unable to find relevant linux headers

I am going through the steps to be able to use my Wacom tablet (CTL-6100WL) and I am to the point where I am installing the linux headers however this happens. (xenial)grace@localhost:~$ uname -r 3.18.0-18720-g7b8c1dc67cda (xenial)grace@localhost:~$…
2
votes
0 answers

Installing Kernel Headers

I have built, installed, and am now running a recent 4.18.0-rc1+ kernel from kernel.org on a Xubuntu machine. The machine used to run 4.13.0-45. I am now trying to compile programs against it with gcc and I am encountering issues with my kernel…
Andy
  • 121
  • 4
1
vote
2 answers

What folder do I choose in the VMware kernel module updater?

When I run vmware in Kali Linux, this keeps showing up: I have kernel headers for version 6.3.0-kali1-amd64. What path do I use? When I choose a folder, this shows up: I looked up the answers online and ran this script: sudo apt-get install…
horsey_guy
  • 33
  • 1
  • 7
1
vote
1 answer

How can I create the kernel headers for ARM on X86?

I have an ARM-based board, which I used with factory kernel (5.10.110). To manually build a kernel module, I needed the kernel-header package. To install this package it was explained in the documentation: sudo dpkg -i…
1
vote
0 answers

Centos kernel version confliction

Currently, when I run uname -msr on my CentOS 7 machine, I get Linux 5.15.0 x86_64 But, what I've read, in a post like this, the kernel version should be 3.10.xxxx. This can be also confirmed from the wikipedia. I have run yum install kernel-devel…
user568518
  • 11
  • 2
1
2 3