- Package:
- wireguard-tools
- Source:
- wireguard
- Description:
- fast, modern, secure kernel VPN tunnel (userland utilities)
- Submitter:
- Vincent Batts
- Date:
- 2023-04-25 13:33:03 UTC
- Severity:
- normal
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
Building a minimal filesystem to generate wireguard private keys. Say:
```shell
docker run -it --rm debian:bullseye
apt update && apt install -y wireguard-tools
```
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
the list of dependencies brought in for only wireguard-tools included
linux-image-rt-amd64 (5.10.46-4).
(this minimal filesystem does not boot, and should not have a kernel)
* What outcome did you expect instead?
Just the basic packages needed for /usr/bin/wg
*** End of the template - remove these template lines ***
Howdy, wireguard-tools does not actually depend on linux-image-rt-amd64, but it recommends 'wireguard-modules | wireguard-dkms' since all but the most unusual cases you'll want to be able to actually run WireGuard. The former tries to pull in a kernel that supports WireGuard. In your setup, rather than running `apt install -y wireguard-tools` you should instead try running `apt install --no-install-recommends -y wireguard-tools` and this problem should go away, since wireguard-modules is only recommended and not a hard depend. Does this solve your problem? Thanks! ~Unit 193 Unit193 @ Libera Unit193 @ OFTC
Howdy, wireguard-tools does not actually depend on linux-image-rt-amd64, but it recommends 'wireguard-modules | wireguard-dkms' since all but the most unusual cases you'll want to be able to actually run WireGuard. The former tries to pull in a kernel that supports WireGuard. In your setup, rather than running `apt install -y wireguard-tools` you should instead try running `apt install --no-install-recommends -y wireguard-tools` and this problem should go away, since wireguard-modules is only recommended and not a hard depend. Does this solve your problem? Thanks! ~Unit 193 Unit193 @ Libera Unit193 @ OFTC
Hi Unit193, using --no-install-recommends does not solve this issue. The rt-kernel is still an installation candidate. Best regards xiconfjs
Hi Unit193, ignore m last post. You‘re right. Installing the wireguard-tools only with --no-install-recommends fixes the issue. If you try to install the main „wireguard“ package, then it also depends on the rt-kernel. Best xiconfjs