Keepalived depends on kmod-nf-ipvs which is not available

Hi,

I want to install package keepalived however it seems like this package depends on kmod-nf-ipvs which is not available.

root@HOSTNAME:~# opkg install keepalived
Installing keepalived (2.0.10-1) to root…
Downloading https://repo.turris.cz/omnia/packages//packages/keepalived_2.0.10-1_mvebu.ipk
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 225k 100 225k 0 0 1254k 0 --:–:-- --:–:-- --:–:-- 1261k
Collected errors:

  • satisfy_dependencies_for: Cannot satisfy the following dependencies for keepalived:
  • kmod-nf-ipvs *
  • opkg_install_cmd: Cannot install package keepalived.

Also this dependency breaks router function. If there was keepalived previously installed (my case) pkgupdate will silently fail and after reboot iptables are not initialized which means router cannot forward traffic from LAN.

I had to remove package keepalived, manually call pkgupdate. After this everything is OK except keepalived is now not installable.

Try an older version, it may help you temporarily:

cd /tmp
wget https://repo.turris.cz/archive/omnia/3.11.2/packages/packages/keepalived_1.2.16-3_mvebu.ipk
opkg update
opkg install /tmp/keepalived_1.2.16-3_mvebu.ipk

It’s just a temporary solution, I agree, this new version requires kmod-nf-ipvs module and is not in the repository.

Thanks, this fix works. Is this forum right place to report bug or should I post it somewhere else?

You can wait, maybe they will contact the Turris Team here, or contact technical support at tech.support@turris.com

Hi, I created related issue in our gitlab see https://gitlab.labs.nic.cz/turris/turris-os-packages/issues/364

In addition to missing kmod-nf-ipvs dependency (which I’ve overriden it with --force-depends) I hit another bug which I’ve reported upstream https://github.com/openwrt/packages/issues/9819
To workaround this, install “file” package

!!!WARNING!!! having broken dependencies is never good and at minimum it will prevent turris to upgrade