Dependencies Problem installing luci-ssl-openssl and luci-ssl-nginx

BusyBox v1.31.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r12704-a0027f8dbf
 -----------------------------------------------------
root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/snapshots/targets/ramips/mt7621/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/snapshots/targets/ramips/mt7621/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/targets/ramips/mt7621/kmods/4.14.172-1-c7d1ece38375c0b963f1fe28328bcf33/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_kmods
Downloading http://downloads.openwrt.org/snapshots/targets/ramips/mt7621/kmods/4.14.172-1-c7d1ece38375c0b963f1fe28328bcf33/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/Packages.sig
Signature check passed.
root@OpenWrt:~# opkg install luci-ssl-openssl
Installing luci-ssl-openssl (git-20.081.71863-12f0dac-1) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-ssl-openssl_git-20.081.71863-12f0dac-1_all.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-ssl-openssl:
 * 	libiwinfo20181126
 * opkg_install_cmd: Cannot install package luci-ssl-openssl.
root@OpenWrt:~# opkg install luci-ssl-nginx
Installing luci-ssl-nginx (git-20.081.71863-12f0dac-1) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/luci-ssl-nginx_git-20.081.71863-12f0dac-1_all.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-ssl-nginx:
 * 	libiwinfo20181126
 * opkg_install_cmd: Cannot install package luci-ssl-nginx.

https://openwrt.org/faq/cannot_satisfy_dependencies

I also have this problem, for a TP-Link C7 v2 (on ath79). I decide it would be safe enough to chance trying today's snapshot on the family home AP, to try out the new make_wifi_fast Airtime Queue Management stuff for the ath10k that finally arrived... and of COURSE something unexpected happened. At least I have another device to push into AP service so society won't collapse in my house...

Exactly the same dependency error as above, I downloaded and installed the sysupgrade less than an hour ago and attempted the luci package install right after that, so no "crossed day" issue.

What I see is the libiwinfo version in the packages today is this...
libiwinfo20200105_2020-03-22-9f5a7c4f-1_mips_24kc.ipk not the 2018 one that comes up during opkg install luci. Somehow a package version update didn't get updated? How soon might we expect this to get fixed?

This does happen, yes. But why do you want both?

If you want to run luci with nginx, then don't install luci-ssl-openssl. And vice-versa.

1 Like

I got the above error trying to install just plain luci. Should that package be a dependency for every luci version?

You're getting an error that it cannot install libiwinfo. Is this not available in the repo?

If it is, try installing it first.

Suggest installing either luci-ssl-openssl or luci-ssl-nginx, not both

Are you talking to me, or the OP? I attempted to only install plain luci, and got the same error.

I've tried installing the libinfo2018xxxx (version that is asked for in the error) but it says not found.

I may try installing the libinfo2020 one that is in the package repository. But if it is asking/expecting the 2018 one, would that fail as well?

The strange issue is, where does the erroneous dependency for the old version still surface.

Is there a better place to announce this, so that it gets attention faster? Start another thread in
For Developers? Someplace else?

OK, now I'm having trouble with the opkg update....

Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/Packages.gz
*** Failed to download the package list from http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/Packages.gz

Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/packages/Packages.gz
*** Failed to download the package list from http://downloads.openwrt.org/snapshots/packages/mips_24kc/packages/Packages.gz

Collected errors:
 * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/packages/mips_24kc/packages/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

Most packages are downloading and checking OK, but these two consistently don't....

Having gotten past the downloading issues, and with a successful opkg update... I tried installing luci again. I still get the complaint about not finding the older libiwinfo file. I tried installing the older file again, and a Unknown Package error is the result.

I also tried installing the newer libiwinfo found in the snapshot package directory... it says it's already installed and up to date.

I quit at this point.

Maybe a package from 19.0.7.02 got into the snapshot repository? That ABI version its asking for is the one that belongs to 19.07.

The trunk version of libiwinfo has not had that ABI since Jan 2019

That was an optimistic leap of faith: a development snapshot on the main family router :open_mouth: :slight_smile:

Yeah, I get that way sometimes.... :flushed: I've done it a few times before and things worked. Most of the time... And, I was just reading how someone said the daily snapshots are so much more stable than before..

No, I have nobody but myself to blame... And now, this lazy Luci user is going to have to learn the in's and outs of downloading the next build, uh, maybe the 19.07.2 stable sysupgrade, and installing it, all from the command line, to get my C7 back...

On another note, I'm wondering if my terrible ping times to 8.8.8.8 and even worse ones to the openwrt FW folders might be due to the internet actually being that bad at the moment, vs results of my learning experience with command line network config trying to avoid a few address conflicts with the rest of my setup? Eh, more learning experience to go...

