Closed Astromis closed 1 week ago
I have the same problem on the same OS and kernel versions.
try replacing sudo apt linux-headers-$(uname -r)
with sudo apt linux-headers-5.15.0-25-generic
@Rogov-Ilya, thanks for reply.
I installed the another headers and remove sourced one. Unfortunately, it seems that it somewhere got to know which kernel version is installed and tried to build the module for this and if it can't find the headers for this kernel version it just skips the building. It's interesting that installation continues.
...
Building for 5.15.0-125-generic
Module build for kernel 5.15.0-125-generic was skipped since the
kernel headers for this kernel does not seem to be installed.
Setting up amneziawg (1.0.20210914-0~202410011335+c0b400c~ubuntu22.04.1) ...
Maybe I should try to install the particular kernel?
I have the same error for Ubuntu 5.15.0-125-generic
Ubuntu 22.04.5 LTS x86_64 5.15.0-125-generic
confirmed error
Same error. Ubuntu 5.15.0-125-generic have no definition for get_random_u8.
same error on 5.15.0-125, tryed to install on older kernel version, like 5.15.0-25 got same error
confirmed error
Should be fixed in latest packages.
Hi. Tecnhical info of my os
Try to install amneziawg by standraed command
But the installation is crashed. The log is as follows
So it says that that installation misses the function
get_random_u8
. The little investigation shows that actually this function is available in linux kernel headers right in official repo by this link.I make sure that the linux headers are installed, retried the amnezia installation and it fails again. I looked at installed headers on my system and found out that it really doesn't have the above function. Here is the code snippet in the same area as in Torvalds header.
Do you have any ideas how I can fix this?