Nf_nat_masquerade_ipv6 and kmod-nft-nat collision

TOS 3.10
ipv6 disabled in kernel

Trying to enable data collection is ending up with

Updater selhal:

[string “transaction”]:317: [string “transaction”]:146: Collisions:

• /lib/modules/4.4.131-a2dbf3bef3d0c1f725e0a5f0801935a1-2/nf_nat_masquerade_ipv6.ko: kmod-ipt-nat6 (new-file), kmod-nft-nat (existing-file)

installing kmod-ipt-nat6 manually does not cause any collission however

Because opkg doesn’t verify file collisions. It just overwrites given file.

nftables and iptables are 2 different userland apps. Then kmod-ipt-nat6 is covering ipv6 whilst kmod-nft-nat is pertaining to ipv4.How can there be a potential collision?

And apparently both are now present on he system and neither been overwritten by opkg

As you see there is. It’s most probably bug in OpenWRT. Both packages just included same kmod.

You can manualy check it if you want. Download those two packages from repo.turris.cz and compare their content.

I gave you an explanation why updater was unable to install them and opkg just did it. It’s missing feature in opkg. And in past it caused few major problems with previous updater (the one before updater-ng).

I changed the title of the thread since the explanation is given of the underlying cause it still leaves the bug