[Solved] Package signature checks fail with new snapshot install [Solved]

I am trying to install the OpenWRT snapshot build on a NanoPi R5S. I just:

  1. Downloaded the ext4 image from https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/openwrt-rockchip-armv8-friendlyarm_nanopi-r5s-ext4-sysupgrade.img.gz on my desktop
  2. Unzipped the image file with gzip
  3. Copied the image file to a USB stick
  4. Booted the R5S from an SD card
  5. Mounted the USB stick on the R5S
  6. Wrote the image to the R5S emmc memory with dd
  7. Removed the SD card and USB stick and rebooted
  8. Ran opkg update

I am getting failures with opkg which is preventing me from installing packages.

root@OpenWrt:~# opkg update
Downloading https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_generic/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_generic/base/Packages.sig
Signature check failed.
Remove wrong Signature file.
Downloading https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/kmods/6.6.45-1-acbd862d446447c536024c974358706b/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_kmods
Downloading https://downloads.openwrt.org/snapshots/targets/rockchip/armv8/kmods/6.6.45-1-acbd862d446447c536024c974358706b/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_generic/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_generic/luci/Packages.sig
Signature check failed.
Remove wrong Signature file.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_generic/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_generic/packages/Packages.sig
Signature check failed.
Remove wrong Signature file.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_generic/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_generic/routing/Packages.sig
Signature check failed.
Remove wrong Signature file.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_generic/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_generic/telephony/Packages.sig
Signature check passed.

Could just be bad timing, rerun the command.

1 Like

I started over from the beginning and it worked. Not sure if it was timing or user error.

More than likely that. During the final phases of a build, the package indexes can be out of sync with the build. For releases, this is hard to catch because full package builds are pretty rare, but for snapshots it's fairly easy to hit this window as they are built so often...

Is it possible to check the build status anywhere to know when the repo is out of date?

Maybe? https://buildbot.openwrt.org/images/ and dig around to see if you can find anything. There's just so much there and it changes so rapidly that I've never had any luck figuring out what's going on at any given instant.

My (least effort) way is just what you've already done: opkg update, and if I get that message, wait a half hour and try again...

1 Like

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