Package: wireguard-dkms
Version: 0.0.20200121-2
Severity: important**
**
Dear wireguard Maintainer,
The debian wiki (https://wiki.debian.org/Wireguard) says that an 'apt
install wireguard' is enough to build the wireguard module via dkms,
however on a fresh debian 10 installation wireguard, wireguard-dkms and
wireguard-tools will be installed but it does NOT build the module. An
additional 'dkms install wireguard/0.0.20200121' is required for the
module to be actually built, which is not shown in any wireguard guide.
I believe it did autobuild the module in the past.
Also it looks like wireguard requires the package 'bc' which is not
listed as a dependency.
Full installation log on a fresh debian buster installation:
root@debian:~# apt install bc dkms perl
[...]
root@debian:~# echo "deb http://deb.debian.org/debian/ unstable main" >
/etc/apt/sources.list.d/unstable-wireguard.list
root@debian:~# printf 'Package: *\nPin: release
a=unstable\nPin-Priority: 90\n' > /etc/apt/preferences.d/limit-unstable
root@debian:~# apt update
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://deb.debian.org/debian buster InRelease
Hit:3 http://deb.debian.org/debian buster-updates InRelease
Get:4 http://deb.debian.org/debian unstable InRelease [142 kB]
Get:5 http://deb.debian.org/debian unstable/main amd64 Packages [8,233 kB]
Get:6 http://deb.debian.org/debian unstable/main Translation-en [6,193 kB]
Fetched 14.6 MB in 4s (4,035 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
root@debian:~# apt install wireguard
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
wireguard-dkms wireguard-tools
The following NEW packages will be installed:
wireguard wireguard-dkms wireguard-tools
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 342 kB of archives.
After this operation, 2,096 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://deb.debian.org/debian unstable/main amd64 wireguard-dkms
all 0.0.20200121-2 [251 kB]
Get:2 http://deb.debian.org/debian unstable/main amd64 wireguard-tools
amd64 1.0.20200121-2 [84.1 kB]
Get:3 http://deb.debian.org/debian unstable/main amd64 wireguard all
1.0.20200121-2 [6,800 B]
Fetched 342 kB in 0s (3,992 kB/s)
Selecting previously unselected package wireguard-dkms.
(Reading database ... 50821 files and directories currently installed.)
Preparing to unpack .../wireguard-dkms_0.0.20200121-2_all.deb ...
Unpacking wireguard-dkms (0.0.20200121-2) ...
Selecting previously unselected package wireguard-tools.
Preparing to unpack .../wireguard-tools_1.0.20200121-2_amd64.deb ...
Unpacking wireguard-tools (1.0.20200121-2) ...
Selecting previously unselected package wireguard.
Preparing to unpack .../wireguard_1.0.20200121-2_all.deb ...
Unpacking wireguard (1.0.20200121-2) ...
Setting up wireguard-dkms (0.0.20200121-2) ...
Setting up wireguard-tools (1.0.20200121-2) ...
Setting up wireguard (1.0.20200121-2) ...
Processing triggers for man-db (2.8.5-2) ...
[module is not built]
root@debian:~# dkms install wireguard/0.0.20200121
Creating symlink /var/lib/dkms/wireguard/0.0.20200121/source ->
/usr/src/wireguard-0.0.20200121
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j1 KERNELRELEASE=4.19.0-6-amd64 -C
/lib/modules/4.19.0-6-amd64/build
M=/var/lib/dkms/wireguard/0.0.20200121/build........
cleaning build area...
DKMS: build completed.
wireguard.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.19.0-6-amd64/updates/dkms/
depmod......
DKMS: install completed.
Regards,
Mia
-- System Information:
Debian Release: 10.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable'), (90, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-6-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages wireguard-dkms depends on:
ii dkms 2.6.1-4
ii perl 5.28.1-6
Versions of packages wireguard-dkms recommends:
ii wireguard 1.0.20200121-2
ii wireguard-tools 1.0.20200121-2
wireguard-dkms suggests no packages.
-- no debconf information