scaleway / kernel-tools

:penguin: Kernels on Scaleway
http://devhub.scaleway.com/#/bootscripts
MIT License
104 stars 36 forks source link

Unable to locate package linux-headers-4.10.8-std-1 / linux-headers-4.4.38-std-1 #369

Closed agustinvinao closed 4 years ago

agustinvinao commented 6 years ago

Im following the guide on https://github.com/scaleway/kernel-tools#how-to-build-a-custom-kernel-module with both version of the bootscript (4.4.38 and 4.10.8), when I try to install the new headers I got

~# 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.10.8-std-1
E: Couldn't find any package by glob 'linux-headers-4.10.8-std-1'
E: Couldn't find any package by regex 'linux-headers-4.10.8-std-1'

How can I install the new headers?

Im trying to install new headers to install wireguard.

With both versions of bootscript I got

-- Unit wg-quick@wg0.service has begun starting up.
Dec 12 01:46:40 scw-6c93eb wg-quick[8077]: Warning: `/etc/wireguard/wg0.conf' is world accessible
Dec 12 01:46:40 scw-6c93eb wg-quick[8077]: [#] ip link add wg0 type wireguard
Dec 12 01:46:40 scw-6c93eb wg-quick[8077]: RTNETLINK answers: Operation not supported
Dec 12 01:46:40 scw-6c93eb wg-quick[8077]: Unable to get device: Protocol not supported
Dec 12 01:46:40 scw-6c93eb systemd[1]: wg-quick@wg0.service: Main process exited, code=exited, status=1/FAILURE
Dec 12 01:46:40 scw-6c93eb systemd[1]: Failed to start WireGuard via wg-quick(8) for wg0.
-- Subject: Unit wg-quick@wg0.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit wg-quick@wg0.service has failed.
--
-- The result is failed.
Dec 12 01:46:40 scw-6c93eb systemd[1]: wg-quick@wg0.service: Unit entered failed state.
Dec 12 01:46:40 scw-6c93eb systemd[1]: wg-quick@wg0.service: Failed with result 'exit-code'.

when I try to run wireguard.

Unable to get device: Protocol not supported