Luci has dependency of libiwinfo20181126 when installed with opkg.
root@OpenWrt:~# opkg install luci
Installing luci (git-20.099.26404-e9449d9-1) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci_git-20.099.26404-e9449d9-1_all.ipk
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for luci:
* libiwinfo20181126
* opkg_install_cmd: Cannot install package luci.
root@OpenWrt:~#
Is there any reason why it requires such an old package dependency?
I have successfully installed libiwinfo2020xxxx - means lastest version, still the old version dependency did not disappear. Is there any reason behind this? How can I proceed?
The reason I am asking this here is that - by amending --force-depends to opkg command, the installation passes but later when accessing luci I get an error which I further specified down here: https://github.com/openwrt/luci/issues/3773
The latest build of luci is compiled against the latest libiwinfo on master/trunk, so a opkg update before you install luci should fix your problem.
The binary interface of libiwinfo changed with the latest version, so thats why you will see the dependency error and the other problem as long as luci isn't compiled against the new libiwinfo.
@juppin of course I did opkg update before trying to install luci. - Did not help.
@trendy -> I followed the advises. I did it all the very hour after installing the snapshot image - got the error so I moved to --force-depends -> went well but, as I mentioned in the original post -> https://github.com/openwrt/luci/issues/3773 <- this is what I get.
Is it a new installation or upgrade while keeping settings?
I installed a snapshot about a month ago on my RPi4 (clean installation) and it worked fine. From what I see in the opkg info luci I don't have this dependency:
Yes because if the binary interface of a library has changed the data structures for exchanging data between application and library aren't the same and this will result in unexpected behavior.
Also if luci isn't depending on libiwinfo directly, libiwinfo-lua will depend on libiwinfo and here the binary interface changed recently.