See: https://www.wireguard.com/install/ and: https://wiki.debian.org/Wireguard# echo "deb http://deb.debian.org/debian/ unstable main" > /etc/apt/sources.list.d/unstable-wireguard.list
# printf 'Package: *\nPin: release a=unstable\nPin-Priority: 90\n' > /etc/apt/preferences.d/limit-unstable
# apt update
# apt install wireguard
I don't really understand how the pin priority stuff is supposed to work. I assumed this would mean the wireguard packages are pinned to come from the unstable repo, but the rest of my system would still update from Debian stable.
But after I did apt update and installed wireguard, the Mint update manager showed a ton of updates, basically wanting to update my whole system from the unstable repo. So I disabled the unstable-wireguard.list that was created in sources.list.d and updated apt again to get things back to normal.
Of course this now means, I won't get notified of updates to the wireguard package.
I assumed the pin-priority stuff would control things so that only wireguard was getting pulled from the unstable repos. How can I set this up so I get updates when the wireguard package is updated, but my system otherwise remains a stable system? Thanks.