Opkg update in OpenWrt getting signature failure

I have a TP-Link router. TL-WDR4300. I have setup OpenWrt environment in it.

Version details is as follows:

Linux version 4.4.14 (alex@AlexPC) (gcc version 5.3.0 (OpenWrt GCC 5.3.0 50108) )

I used the following command

 root@OpenWrt:~# opkg update


Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/base/Packages.gz.
Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/base/Packages.sig.
 Signature check failed.
Remove wrong Signature file.
Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/kernel/Packages.gz.
Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/kernel/Packages.sig.
Signature check failed.
 Remove wrong Signature file.
 Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/luci/Packages.gz.
Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/luci/Packages.sig.
Signature check failed.
Remove wrong Signature file.
Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/management/Packages.gz.
  Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/management/Packages.sig.
Signature check failed.
  Remove wrong Signature file.
 Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/packages/Packages.gz.
 Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/packages/Packages.sig.
 Signature check failed.
 Remove wrong Signature file.
 Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/routing/Packages.gz.
 Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/routing/Packages.sig.
 Signature check failed.
  Remove wrong Signature file.
  Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/telephony/Packages.gz.
  Downloading "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/telephony/Packages.sig.
  Signature check failed.
  Remove wrong Signature file.




   Collected errors:
      * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/base/Packages.gz, wget returned 8.
   * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/base/Packages.sig, wget returned 8.
    * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/kernel/Packages.gz, wget returned 8.
       * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/kernel/Packages.sig, wget returned 8.
    * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/luci/Packages.gz, wget returned 8.
    * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/luci/Packages.sig, wget returned 8.
     * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/management/Packages.gz, wget returned 8.
    * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/management/Packages.sig, wget returned 8.
    * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/packages/Packages.gz, wget returned 8.
   * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/packages/Packages.sig, wget returned 8.
   * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/routing/Packages.gz, wget returned 8.
   * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/routing/Packages.sig, wget returned 8.
   * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/telephony/Packages.gz, wget returned 8.
   * opkg_download: Failed to download "http"://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/telephony/Packages.sig, wget returned 8

Kernel 4.4.14 and snapshots don't go along, apparently you have a pretty old master snapshot (well over a year) and want to install current snapshot packages (expecting a much more up to date base firmware).

You'll need to sysupgrade your base firmware first, either to a formal release (as in 18.06.1) or current master snapshots, then "opkg update" and installing packages should work. Given that you haven't updated your old master snapshot in ages, going with the stable release might be a better option for you.

2 Likes

Thanks for the answer. I went about to get it sysupgraded. Now first I went to the firmware list

1073
TP-Link TL-WDR4300 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7 18.06.1

Atheros AR9344 [ar71xx]

