minideb icon indicating copy to clipboard operation
minideb copied to clipboard

how do I install correct kernel headers on stretch or buster?

Open sido420 opened this issue 3 years ago • 1 comments

Trying to install Linux headers for the version minideb came with but cant seem to find the right headers.

$ docker run -it --name minideb bitnami/minideb:buster
root@9ae2fa033c63:/# uname -r
5.4.39-linuxkit
root@9ae2fa033c63:/# apt update
Get:1 http://security.debian.org buster/updates InRelease [65.4 kB]
Get:2 http://deb.debian.org/debian buster InRelease [121 kB]     
Get:3 http://security.debian.org buster/updates/main amd64 Packages [306 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 Packages [10.7 MB]
Fetched 11.2 MB in 6s (1795 kB/s)                                                                                           
Reading package lists... Done
Building dependency tree... Done
All packages are up to date.
root@9ae2fa033c63:/# apt search linux | egrep -i headers | egrep 39

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

root@9ae2fa033c63:/# 

sido420 avatar Nov 07 '20 14:11 sido420

I think you can use this to find the headers package you are looking for, I hope it helps

apt-get update && apt-cache search linux-headers

beltran-rubo avatar Mar 11 '21 07:03 beltran-rubo