I´m using the openvswitch image from Docker hub (
https://hub.docker.com/r/openvswitch/ovs).
I installed every dependency sucessfully but batman-adv. I followed the commands from the install.sh file:
> cd batman-adv
> make
The error says I´m missing /lib/modules/5.4.0-104-generic/build. Why is the folder whole modules folder missing?
Can you please tell me if I´m using the right installation approach? I attach the error message and lib directory content.
I tried to run these commands:
> apt update && apt full-upgrade && apt autoremove
> apt install build-essential linux-kernel-headers
> uname -a
Output of "uname -a" -> Linux wifi-virtualbox 5.4.0-104-generic #118-Ubuntu SMP Wed Mar 2 19:02:41 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
I also tried to run "apt-get install linux-headers-`uname -r`" but I get error:
E: Unable to locate package linux-headers-5.4.0-104-generic
E: Couldn't find any package by glob 'linux-headers-5.4.0-104-generic'
E: Couldn't find any package by regex 'linux-headers-5.4.0-104-generic'