("https"://openwrt.org/docs/techref/targets/ar71xx) generic http://downloads.openwrt.org/releases/18.06.1/targets/ar71xx/generic/openwrt-18.06.1-ar71xx-generic-tl-wdr4300-v1-squashfs-factory.bin

"http"://downloads.openwrt.org/releases/18.06.1/targets/ar71xx/generic/openwrt-18.06.1-ar71xx-generic-tl-wdr4300-v1-squashfs-sysupgrade.bin

"http"://downloads.openwrt.org/snapshots/targets/ar71xx/generic/lede-ar71xx-generic-tl-wdr4300-v1-squashfs-factory.bin

" http"://downloads.openwrt.org/snapshots/targets/ar71xx/generic/lede-ar71xx-generic-tl-wdr4300-v1-squashfs-sysupgrade.bin [View/Edit data]

Now following the instructions in the "https"://openwrt.org/docs/guide-quick-start/sysupgrade.luci page

I downloaded the sysupgrade key word .bin file and uploaded in the GUI.

However I tried to match the checksum generated but it didnt generate the required checksum.
I used this page to find the checksum
"http"://downloads.openwrt.org/snapshots/targets/ar71xx/generic/

NB
" " are used in http as i am not allowed to give 2 links in a post.

Need help in this.

I’ve been getting the same for the past few days on my WRT32X with stock firmware.
4.4.14 #4 SMP Wed Apr 4 18:23:44 UTC 2018 armv7l GNU/Linux

root@Seraphim:~# opkg update
Downloading http://downloads.openwrt.org/snapshots/trunk/mvebu/generic/packages/base/Packages.gz.
Downloading http://downloads.openwrt.org/snapshots/trunk/mvebu/generic/packages/base/Packages.sig.
Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/snapshots/trunk/mvebu/generic/packages/kernel/Packages.gz.
Downloading http://downloads.openwrt.org/snapshots/trunk/mvebu/generic/packages/kernel/Packages.sig.
Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/snapshots/trunk/mvebu/generic/packages/linksys/Packages.gz.
Downloading http://downloads.openwrt.org/snapshots/trunk/mvebu/generic/packages/linksys/Packages.sig.
Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/snapshots/trunk/mvebu/generic/packages/packages/Packages.gz.
Downloading http://downloads.openwrt.org/snapshots/trunk/mvebu/generic/packages/packages/Packages.sig.
Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/snapshots/trunk/mvebu/generic/packages/routing/Packages.gz.
Downloading http://downloads.openwrt.org/snapshots/trunk/mvebu/generic/packages/routing/Packages.sig.
Signature check failed.
Remove wrong Signature file.
Downloading http://downloads.openwrt.org/snapshots/trunk/mvebu/generic/packages/telephony/Packages.gz.
Downloading http://downloads.openwrt.org/snapshots/trunk/mvebu/generic/packages/telephony/Packages.sig.
Signature check failed.
Remove wrong Signature file.
Collected errors:
 * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/mvebu/generic/packages/base/Packages.gz, wget returned 8.
 * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/mvebu/generic/packages/base/Packages.sig, wget returned 8.
 * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/mvebu/generic/packages/kernel/Packages.gz, wget returned 8.
 * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/mvebu/generic/packages/kernel/Packages.sig, wget returned 8.
 * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/mvebu/generic/packages/linksys/Packages.gz, wget returned 8.
 * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/mvebu/generic/packages/linksys/Packages.sig, wget returned 8.
 * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/mvebu/generic/packages/packages/Packages.gz, wget returned 8.
 * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/mvebu/generic/packages/packages/Packages.sig, wget returned 8.
 * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/mvebu/generic/packages/routing/Packages.gz, wget returned 8.
 * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/mvebu/generic/packages/routing/Packages.sig, wget returned 8.
 * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/mvebu/generic/packages/telephony/Packages.gz, wget returned 8.
 * opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/mvebu/generic/packages/telephony/Packages.sig, wget returned 8.

same here, any solution?

I just manually upload and installed from here:
https://downloads.openwrt.org/releases/packages-18.06/arm_cortex-a9_vfpv3/

Looks like your HTTP-traffic is modified by some malware, stupid antivirus filter or ISP DPI-filter.

  1. Use only HTTPS in your browser.
  2. Before downloading replace "http" to "https" in all the download links manually if required.
  3. Verify GPG-signature and check sha265sum.
  4. Check sha265sum again in the upload firmware screen before flashing.
  5. Use HTTPS for opkg: https://www.leowkahman.com/2016/04/10/use-ssl-openwrt-opkg/

Unfortunately that was the first thing I tried.....no joy. It seems that the package repository is just gone. I assume due to the websites getting overhauled, post-merger.
I was able to install Adblock from:
https://downloads.openwrt.org/releases/packages-18.06/arm_cortex-a9_vfpv3/packages/

However, last night I tried to install mini-snmp and snmpd from the same and got an incorrect architecture' error.

I was able to install snmpd from:
https://archive.openwrt.org/chaos_calmer/15.05.1/mvebu/generic/packages/packages/
The package I really need is mini-snmp, but none of the versions I have tried will install (incorrect architecture error).

Hopefully the missing Designated Driver repo is just temporary while the website is being reorganized.

There is no Designated Driver any more. DD was test snapshots, not meant for continuous casual usage.

Use either 18.06.1 release or the current master test snapshots, but the old DD is dead.

Ps. trying to use mixed combination of 15.05.1 and 18.06 packages with some DD build sounds pretty strange.

1 Like

Yes, definitely weird. What I still can't figure is why some packages will install fine and others (from the same repo) will not.

Is the Designated Driver repo still available online somewhere or is it gone forever?
I know it's dated, but it is still worthwhile to keep for everyone with a stock WRT32X.

I'd be happy to just download the entire repository to my USB drive and configure as local.

There never was a "designated driver", there was only the continuosly moving (or stagnant, towards the end of its life cycle) master branch (well, trunk, following subversion's terminology) using that code name for a while. Even if it would still exist, it would be far away from a random snapshot earlier.

1 Like

I updated my OPENWRT to 18.6.1. Then it works

1 Like

Shouldn't it have just been frozen and archived as version 16.dead, rather than just Poofed?

Files hosted at these location were random trunk build snapshots. Such snapshots are usually not archived and provide no guarantees wrt. availability and stability.

I get that, but it does leave a gaping hole in archive.openwrt.org. I have recently run into a device that unfortunately used that branch as a commercial release. Does any one have an archive that I could pull the base and kernel directories from?

you can work back to any version using git

1 Like

I think you should poke that vendor initially with a big rusty stick, running a commercial product off a snapshot is quite far from recommended. That snapshots directory was agreed to be poof-ed from the archive site - having said that, I'll look around if I still have it archived somewhere.

-w-

The old snapshots is restored now, but I still hold up the opinion that no manufacturer should ever, ever use snapshots (either this, or later snapshots from the main download site) in their product.

https://archive.openwrt.org/snapshots/trunk/

Regards,
-w-

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