Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] install wireguard on ubuntu minimal fails

15

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
15

【Linux】 install wireguard on ubuntu minimal fails

Posted at 9/21/2022 17:07:13      View:1586 | Replies:0        Print      Only Author   [Copy Link] 1#
When I try to install wireguard as follows I get an error:

  1. root@firefly:~# apt-get install wireguard
  2. Reading package lists... Done
  3. Building dependency tree      
  4. Reading state information... Done
  5. The following additional packages will be installed:
  6.   wireguard-dkms wireguard-tools
  7. Suggested packages:
  8.   openresolv | resolvconf
  9. The following NEW packages will be installed:
  10.   wireguard wireguard-dkms wireguard-tools
  11. 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
  12. Need to get 0 B/344 kB of archives.
  13. After this operation, 2093 kB of additional disk space will be used.
  14. Do you want to continue? [Y/n] y
  15. Selecting previously unselected package wireguard-dkms.
  16. (Reading database ... 101021 files and directories currently installed.)
  17. Preparing to unpack .../wireguard-dkms_1.0.20201112-1~20.04.1_all.deb ...
  18. Unpacking wireguard-dkms (1.0.20201112-1~20.04.1) ...
  19. Selecting previously unselected package wireguard-tools.
  20. Preparing to unpack .../wireguard-tools_1.0.20200513-1~20.04.2_arm64.deb ...
  21. Unpacking wireguard-tools (1.0.20200513-1~20.04.2) ...
  22. Selecting previously unselected package wireguard.
  23. Preparing to unpack .../wireguard_1.0.20200513-1~20.04.2_all.deb ...
  24. Unpacking wireguard (1.0.20200513-1~20.04.2) ...
  25. Setting up wireguard-dkms (1.0.20201112-1~20.04.1) ...
  26. Loading new wireguard-1.0.20201112 DKMS files...
  27. Building for 5.10.66
  28. Building initial module for 5.10.66
  29. Error!  The /var/lib/dkms/wireguard/1.0.20201112/5.10.66/aarch64/dkms.conf for module wireguard includes a BUILD_EXCLUSIVE directive which
  30. does not match this kernel/arch.  This indicates that it should not be built.
  31. Skipped.
  32. Setting up wireguard-tools (1.0.20200513-1~20.04.2) ...
  33. wg-quick.target is a disabled or a static unit, not starting it.
  34. Setting up wireguard (1.0.20200513-1~20.04.2) ...
Copy the code


How can I solve the problem?
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list