Having problems after installing the Apr 3 snapshot for the ath79 C7. When I try installing luci, I get the following error: (and yes, I tried the luci package install less than an hour after getting the FW)

root@OpenWrt:~# opkg install luci
Installing luci (git-20.093.48508-e2aaef6-1) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/luci/luci_git-20.093.48508-e2aaef6-1_all.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci:
 *      libiwinfo20181126
 * opkg_install_cmd: Cannot install package luci.

This occurs with plain luci, and luci-ssl-openssl. Looking in the package directory I see a package for libiwinfo that has a later date code. I have tried to install the package with the 2018 date code, and get an Unknown package error. I have also tried installing the 2020 date code package, and it says it's already there and up to date.

Looks like a dependency or build error of some sort? Any possibility I'm doing something wrong?
I started documenting my efforts in another thread for another device, but with the same error occurring. https://forum.openwrt.org/t/dependencies-problem-installing-luci-ssl-openssl-and-luci-ssl-nginx/58443/8

Hoping this gets some quicker attention here... if something needs to be fixed out there. I'm anxious to try the new AQL code that just dropped... https://forum.openwrt.org/t/aql-and-the-ath10k-is-lovely/59002

If you fail to download package lists properly, it is no wonder that your package dependencies get screwed.

I think that you have made some network config errors, which prevent you from successfully downloading the lists.

Or alternatively, you might have some old settings (with extroot?) so that you actually try to download wrong package lists? (if you somehow get references to dependencies related to 19.07)

You should start from scratch, reset the settings, manually reconfig the network, and then start updating packages.

Yes, the internet truly is that bad. I have two completely separate lines (two different providers). One is a business class line that usually has sub 10ms latency and very little jitter. See the two pings below on both my lines - they're all over the place.

root@OpenWrt:~# ping -I eth0 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from ZZ.ZZ.ZZ.ZZ eth0: 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=54 time=23.0 ms
64 bytes from 8.8.8.8: icmp_req=2 ttl=54 time=16.9 ms
64 bytes from 8.8.8.8: icmp_req=3 ttl=54 time=21.3 ms
64 bytes from 8.8.8.8: icmp_req=4 ttl=54 time=27.1 ms
64 bytes from 8.8.8.8: icmp_req=5 ttl=54 time=25.6 ms
64 bytes from 8.8.8.8: icmp_req=6 ttl=54 time=27.4 ms
64 bytes from 8.8.8.8: icmp_req=7 ttl=54 time=29.7 ms
64 bytes from 8.8.8.8: icmp_req=8 ttl=54 time=15.7 ms
64 bytes from 8.8.8.8: icmp_req=9 ttl=54 time=30.4 ms
64 bytes from 8.8.8.8: icmp_req=10 ttl=54 time=56.4 ms
64 bytes from 8.8.8.8: icmp_req=11 ttl=54 time=19.7 ms
64 bytes from 8.8.8.8: icmp_req=12 ttl=54 time=91.8 ms
64 bytes from 8.8.8.8: icmp_req=13 ttl=54 time=106 ms
64 bytes from 8.8.8.8: icmp_req=14 ttl=54 time=22.4 ms
64 bytes from 8.8.8.8: icmp_req=15 ttl=54 time=29.9 ms
64 bytes from 8.8.8.8: icmp_req=16 ttl=54 time=19.8 ms
64 bytes from 8.8.8.8: icmp_req=17 ttl=54 time=43.5 ms
64 bytes from 8.8.8.8: icmp_req=18 ttl=54 time=64.7 ms
64 bytes from 8.8.8.8: icmp_req=19 ttl=54 time=45.8 ms
64 bytes from 8.8.8.8: icmp_req=20 ttl=54 time=34.7 ms
64 bytes from 8.8.8.8: icmp_req=21 ttl=54 time=17.3 ms
64 bytes from 8.8.8.8: icmp_req=22 ttl=54 time=23.4 ms
64 bytes from 8.8.8.8: icmp_req=23 ttl=54 time=13.0 ms
64 bytes from 8.8.8.8: icmp_req=24 ttl=54 time=46.6 ms
64 bytes from 8.8.8.8: icmp_req=25 ttl=54 time=21.0 ms
64 bytes from 8.8.8.8: icmp_req=26 ttl=54 time=122 ms
64 bytes from 8.8.8.8: icmp_req=27 ttl=54 time=53.8 ms
64 bytes from 8.8.8.8: icmp_req=28 ttl=54 time=16.7 ms
64 bytes from 8.8.8.8: icmp_req=29 ttl=54 time=18.0 ms
64 bytes from 8.8.8.8: icmp_req=30 ttl=54 time=30.7 ms
64 bytes from 8.8.8.8: icmp_req=31 ttl=54 time=19.0 ms
64 bytes from 8.8.8.8: icmp_req=32 ttl=54 time=17.6 ms
64 bytes from 8.8.8.8: icmp_req=33 ttl=54 time=65.6 ms
64 bytes from 8.8.8.8: icmp_req=34 ttl=54 time=117 ms
64 bytes from 8.8.8.8: icmp_req=35 ttl=54 time=24.4 ms

