21.02 snapshot error opkg update

Hello!
I builded for my device image. Install use sysupgrade file and now I have a error opkg update. How is repair?



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

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 21.02-SNAPSHOT, r15818-c6319239d8
 -----------------------------------------------------
root@OpenWrt:~# opkg update
Downloading https://downloads.openwrt.org/releases/21.02-SNAPSHOT/targets/kirkwood/generic/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://downloads.openwrt.org/releases/21.02-SNAPSHOT/targets/kirkwood/generic/packages/Packages.sig
Signature file download failed.
Remove wrong Signature file.
Downloading https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_xscale/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_xscale/base/Packages.sig
Signature file download failed.
Remove wrong Signature file.
Downloading https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_xscale/freifunk/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_freifunk
Downloading https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_xscale/freifunk/Packages.sig
Signature file download failed.
Remove wrong Signature file.
Downloading https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_xscale/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_xscale/luci/Packages.sig
Signature file download failed.
Remove wrong Signature file.
Downloading https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_xscale/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_xscale/packages/Packages.sig
Signature file download failed.
Remove wrong Signature file.
Downloading https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_xscale/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_xscale/routing/Packages.sig
Signature file download failed.
Remove wrong Signature file.
Downloading https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_xscale/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_xscale/telephony/Packages.sig
Signature file download failed.
Remove wrong Signature file.
Collected errors:
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02-SNAPSHOT/targets/kirkwood/generic/packages/Packages.sig, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_xscale/base/Packages.sig, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_xscale/freifunk/Packages.sig, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_xscale/luci/Packages.sig, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_xscale/packages/Packages.sig, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_xscale/routing/Packages.sig, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/21.02-SNAPSHOT/packages/arm_xscale/telephony/Packages.sig, wget returned 8.

P.S snapshot download from git://github.com/openwrt/openwrt.git -b openwrt-21.02

all the snapshots are only valid for a limited time so if you have an old or modified firmware the packages won't match
try & get the current image for your device & then get packages
https://downloads.openwrt.org/releases/21.02-SNAPSHOT/

1 Like

Might be misconfigured keyring.

Looks like the 21.02 build key has not yet been added to the keyring:
https://git.openwrt.org/?p=keyring.git;a=shortlog

cc @hauke @lynxis

2 Likes

Ok. I changed distfeeds.conf

src/gz openwrt_core https://downloads.openwrt.org/snapshots/targets/kirkwood/generic/packages
src/gz openwrt_base https://downloads.openwrt.org/snapshots/packages/arm_xscale/base
src/gz openwrt_freifunk https://downloads.openwrt.org/snapshots/packages/arm_xscale/freifunk
src/gz openwrt_luci https://downloads.openwrt.org/snapshots/packages/arm_xscale/luci
src/gz openwrt_packages https://downloads.openwrt.org/snapshots/packages/arm_xscale/packages
src/gz openwrt_routing https://downloads.openwrt.org/snapshots/packages/arm_xscale/routing
src/gz openwrt_telephony https://downloads.openwrt.org/snapshots/packages/arm_xscale/telephony

I do not know if this is correct, but it work

It is wrong. Now you download from master, not 21.02.
(as 21.02 is really close to master, the error is not big, but it is still wrong.)

Apparently the 21.02 uses a new key for the packages builds, and as that release key is not added to the OpenWrt keyring, your own build does not the downloaded package list. Quite properly, actually :slight_smile:

Usually @jow has added the build keys used for releases in buildbot to the keyring, but I am not sure who managed the 21.02 buildbot infra this time.

2 Likes

if you download and use the snapshot image for you device then snapshot packages will work
https://downloads.openwrt.org/releases/21.02-SNAPSHOT/

well mostly samda4 didn't install for me due to a dependency not available
but I'm sure someone will fix that at some point but that's not you problem

I have error compile samba4 too. I recover it. Try in /openwrt/package/libs/ncurses/Makefile add libncursesw6:

PROVIDES:=libncursesw libncursesw6

Just I try added support Netgear Stora from this commit https://git.openwrt.org/?p=openwrt/staging/wigyori.git;a=commit;h=94894e42116600d2d7b19cecebfcbaab4c04719d in latest kernel for kirkwood.

Hello everybody is compatible please with hap ac 2 ? Thanks

Hi @Nevskiy Should I just update distfeeds.conf like this?

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.