Wireguard install fails on 19.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
-------
# apt install wireguard-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
wireguard-dkms
The following NEW packages will be installed:
wireguard-dkms wireguard-tools
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/330 kB of archives.
After this operation, 2,126 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Selecting previously unselected package wireguard-dkms.
(Reading database ... 298438 files and directories currently installed.)
Preparing to unpack .../wireguard-
Unpacking wireguard-dkms (0.0.20190913-
Selecting previously unselected package wireguard-tools.
Preparing to unpack .../wireguard-
Unpacking wireguard-tools (0.0.20190913-
Setting up wireguard-dkms (0.0.20190913-
Loading new wireguard-
Building for 5.5.0-050500rc5
Building initial module for 5.5.0-050500rc5
ERROR (dkms apport): kernel package linux-headers-
Error! Bad return status for module build on kernel: 5.5.0-050500rc5
Consult /var/lib/
dpkg: error processing package wireguard-dkms (--configure):
installed wireguard-dkms package post-installation script subprocess returned error exit status 10
Setting up wireguard-tools (0.0.20190913-
Processing triggers for man-db (2.8.7-3) ...
Errors were encountered while processing:
wireguard-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
-------
make.log:
-------
KMS make.log for wireguard-
Wed 08 Jan 2020 03:43:59 PM CET
make: Entering directory '/usr/src/
AR /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
PERLASM /var/lib/
CC [M] /var/lib/
/var/lib/
/var/lib/
145 | ret = ipv6_stub-
| ^~~~~~~~~~~~~~~
| ipv6_dst_
make[1]: *** [scripts/
make[1]: *** Waiting for unfinished jobs....
/var/lib/
/var/lib/
199 | struct nlattr **attrs = genl_family_
| ^~~~~~~~~~~~~~~~~~~
/var/lib/
cc1: some warnings being treated as errors
make[1]: *** [scripts/
make: *** [Makefile:1693: /var/lib/
make: Leaving directory '/usr/src/
-------
My system:
-------
# cat /etc/os-release
NAME="Ubuntu"
VERSION="19.10 (Eoan Ermine)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 19.10"
VERSION_ID="19.10"
HOME_URL="https:/
SUPPORT_URL="https:/
BUG_REPORT_URL="https:/
PRIVACY_
VERSION_
UBUNTU_
-------
----------------
Linux MaxPad 5.5.0-050500rc5
-----------------
I tried the install with other kernels too: 5.4.8 and and 5.4.
summary: |
- Wireguard install failes on 19.10 + Wireguard install fails on 19.10 |
This is fixed upstream, but the Ubuntu package is old. Maybe somebody can do something about this.