--- 8.8.8.8 ping statistics ---
35 packets transmitted, 35 received, 0% packet loss, time 34053ms
rtt min/avg/max/mdev = 13.093/38.873/122.442/29.046 ms
root@OpenWrt:~# ping -I pppoe-wan2 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from XX.XX.XX.XX pppoe-wan2: 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=54 time=57.7 ms
64 bytes from 8.8.8.8: icmp_req=2 ttl=54 time=106 ms
64 bytes from 8.8.8.8: icmp_req=3 ttl=54 time=82.7 ms
64 bytes from 8.8.8.8: icmp_req=4 ttl=54 time=74.1 ms
64 bytes from 8.8.8.8: icmp_req=5 ttl=54 time=244 ms
64 bytes from 8.8.8.8: icmp_req=6 ttl=54 time=57.7 ms
64 bytes from 8.8.8.8: icmp_req=7 ttl=54 time=34.6 ms
64 bytes from 8.8.8.8: icmp_req=8 ttl=54 time=254 ms
64 bytes from 8.8.8.8: icmp_req=9 ttl=54 time=84.7 ms
64 bytes from 8.8.8.8: icmp_req=10 ttl=54 time=25.0 ms
64 bytes from 8.8.8.8: icmp_req=11 ttl=54 time=109 ms
64 bytes from 8.8.8.8: icmp_req=12 ttl=54 time=104 ms
64 bytes from 8.8.8.8: icmp_req=13 ttl=54 time=99.0 ms
64 bytes from 8.8.8.8: icmp_req=14 ttl=54 time=35.4 ms
64 bytes from 8.8.8.8: icmp_req=15 ttl=54 time=13.9 ms
64 bytes from 8.8.8.8: icmp_req=16 ttl=54 time=15.5 ms
64 bytes from 8.8.8.8: icmp_req=17 ttl=54 time=126 ms
64 bytes from 8.8.8.8: icmp_req=18 ttl=54 time=42.7 ms
64 bytes from 8.8.8.8: icmp_req=19 ttl=54 time=50.5 ms
64 bytes from 8.8.8.8: icmp_req=20 ttl=54 time=35.7 ms
64 bytes from 8.8.8.8: icmp_req=21 ttl=54 time=23.9 ms
64 bytes from 8.8.8.8: icmp_req=22 ttl=54 time=42.7 ms
64 bytes from 8.8.8.8: icmp_req=23 ttl=54 time=20.9 ms
64 bytes from 8.8.8.8: icmp_req=24 ttl=54 time=31.1 ms
64 bytes from 8.8.8.8: icmp_req=25 ttl=54 time=18.6 ms
64 bytes from 8.8.8.8: icmp_req=26 ttl=54 time=17.8 ms
64 bytes from 8.8.8.8: icmp_req=27 ttl=54 time=35.7 ms
64 bytes from 8.8.8.8: icmp_req=28 ttl=54 time=31.7 ms
64 bytes from 8.8.8.8: icmp_req=29 ttl=54 time=364 ms
64 bytes from 8.8.8.8: icmp_req=30 ttl=54 time=428 ms
64 bytes from 8.8.8.8: icmp_req=31 ttl=54 time=177 ms
64 bytes from 8.8.8.8: icmp_req=32 ttl=54 time=87.3 ms
64 bytes from 8.8.8.8: icmp_req=33 ttl=54 time=16.2 ms
64 bytes from 8.8.8.8: icmp_req=34 ttl=54 time=29.9 ms
64 bytes from 8.8.8.8: icmp_req=35 ttl=54 time=30.1 ms

--- 8.8.8.8 ping statistics ---
35 packets transmitted, 35 received, 0% packet loss, time 34034ms
rtt min/avg/max/mdev = 13.989/86.077/428.276/96.405 ms
1 Like

Ok... for the record, I managed to get things going by banging on opkg update MANY times till I finally got a clean update, then MANY tries with opkg install luci till I got that to fully download clean and install...

That was the next day, and next day snapshot, so I dont know if my original depenency problem was a one day build glitch, or what. Didnt see it this time, just had to go thru hell to DL and install.

I also noticed much better net performance the next morning... so how many people watching Netflix, etc, smashing my local cable ISP, seemed to part of the equation.

Added edit for finality, the next day snapshot that appeared to not have the problem was April 4