Error! Your kernel headers for kernel 5.15.112-19403-gb69e1c36e415 cannot be found
by Mr_Hammy from LinuxQuestions.org on (#6DKVA)
Hi. I'm quite new and I'm trying to install anbox. After a lot of troubleshooting I managed to try and download anbox-ashem/1 with:
sudo dkms install anbox-ashmem/1
and anbox-binder/1 with: sudo dkms install anbox-binder/1
I'm running debian 12 and I don't know why it's not working...
the full response to both commands is:
Creating symlink /var/lib/dkms/anbox-binder/1/source ->
/usr/src/anbox-binder-1
DKMS: add completed.
Error! Your kernel headers for kernel 5.15.112-19403-gb69e1c36e415 cannot be found.
Please install the linux-headers-5.15.112-19403-gb69e1c36e415 package,
or use the --kernelsourcedir option to tell DKMS where it's located
When I try to use sudo modprobe ashmem_linux, the response is:
modprobe: FATAL: Module ashmem_linux not found in directory /lib/modules/5.15.112-19403-gb69e1c36e415
When I use sudo apt install linux-headers-5.15.112-19403-gb69e1c36e415
It says: Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package linux-headers-5.15.112-19403-gb69e1c36e415
E: Couldn't find any package by glob 'linux-headers-5.15.112-19403-gb69e1c36e415
It confuses me because it tells me to install the package when It doesn't exist?
I'm sorry if it's a simple solution, I just want to get waydroid to work. Thanks to anyone who can provide a solution. I am still new and I might not have provided enough information nor do I know what I should be providing so please ask if you need it. Thank you so much!
sudo dkms install anbox-ashmem/1
and anbox-binder/1 with: sudo dkms install anbox-binder/1
I'm running debian 12 and I don't know why it's not working...
the full response to both commands is:
Creating symlink /var/lib/dkms/anbox-binder/1/source ->
/usr/src/anbox-binder-1
DKMS: add completed.
Error! Your kernel headers for kernel 5.15.112-19403-gb69e1c36e415 cannot be found.
Please install the linux-headers-5.15.112-19403-gb69e1c36e415 package,
or use the --kernelsourcedir option to tell DKMS where it's located
When I try to use sudo modprobe ashmem_linux, the response is:
modprobe: FATAL: Module ashmem_linux not found in directory /lib/modules/5.15.112-19403-gb69e1c36e415
When I use sudo apt install linux-headers-5.15.112-19403-gb69e1c36e415
It says: Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package linux-headers-5.15.112-19403-gb69e1c36e415
E: Couldn't find any package by glob 'linux-headers-5.15.112-19403-gb69e1c36e415
It confuses me because it tells me to install the package when It doesn't exist?
I'm sorry if it's a simple solution, I just want to get waydroid to work. Thanks to anyone who can provide a solution. I am still new and I might not have provided enough information nor do I know what I should be providing so please ask if you need it. Thank you so much!