Why can't I remove ip-tiny?

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 list_installed | grep ^ip-
ip-full - 6.11.0-r1
ip-tiny - 6.11.0-r1
#
# 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.

How about this?

1 Like

Yep, worked like a charm.

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) :

# grep ip- log
Installing ip-tiny (6.11.0-r1) to root...
Copying /builder/dl/ip-tiny_6.11.0-r1_aarch64_generic.ipk.
Installing ip-full (6.11.0-r1) to root...
Copying /builder/dl/ip-full_6.11.0-r1_aarch64_generic.ipk.
Configuring ip-full.
Configuring ip-tiny.
#

There was a change to try to loosen the requirements, but maybe needs more testing? See the commit and related PR discussion.

2 Likes

Thank you that was very helpful.

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.