OPKG Update fails with wget error 8 / Repository folder missing (powerpc_8548)

Hi,

i`m trying to install Luci on an 3825i accoriding to this article.

opkg update

always fails with wget error 8.

opkg update
Downloading https://downloads.openwrt.org/snapshots/targets/mpc85xx/p1020/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://downloads.openwrt.org/snapshots/targets/mpc85xx/p1020/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/powerpc_8548/base/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/powerpc_8548/base/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/targets/mpc85xx/p1020/kmods/5.10.163-1-8e8ee85878c7a522a8ae750aebd261d6/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_kmods
Downloading https://downloads.openwrt.org/snapshots/targets/mpc85xx/p1020/kmods/5.10.163-1-8e8ee85878c7a522a8ae750aebd261d6/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/powerpc_8548/luci/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/powerpc_8548/luci/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/powerpc_8548/packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/powerpc_8548/packages/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/powerpc_8548/routing/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/powerpc_8548/routing/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/powerpc_8548/telephony/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/powerpc_8548/telephony/Packages.gz

Collected errors:
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/powerpc_8548/base/Packages.gz, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/powerpc_8548/luci/Packages.gz, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/powerpc_8548/packages/Packages.gz, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/powerpc_8548/routing/Packages.gz, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/powerpc_8548/telephony/Packages.gz, wget returned 8.

Calling the url https://downloads.openwrt.org/snapshots/packages/powerpc_8548/telephony/Packages.gz in the webbrowser returns a 404 Not found. THis seems to be due to the folder https://downloads.openwrt.org/snapshots/packages/powerpc_8548 missing in the repository.

Is this a problem on my side or is this a problem of the repository?

Btw. i did the exact same manual successfully in Q4 of 2022.

Thank you & regards

From where is that powerpc_8548 coming from?
I don't remember us ever having that architecture.

There is 8450 but not 8458.
Like there is in the data sheet for that router

1 Like

Hi,

thank you. Im not sure where whis is coming from. Basically ive setup the AP strictly by the commands:

setenv boot_openwrt "cp.b 0xEC000000 0x2000000 0x2000000; interrupts off; bootm start 0x2000000; bootm loados; fdt resize; fdt boardsetup; fdt chosen; bootm prep; bootm go;"
saveenv

setenv ipaddr 192.168.123.234;
setenv serverip 192.168.123.97;
tftpboot 0x2000000 3825i.bin;
interrupts off; bootm start 0x2000000; bootm loados; fdt resize; fdt boardsetup; fdt resize; fdt boardsetup; fdt chosen; fdt resize; fdt chosen; bootm prep; bootm go;

cd /tmp/
wget https://downloads.openwrt.org/snapshots/targets/mpc85xx/p1020/openwrt-mpc85xx-p1020-extreme-networks_ws-ap3825i-squashfs-sysupgrade.bin
sysupgrade -v openwrt-mpc85xx-p1020-extreme-networks_ws-ap3825i-squashfs-sysupgrade.bin

Do you have a hint for me as i`m not to deep into this.

Thank you.

Hmm. Apparently the CPU type has been changed two weeks ago, committed by @pepe

Possibly the packages buildbot is not yet adjusted to the CPU type change. We may need new architecture there...

Cc @pepe @ansuel who were active in that PR.

1 Like

As an intermediate fix, you could edit this opkg site definition file and replace all 8548 with 8540. (I am not sure if the architecture declaration inside the package files already invalidates the packages, but that could be overridden.)

Definition file is
/etc/opkg/distfeeds.conf

1 Like

It looks like buildbot is not uploading the new 8548 packages.
The old 8540 building has stopped on 30 Dec 2022 when the CPU change was merged. Dead since then.

powerpc_464fp/ - Sat Jan 14 02:22:42 2023
powerpc_8540/ - Fri Dec 30 06:18:13 2022
x86_64/ - Sun Jan 15 11:44:24 2023

