Opkg update: Signature check failed. Remove wrong Signature file

Hi,
I have a really strange issue after reinstalling a sysupgrade image of OpenWRT on my Fritz!Box 7520 and restoring settings from backup. opkg update fails due to a failed signature check and many popular packages are not available to install, like dnsmasq-full.

opkg update: Signature check failed
opkg update
Downloading https://downloads.openwrt.org/releases/23.05.5/targets/ipq40xx/generic/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading https://downloads.openwrt.org/releases/23.05.5/targets/ipq40xx/generic/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.5/packages/arm_cortex-a7_neon-vfpv4/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://downloads.openwrt.org/releases/23.05.5/packages/arm_cortex-a7_neon-vfpv4/base/Packages.sig
Signature check failed.
Remove wrong Signature file.
Downloading https://downloads.openwrt.org/releases/23.05.5/packages/arm_cortex-a7_neon-vfpv4/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading https://downloads.openwrt.org/releases/23.05.5/packages/arm_cortex-a7_neon-vfpv4/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.5/packages/arm_cortex-a7_neon-vfpv4/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://downloads.openwrt.org/releases/23.05.5/packages/arm_cortex-a7_neon-vfpv4/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.5/packages/arm_cortex-a7_neon-vfpv4/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://downloads.openwrt.org/releases/23.05.5/packages/arm_cortex-a7_neon-vfpv4/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.5/packages/arm_cortex-a7_neon-vfpv4/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/23.05.5/packages/arm_cortex-a7_neon-vfpv4/telephony/Packages.sig
Signature check passed.
ubus call system board; cat /etc/openwrt_release
{
        "kernel": "5.15.167",
        "hostname": "OpenWrt",
        "system": "ARMv7 Processor rev 5 (v7l)",
        "model": "AVM FRITZ!Box 7530",
        "board_name": "avm,fritzbox-7530",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "23.05.5",
                "revision": "r24106-10cc5fcd00",
                "target": "ipq40xx/generic",
                "description": "OpenWrt 23.05.5 r24106-10cc5fcd00"
        }
}
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='23.05.5'
DISTRIB_REVISION='r24106-10cc5fcd00'
DISTRIB_TARGET='ipq40xx/generic'
DISTRIB_ARCH='arm_cortex-a7_neon-vfpv4'
DISTRIB_DESCRIPTION='OpenWrt 23.05.5 r24106-10cc5fcd00'
DISTRIB_TAINTS=''

Does anyone know how to resolve this?

  • What OpenWrt version did you upgrade from?
  • Did you alter the sysupgrade.conf or the backup file list in LuCI?
1 Like

Same version, 23.05.5. I wanted to get rid of all the unnecessary packages I installed in the past, which is why I didn't want to simply use the reset functionality. I used Luci to upload and install the sysupgrade image.

No changes of the list in Luci.

cat /etc/sysupgrade.conf
cat /etc/sysupgrade.conf 
## This file contains files and directories that should
## be preserved during an upgrade.

# /etc/example.conf
# /etc/openvpn/

/lib/firmware/ppe_fw.bin
/lib/firmware/xcpe_8D1507_8D0901.bin
/lib/firmware/vdsl.bin
/lib/firmware/09a9/aca_fw.bin

You removed a bunch of packages, but kept the config ?

Just repeat the downloads in few hours?

2 Likes

Yes. Is that a problem?

Hah, that solved it. I already tried for quite some time before opening this thread. And now it suddenly works.

Does anyone know why this happened?

Thx everyone for the quick answers!

1 Like

How mirrors sync in cdn.

2 Likes

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