opkg cannot function: opkg only wants wget, but wget not installed.
Followed Foris first set up and let the system upgrade itself to 5.1.4. Most web based config seems to work and no installation errors were reported. I want to add ddns support, and followed instructions to add luci-app-ddns.
opkg fails with multiple error messages:
root@turris:~# opkg update|tail
Collected errors:
* opkg_download: Failed to download https://repo.turris.cz/hbs/omnia/packages/core/Packages.gz, wget returned 255.
* opkg_download: Failed to download https://repo.turris.cz/hbs/omnia/packages/base/Packages.gz, wget returned 255.
* opkg_download: Failed to download https://repo.turris.cz/hbs/omnia/packages/cesnet/Packages.gz, wget returned 255.
* opkg_download: Failed to download https://repo.turris.cz/hbs/omnia/packages/luci/Packages.gz, wget returned 255.
* opkg_download: Failed to download https://repo.turris.cz/hbs/omnia/packages/node/Packages.gz, wget returned 255.
* opkg_download: Failed to download https://repo.turris.cz/hbs/omnia/packages/openwisp/Packages.gz, wget returned 255.
* opkg_download: Failed to download https://repo.turris.cz/hbs/omnia/packages/packages/Packages.gz, wget returned 255.
* opkg_download: Failed to download https://repo.turris.cz/hbs/omnia/packages/routing/Packages.gz, wget returned 255.
* opkg_download: Failed to download https://repo.turris.cz/hbs/omnia/packages/sidn/Packages.gz, wget returned 255.
* opkg_download: Failed to download https://repo.turris.cz/hbs/omnia/packages/telephony/Packages.gz, wget returned 255.
* opkg_download: Failed to download https://repo.turris.cz/hbs/omnia/packages/turrispackages/Packages.gz, wget returned 255.
Downloading https://repo.turris.cz/hbs/omnia/packages/sidn/Packages.gz
*** Failed to download the package list from https://repo.turris.cz/hbs/omnia/packages/sidn/Packages.gz
Downloading https://repo.turris.cz/hbs/omnia/packages/telephony/Packages.gz
*** Failed to download the package list from https://repo.turris.cz/hbs/omnia/packages/telephony/Packages.gz
Downloading https://repo.turris.cz/hbs/omnia/packages/turrispackages/Packages.gz
*** Failed to download the package list from https://repo.turris.cz/hbs/omnia/packages/turrispackages/Packages.gz
It seems that wget is not installed:
root@turris:~# opkg list opkg
opkg - 2020-05-07-f2166a89-1
root@turris:~# opkg list wget
root@turris:~# opkg list curl
curl - 7.66.0-3
It seems that the installed opkg doesn't know about curl:
root@turris:~# opkg list opkg
opkg - 2020-05-07-f2166a89-1
root@turris:~# opkg list wget
root@turris:~# opkg list curl
curl - 7.66.0-3
Any attempt to fix this using opkg will not work. curl itself seems to be fine and will download a file:
root@turris:~# curl https://repo.turris.cz/hbs/omnia/packages/routing/Packages.gz --output TEST
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12729 100 12729 0 0 25205 0 --:--:-- --:--:-- --:--:-- 48033
The underlying problem seems to be a failure in the package dependencies.