10
9
Fork
You've already forked linux-app
14

Missing Dependency in Installation Script #664

Closed
opened 2025年10月23日 13:12:39 +02:00 by Abraxas-Knister · 5 comments

Installation

linux install script

$ curl --proto '=https' --tlsv1.2 https://docs.eduvpn.org/client/linux/install.sh -O
$ bash ./install.sh

Version

eduVPN CLI version: 4.6.0 with eduvpn-common version: 4.0.0

Wireguard seems to be a dependency, but is not met

I just had this error message

2025年10月23日 12:31:25,859 - MainThread - ERROR - eduvpn.nm - nm.py:745 - nm-device-error-quark: eduVPN failed to create resources: Failed to create WireGuard interface 'eduVPN' for 'eduVPN': Vorgang wird nicht unterstützt (1)

on Pop!_OS 22.04, which uses NetworkManager and apparently does not come with wireguard support installed. I was able to resolve the issue by installing the package wireguard-tools and rebooting, but spend a bit of time making sense of the error message first.

If eduVPN depends on wireguard, it should install wireguard-tools on apt managed distros. If not possible, please make a short note regarding the issue on this page.

# Installation linux install script $ curl --proto '=https' --tlsv1.2 https://docs.eduvpn.org/client/linux/install.sh -O $ bash ./install.sh # Version eduVPN CLI version: 4.6.0 with eduvpn-common version: 4.0.0 # Wireguard seems to be a dependency, but is not met I just had this error message 2025年10月23日 12:31:25,859 - MainThread - ERROR - eduvpn.nm - nm.py:745 - nm-device-error-quark: eduVPN failed to create resources: Failed to create WireGuard interface 'eduVPN' for 'eduVPN': Vorgang wird nicht unterstützt (1) on Pop!_OS 22.04, which uses NetworkManager and apparently does not come with wireguard support installed. I was able to resolve the issue by installing the package `wireguard-tools` and rebooting, but spend a bit of time making sense of the error message first. If eduVPN depends on wireguard, it should install `wireguard-tools` on apt managed distros. If not possible, please make a short note regarding the issue on [this](https://docs.eduvpn.org/client/linux/support.html) page.

hmmm are you sure it's not apt install wireguard instead of wireguard-tools?

hmmm are you sure it's not `apt install wireguard` instead of `wireguard-tools`?

On Pop!_OS 22.04 wireguard-tools installs the wg executable, wireguard-dkms installs the wireguard kernel module (unless the kernel already has wireguard suppport) and wireguard depends on the two as a metapackage.

Ubuntu 22.04 seems to be the only relevant distro that has a wireguard-dkms package.

Thus wireguard seems to be the best option indeed.

On Pop!_OS 22.04 `wireguard-tools` installs the `wg` executable, `wireguard-dkms` installs the wireguard kernel module (unless the kernel already has wireguard suppport) and `wireguard` depends on the two as a metapackage. Ubuntu 22.04 seems to be the only relevant distro that has a `wireguard-dkms` package. Thus `wireguard` seems to be the best option indeed.

If eduVPN depends on wireguard, it should install wireguard-tools on apt managed distros. If not possible, please make a short note regarding the issue on this page.

Hmmm, this doesn't sound quite right. All distributions we support, including Ubuntu 22.04 LTS, which your OS is based on, do not require this?

Did you modify your OS in any way? Custom kernel? Modify other core components? Or did the Pop_OS! distribution modify the Ubuntu kernel to remove WireGuard support and thus require the DKMS?

> If eduVPN depends on wireguard, it should install wireguard-tools on apt managed distros. If not possible, please make a short note regarding the issue on this page. Hmmm, this doesn't sound quite right. All distributions we support, including Ubuntu 22.04 LTS, which your OS is based on, do not require this? Did you modify your OS in any way? Custom kernel? Modify other core components? Or did the Pop_OS! distribution modify the Ubuntu kernel to remove WireGuard support and thus require the DKMS?

I use the kernel that pop comes with. In the /boot/config-6.16.3-76061603-generic file, I find

CONFIG_WIREGUARD=m
# CONFIG_WIREGUARD_DEBUG is not set

which means it is included. What is not included is the wg executable.

After noticing that for me eduVPN runs without error only after installing the wireguard-tools package (which essentially is just the wg executable), I assumed based upon the error message that eduVPN needs that in order to work with NetworkManager.

Thinking about this, maybe it is a Pop, apt or NetworkManager specific problem rather than an eduVPN problem.

I use the kernel that pop comes with. In the `/boot/config-6.16.3-76061603-generic` file, I find CONFIG_WIREGUARD=m # CONFIG_WIREGUARD_DEBUG is not set which means it is included. What is not included is the `wg` executable. After noticing that for me eduVPN runs without error only after installing the `wireguard-tools` package (which essentially is just the `wg` executable), I assumed based upon the error message that eduVPN needs that in order to work with NetworkManager. Thinking about this, maybe it is a Pop, apt or NetworkManager specific problem rather than an eduVPN problem.

I am a bit hesitant to just add this dependency to the script, because there are still openvpn only deployments

I am a bit hesitant to just add this dependency to the script, because there are still openvpn only deployments
Sign in to join this conversation.
No Branch/Tag specified
master
upstream-deb
openvpn-persistent
1.x
4.7.2
4.7.1
4.7.0
4.6.0
4.5.1
4.5.0
4.4.99.0
4.4.0
4.3.1
4.3.0
4.2.99.1
4.2.99.0
4.2.1
4.2.0
4.1.99.0
4.1.3
4.1.2
4.1.1
4.1.0
3.1.1
4.0.1
4.0.0
pr-3.3.1
pr-3.3.0
pr-3.2.0
3.1.0
3.0.0
2.2.1
2.2.0
2.1.0
2.0.0
1.1
1.0.3
1.0.2
1.0.1
1.0rc17
1.0rc16
1.0rc15
1.0rc14
1.0rc13
1.0rc12
1.0rc11
1.0rc10
1.0rc9
1.0rc8
1.0rc7
1.0rc6
1.0rc5
1.0rc4
1.0rc3
1.0rc2
1.0rc1
0.8
0.7.2
0.7.1
0.7
0.6.1
0.6
0.5.1
0.5
0.3
0.2.1
0.2
0.1.1
0.1
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
eduVPN/linux-app#664
Reference in a new issue
eduVPN/linux-app
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?