Comment 7 for bug 1873288

Revision history for this message
Jason A. Donenfeld (zx2c4) wrote :

> The wireguard{,-dkms,-tools} versions do not align: wireguard-dkms is newer. Maybe that's not relevant but I thought I'd mention it.

This part doesn't matter. They're separate packages with separate releases and don't need to align.
https://git.zx2c4.com/wireguard-linux-compat/refs/
https://git.zx2c4.com/wireguard-tools/refs/

However, your mention about the Depends not actually being there is worrying. I thought I had observed the same thing the other day, but Unit193 convinced me I was mistaken, but I don't remember why. I'll wait for him or apw to chime in. I suspect there's an issue here though...

If so, that would mean we need the following to happen:

1. Reverse the order of wireguard-modules and wireguard-dkms in both the Depends: and Recommends:. Importing the latest Debian package will do this. ( https://salsa.debian.org/debian/wireguard/-/commit/2d36365079f4668660963c5c819db3b544c5d56f and https://salsa.debian.org/debian/wireguard/-/commit/b536ea7e12ee259e5d16e7e66a7b921837223023 )
2. Add Provides: wireguard-modules to the kernel package, just like Debian does ( https://salsa.debian.org/kernel-team/linux/-/commit/5a0532517e072117af71beb281b2cad86e55ba05 )
3. Tweak Debian's semantics for wireguard-dkms to handle the changed build exclusion based on Ubuntu's particulars. (modify https://salsa.debian.org/debian/wireguard-linux-compat/-/blob/debian/master/debian/patches/0002-Avoid-trying-to-compile-on-debian-5.5-kernels-Closes.patch )