#992344 wireguard-tools ought not depend on linux-image-rt-amd64

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
#992344#5
Date:
2021-08-17 14:52:25 UTC
From:
To:
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 ***

#992344#10
Date:
2022-02-06 05:00:23 UTC
From:
To:
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

#992344#13
Date:
2022-02-06 05:00:23 UTC
From:
To:
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

#992344#18
Date:
2023-04-25 13:20:30 UTC
From:
To:
Hi Unit193,

using --no-install-recommends does not solve this issue. The rt-kernel is still an installation candidate.


Best regards
xiconfjs

#992344#23
Date:
2023-04-25 13:31:18 UTC
From:
To:
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