turibio Posted at 9/21/2022 17:07:13

install wireguard on ubuntu minimal fails

When I try to install wireguard as follows I get an error:

root@firefly:~# apt-get install wireguard
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
wireguard-dkms wireguard-tools
Suggested packages:
openresolv | resolvconf
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 0 B/344 kB of archives.
After this operation, 2093 kB of additional disk space will be used.
Do you want to continue? y
Selecting previously unselected package wireguard-dkms.
(Reading database ... 101021 files and directories currently installed.)
Preparing to unpack .../wireguard-dkms_1.0.20201112-1~20.04.1_all.deb ...
Unpacking wireguard-dkms (1.0.20201112-1~20.04.1) ...
Selecting previously unselected package wireguard-tools.
Preparing to unpack .../wireguard-tools_1.0.20200513-1~20.04.2_arm64.deb ...
Unpacking wireguard-tools (1.0.20200513-1~20.04.2) ...
Selecting previously unselected package wireguard.
Preparing to unpack .../wireguard_1.0.20200513-1~20.04.2_all.deb ...
Unpacking wireguard (1.0.20200513-1~20.04.2) ...
Setting up wireguard-dkms (1.0.20201112-1~20.04.1) ...
Loading new wireguard-1.0.20201112 DKMS files...
Building for 5.10.66
Building initial module for 5.10.66
Error!The /var/lib/dkms/wireguard/1.0.20201112/5.10.66/aarch64/dkms.conf for module wireguard includes a BUILD_EXCLUSIVE directive which
does not match this kernel/arch.This indicates that it should not be built.
Skipped.
Setting up wireguard-tools (1.0.20200513-1~20.04.2) ...
wg-quick.target is a disabled or a static unit, not starting it.
Setting up wireguard (1.0.20200513-1~20.04.2) ...

How can I solve the problem?
Page: [1]
View Full Version: install wireguard on ubuntu minimal fails