Wireguard and Wireguard plugin depends on linux RT kernel

  • I can't (and don't want to) use a RT kernel because ZFS is not supported.
    When I try to remove linux-image-rt-amd64, it seems that there is a dependency for openmediavault-wireguard and wireguard packages :


    # uname -a

    Linux ovm 6.12.30+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.30-1~bpo12+1 (2025-06-14) x86_64 GNU/Linux


    # dpkg -l | grep linux-image-6.12.30

    ii linux-image-6.12.30+bpo-amd64 6.12.30-1~bpo12+1 amd64 Linux 6.12 for 64-bit PCs (signed)

    ii linux-image-6.12.30+bpo-rt-amd64 6.12.30-1~bpo12+1 amd64 Linux 6.12 for 64-bit PCs (signed), PREEMPT_RT


    # apt remove linux-image-rt-amd64

    Reading package lists... Done

    Building dependency tree... Done

    Reading state information... Done

    The following packages will be REMOVED:

    linux-image-rt-amd64 openmediavault-wireguard wireguard

    0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.


    Is it expected ?

    Thanks,

    Nikos

    • New
    • Official Post

    Is it expected ?

    wireguard does not depend on the RT kernel.


    # dpkg -l | grep -E "wireguard|linux-image"

    ii linux-image-6.12.22+bpo-amd64 6.12.22-1~bpo12+1 amd64 Linux 6.12 for 64-bit PCs (signed)

    ii linux-image-6.12.30+bpo-amd64 6.12.30-1~bpo12+1 amd64 Linux 6.12 for 64-bit PCs (signed)

    ii linux-image-amd64 6.12.30-1~bpo12+1 amd64 Linux for 64-bit PCs (meta-package)

    ii openmediavault-wireguard 7.0.7 all openmediavault WireGuard plugin

    ii wireguard 1.0.20210914-1 all fast, modern, secure kernel VPN tunnel (metapackage)

    ii wireguard-tools 1.0.20210914-1+b1 amd64 fast, modern, secure kernel VPN tunnel (userland utilities)


    What about:

    apt-mark manual wireguard

    dpkg -P linux-image-rt-amd64

    omv 7.7.10-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.8 | compose 7.6.10 | cterm 7.8.7 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.3.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Thanks for taking a look at this.
    Mhhh, I guess I'm a bit lost in dependencies :)


    # apt-mark manual wireguard

    wireguard set to manually installed.


    # dpkg -P linux-image-rt-amd64

    dpkg: dependency problems prevent removal of linux-image-rt-amd64:

    wireguard depends on wireguard-modules (>= 0.0.20191219) | wireguard-dkms (>= 0.0.20200121-2); however:

    Package wireguard-modules is not installed.

    Package linux-image-rt-amd64 which provides wireguard-modules is to be removed.

    Package linux-image-amd64 which provides wireguard-modules is not installed.

    Package wireguard-dkms is not installed.


    dpkg: error processing package linux-image-rt-amd64 (--purge):

    dependency problems - not removing

    Errors were encountered while processing:

    linux-image-rt-amd64


    I installed package wireguard-modules and after that, I was able to uninstall RT linux packages.
    Thanks for pointing me to dpkg -P command, I didn't think about it.


    Nikos

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!