@pepe @ansuel @jow

Buildbot status for 8540

https://buildbot.openwrt.org/master/packages/#/builders/14

Apparently buildbot has not been told that it should now look for 8548.

1 Like

Thanks for the hint. opkg update now works but the install fails.

root@OpenWrt:/# opkg update
Downloading https://downloads.openwrt.org/snapshots/targets/mpc85xx/p1020/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://downloads.openwrt.org/snapshots/targets/mpc85xx/p1020/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/powerpc_8540/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://downloads.openwrt.org/snapshots/packages/powerpc_8540/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/targets/mpc85xx/p1020/kmods/5.10.163-1-8e8ee8587                                                                                         8c7a522a8ae750aebd261d6/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_kmods
Downloading https://downloads.openwrt.org/snapshots/targets/mpc85xx/p1020/kmods/5.10.163-1-8e8ee8587                                                                                         8c7a522a8ae750aebd261d6/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/powerpc_8540/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading https://downloads.openwrt.org/snapshots/packages/powerpc_8540/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/powerpc_8540/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://downloads.openwrt.org/snapshots/packages/powerpc_8540/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/powerpc_8540/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://downloads.openwrt.org/snapshots/packages/powerpc_8540/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/powerpc_8540/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading https://downloads.openwrt.org/snapshots/packages/powerpc_8540/telephony/Packages.sig
Signature check passed.
root@OpenWrt:/# opkg install luci
Package ath10k-firmware-qca4019-ct-htt version 2020-11-08-1 has no valid architecture, ignoring.
Package ath10k-firmware-qca4019-ct version 2020-11-08-1 has no valid architecture, ignoring.
Package ath10k-firmware-qca4019 version 20221214-3 has no valid architecture, ignoring.
Package ath10k-firmware-qca9887-ct version 2020-11-08-1 has no valid architecture, ignoring.
Package ath10k-firmware-qca9887 version 20221214-3 has no valid architecture, ignoring.
Package ath10k-firmware-qca9888-ct-htt version 2020-11-08-1 has no valid architecture, ignoring.
Package ath10k-firmware-qca9888-ct version 2020-11-08-1 has no valid architecture, ignoring.
Package ath10k-firmware-qca9888 version 20221214-3 has no valid architecture, ignoring.
Package ath10k-firmware-qca988x-ct version 2020-11-08-1 has no valid architecture, ignoring.
Package ath10k-firmware-qca988x version 20221214-3 has no valid architecture, ignoring.
Package ath10k-firmware-qca9984-ct-htt version 2020-11-08-1 has no valid architecture, ignoring.
Package ath10k-firmware-qca9984-ct version 2020-11-08-1 has no valid architecture, ignoring.
Package ath10k-firmware-qca9984 version 20221214-3 has no valid architecture, ignoring.
Package ath10k-firmware-qca99x0-ct-htt version 2020-11-08-1 has no valid architecture, ignoring.
Package ath10k-firmware-qca99x0-ct version 2020-11-08-1 has no valid architecture, ignoring.
Package ath10k-firmware-qca99x0 version 20221214-3 has no valid architecture, ignoring.
Package eapol-test-wolfssl version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package eapol-test version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package ebtables-legacy version 2018-06-27-48cff25d-1 has no valid architecture, ignoring.
Package hostapd-basic-openssl version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package hostapd-basic-wolfssl version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package hostapd-basic version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package hostapd-common version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package hostapd-mini version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package hostapd-openssl version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package hostapd-wolfssl version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package hostapd version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package libbfd version 2.38-1 has no valid architecture, ignoring.
Package libbpf20220308 version 2022-03-08-04c465fd-1 has no valid architecture, ignoring.
Package libdw1 version 0.188-1 has no valid architecture, ignoring.
Package libelf1 version 0.188-1 has no valid architecture, ignoring.
Package libjson-c5 version 0.16-2 has no valid architecture, ignoring.
Package libmbedtls12 version 2.28.1-5 has no valid architecture, ignoring.
Package libmnl0 version 1.0.5-1 has no valid architecture, ignoring.
Package libnetfilter-conntrack3 version 1.0.9-2 has no valid architecture, ignoring.
Package libnettle8 version 3.8.1-2 has no valid architecture, ignoring.
Package libnfnetlink0 version 1.0.2-1 has no valid architecture, ignoring.
Package libnftnl11 version 1.2.4-1 has no valid architecture, ignoring.
Package libnl-route200 version 3.7.0-1 has no valid architecture, ignoring.
Package libnl-tiny2022-11-01 version 2022-11-01-db3b2cdb-1 has no valid architecture, ignoring.
Package libopcodes version 2.38-1 has no valid architecture, ignoring.
Package libopenssl1.1 version 1.1.1s-1 has no valid architecture, ignoring.
Package libselinux version 3.3-2 has no valid architecture, ignoring.
Package libss2 version 1.46.5-2 has no valid architecture, ignoring.
Package libubox20220927 version 2022-09-27-ea560134-1 has no valid architecture, ignoring.
Package libubus20220601 version 2022-06-01-2bebf93c-1 has no valid architecture, ignoring.
Package libuci20130104 version 2021-10-22-f84f49f0-6 has no valid architecture, ignoring.
Package libuuid1 version 2.38-2 has no valid architecture, ignoring.
Package libwolfssl5.5.3.e624513f version 5.5.3-stable-3 has no valid architecture, ignoring.
Package musl-fts version 1.2.7-1 has no valid architecture, ignoring.
Package nftables-json version 1.0.5-2 has no valid architecture, ignoring.
Package resolveip version 2 has no valid architecture, ignoring.
Package tc-mod-iptables version 6.1.0-2 has no valid architecture, ignoring.
Package terminfo version 6.3-2 has no valid architecture, ignoring.
Package ubox version 2022-08-13-4c7b720b-2 has no valid architecture, ignoring.
Package ubus version 2022-06-01-2bebf93c-1 has no valid architecture, ignoring.
Package ubusd version 2022-06-01-2bebf93c-1 has no valid architecture, ignoring.
Package ucode-mod-fs version 2022-12-02-46d93c9c-1 has no valid architecture, ignoring.
Package ucode-mod-ubus version 2022-12-02-46d93c9c-1 has no valid architecture, ignoring.
Package ucode-mod-uci version 2022-12-02-46d93c9c-1 has no valid architecture, ignoring.
Package ucode version 2022-12-02-46d93c9c-1 has no valid architecture, ignoring.
Package usign version 2020-05-23-f1f65026-1 has no valid architecture, ignoring.
Package wpa-supplicant-mesh-mbedtls version 2022-07-29-b704dc72-16.1 has no valid architecture, igno                                                                                         ring.
Package wpa-supplicant-mesh-openssl version 2022-07-29-b704dc72-16.1 has no valid architecture, igno                                                                                         ring.
Package wpa-supplicant-mesh-wolfssl version 2022-07-29-b704dc72-16.1 has no valid architecture, igno                                                                                         ring.
Package wpa-supplicant-mini version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package wpa-supplicant-openssl version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package wpa-supplicant-p2p version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package wpa-supplicant-wolfssl version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package wpa-supplicant version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package wpad-basic-mbedtls version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package wpad-basic-openssl version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package wpad-basic-wolfssl version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package wpad-basic version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package wpad-mbedtls version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package wpad-mesh-mbedtls version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package wpad-mesh-openssl version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package wpad-mesh-wolfssl version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package wpad-mini version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package wpad-openssl version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package wpad-wolfssl version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package wpad version 2022-07-29-b704dc72-16.1 has no valid architecture, ignoring.
Package zlib version 1.2.13-1 has no valid architecture, ignoring.
Package rpcd-mod-rrdns version 20170710 has no valid architecture, ignoring.
Package coreutils-install version 9.1-1 has no valid architecture, ignoring.
Package exim-ldap version 4.96-1 has no valid architecture, ignoring.
Package exim-openssl version 4.96-1 has no valid architecture, ignoring.
Package gcc version 11.3.0-3 has no valid architecture, ignoring.
Package giflib-utils version 5.2.1-1 has no valid architecture, ignoring.
Package icu72 version 72.1-1 has no valid architecture, ignoring.
Package libavahi-dbus-support version 0.8-7 has no valid architecture, ignoring.
Package libavahi-nodbus-support version 0.8-7 has no valid architecture, ignoring.
Package libcurl4 version 7.86.0-3 has no valid architecture, ignoring.
Package libdaemon version 0.14-5 has no valid architecture, ignoring.
Package libdb47 version 4.7.25.4.NC-7 has no valid architecture, ignoring.
Package libdbus version 1.13.18-12 has no valid architecture, ignoring.
Package libexpat version 2.5.0-1 has no valid architecture, ignoring.
Package libffmpeg-full version 5.1.2-1 has no valid architecture, ignoring.
Package libgd version 2.3.2-4 has no valid architecture, ignoring.
Package libgnutls version 3.7.8-1 has no valid architecture, ignoring.
Package libjpeg-turbo version 2.1.4-1 has no valid architecture, ignoring.
Package liblz4-1 version 1.9.4-1 has no valid architecture, ignoring.
Package libmpdclient version 2.20-2 has no valid architecture, ignoring.
Package libnghttp2-14 version 1.44.0-1 has no valid architecture, ignoring.
Package libopenldap version 2.6.3-1 has no valid architecture, ignoring.
Package libopus version 1.3.1-3 has no valid architecture, ignoring.
Package libpcre2 version 10.37-2 has no valid architecture, ignoring.
Package libwebp version 1.2.4-1 has no valid architecture, ignoring.
Package libwebsockets-full version 4.3.2-1 has no valid architecture, ignoring.
Package libwebsockets-openssl version 4.3.2-1 has no valid architecture, ignoring.
Package libxml2 version 2.10.3-1 has no valid architecture, ignoring.
Package libzmq-curve version 4.3.4-3 has no valid architecture, ignoring.
Package libzmq-nc version 4.3.4-3 has no valid architecture, ignoring.
Package mariadb-server-base version 10.9.3-1 has no valid architecture, ignoring.
Package miniupnpd-iptables version 2022-08-31-68c8ec50-1 has no valid architecture, ignoring.
Package nginx-ssl-util version 1.6-14 has no valid architecture, ignoring.
Package nspr version 4.35-1 has no valid architecture, ignoring.
Package nss-utils version 3.85-1 has no valid architecture, ignoring.
Package perl-ack version 3.6.0+perl5.28-1 has no valid architecture, ignoring.
Package perl version 5.28.1-7 has no valid architecture, ignoring.
Package pulseaudio-daemon-avahi version 14.2-9 has no valid architecture, ignoring.
Package pulseaudio-daemon version 14.2-9 has no valid architecture, ignoring.
Package python3-asgiref version 3.4.1-2 has no valid architecture, ignoring.
Package python3-asyncio version 3.10.7-2 has no valid architecture, ignoring.
Package python3-codecs version 3.10.7-2 has no valid architecture, ignoring.
Package python3-ctypes version 3.10.7-2 has no valid architecture, ignoring.
Package python3-email version 3.10.7-2 has no valid architecture, ignoring.
Package python3-light version 3.10.7-2 has no valid architecture, ignoring.
Package python3-logging version 3.10.7-2 has no valid architecture, ignoring.
Package python3-openssl version 3.10.7-2 has no valid architecture, ignoring.
Package python3-pytz version 2022.6-1 has no valid architecture, ignoring.
Package python3-sqlite3 version 3.10.7-2 has no valid architecture, ignoring.
Package python3-sqlparse version 0.4.2-2 has no valid architecture, ignoring.
Package python3-urllib version 3.10.7-2 has no valid architecture, ignoring.
Package python3-xml version 3.10.7-2 has no valid architecture, ignoring.
Package python3 version 3.10.7-2 has no valid architecture, ignoring.
Package sbc version 1.5-1 has no valid architecture, ignoring.
Package shine version 3.1.1-1 has no valid architecture, ignoring.
Package socat version 1.7.4.1-1 has no valid architecture, ignoring.
Package strongswan version 5.9.8-5 has no valid architecture, ignoring.
Package tor-basic version 0.4.7.12-1 has no valid architecture, ignoring.
Package tor version 0.4.7.12-1 has no valid architecture, ignoring.
Package vim-full version 9.0-1 has no valid architecture, ignoring.
Package vim-fuller version 9.0-1 has no valid architecture, ignoring.
Package vim version 9.0-1 has no valid architecture, ignoring.
Package wget-ssl version 1.21.3-2 has no valid architecture, ignoring.
Package yajl version 2.1.0-2 has no valid architecture, ignoring.
Package libks1 version 1.8.0-1 has no valid architecture, ignoring.
Unknown package 'luci'.
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency rpcd for attendedsysupgrade-common
 * pkg_hash_check_unresolved: cannot find dependency rpcd-mod-rpcsys for attendedsysupgrade-common
 * pkg_hash_fetch_best_installation_candidate: Packages for attendedsysupgrade-common found, but inc                                                                                         ompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency luci-base for luci-app-attendedsysupgrade
 * pkg_hash_check_unresolved: cannot find dependency cgi-io for luci-app-attendedsysupgrade
 * pkg_hash_fetch_best_installation_candidate: Packages for luci-app-attendedsysupgrade found, but i                                                                                         ncompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency luci-base for luci-mod-system
 * pkg_hash_fetch_best_installation_candidate: Packages for luci-mod-system found, but incompatible                                                                                          with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency luci-base for luci-mod-network
 * pkg_hash_check_unresolved: cannot find dependency rpcd-mod-iwinfo for luci-mod-network
 * pkg_hash_fetch_best_installation_candidate: Packages for luci-mod-network found, but incompatible                                                                                          with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency luci-base for luci-mod-admin-full
 * pkg_hash_check_unresolved: cannot find dependency luci-mod-status for luci-mod-admin-full
 * pkg_hash_fetch_best_installation_candidate: Packages for luci-mod-admin-full found, but incompati                                                                                         ble with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency rpcd-mod-rrdns for luci
 * pkg_hash_check_unresolved: cannot find dependency uhttpd for luci
 * pkg_hash_check_unresolved: cannot find dependency uhttpd-mod-ubus for luci
 * pkg_hash_fetch_best_installation_candidate: Packages for luci found, but incompatible with the ar                                                                                         chitectures configured
 * opkg_install_cmd: Cannot install package luci.
root@OpenWrt:/#

Anything that i can do or just wait?r

Check the opkg options.
You might be able to override that with "--force-depends" option.
(But try that first with some simple package)

No luck with this:

pkg_hash_fetch_best_installation_candidate: Packages for luci found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package luci.

Please follow up here: https://github.com/openwrt/openwrt/pull/11629

If the CPU type name is just a cosmetic change (similar to the mips24kc vs. mips34k fuzz a while ago) then this commit shouldn't have been merged.

2 Likes

Hi,
I have the exact same problem, I flash two WS-AP3825i and now i can't install LuCI and other stuff.
Reading on github seem that CPU_TYPE was changed from powerpc_8540 to powerpc_8548, but support for 8548 didn't start yet and there's non repo available for this cpu type.

Maybe it's just a matter of time before they fix it, but is there a temporary fix for now? Can we force install package for a different cpu type? opkg install htop --force-depends have no effect.

Thank you.