BPI-R4 opkg update issue

Hi,

I wanted to install a few luci-packages on my bpi-r4 with the OpenWRT Snapshot, but suddenly the opkg update ran into 404s and I’m confused. Does anybody here know what the error is?

Thanks.

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

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

Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/6.6.57-1-9b9a3ef1ce6b1f81f21a35556c70cede/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_kmods
Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/6.6.57-1-9b9a3ef1ce6b1f81f21a35556c70cede/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.gz

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

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

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

Collected errors:
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/Packages.gz, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.gz, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.gz, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.gz, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.gz, wget returned 8.

afaik this is a problem with snapshots that there canot be installed any further packages…they have to be built in the image…imho only packages for stable versions are available on download servers

OpenWrt has switched its package manager from opkg to APK on snapshot builds (see The future is now: opkg vs apk - Talk about Documentation - OpenWrt Forum). There might be a way to upgrade old firmware, but AFAIK that would be problematic. The best option is to build a fresh one.

Exactly this. That happened end of last week and now every packages built for snapshots can only be installed with apk.

It’s quite a good system, better than opkg, once the initial bugs are ironed out.

You might be able to update your existing system to use apk and add the config for it. But it probably won’t pick up the existing packages installed by opkg.

So it is probably easier to install a fresh snapshot build.

Those had an issue in the beginning that you couldn’t install new packages, but it should work now.

Do you just use the snapshot image as it is or do you build a custom image from it?

Okay there is the option to move to 24.10-SNAPSHOT for the time. This worked out great for now with the 24.10 Key.

I hope there will be some nice migration guide. :melting_face: