I discovered that I had two packages installed ip-full and ip-tiny. Afaik I need only one of them, and PBR requires ip-full. So I thought I could remove ip-tiny, but no. I see no reason why it should do this, but I might be missing something.
# opkg remove ip-tiny
No packages removed.
Collected errors:
* print_dependents_warning: Package ip-tiny is depended upon by packages:
* print_dependents_warning: wireguard-tools
* print_dependents_warning: These might cease to work if package ip-tiny is removed.
* print_dependents_warning: Force removal of this package with --force-depends.
* print_dependents_warning: Force removal of this package and its dependents
* print_dependents_warning: with --force-removal-of-dependent-packages.
Why does ip-full not get recognized as valid replacement for ip-tiny? I think the wireguard-tools package needs to be looked at as I do not think its the firmware-selector. Taken from the log I saved (store/c986a8d514662c3a2590e88c52f49753) :
I found a workaround in my situation, the only way I could avoid ip-tiny from being installed was by moving luci-proto-wireguard after luci-app-pbr in the firmware selector. It then detects ip-full and does not install ip-tiny.