OpenWrt opkg update Ошибка проверки подписи

1104
Avishek Banerjee

У меня есть маршрутизатор TP-Link. TL-WDR4300. Я настроил среду OpenWrt в нем.

Подробности версии следующие:

Linux версии 4.4.14 (alex @ AlexPC) (gcc версии 5.3.0 (OpenWrt GCC 5.3.0 50108))

Я использовал следующую команду

 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. 

Может кто-нибудь решить эту проблему

0

1 ответ на вопрос

0
Tony

Вот как я получил эту работу на моем Orbi:

sed -i -re 's/^(option check_signature.*)/#\1/g' /etc/opkg.conf mv /usr/bin/wget /usr/bin/wget.bin 

Затем создайте / usr / bin / wget со следующим:

#!/bin/sh /usr/bin/wget.bin --no-check-certificate "$@" 

И, наконец, chmod + x / usr / bin / wget

root@SRR60:/etc/ssl/certs# opkg update Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/bcm53xx/generic/packages/base/Packages.gz. Updated list of available packages in /var/opkg-lists/chaos_calmer_base. Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/bcm53xx/generic/packages/luci/Packages.gz. Updated list of available packages in /var/opkg-lists/chaos_calmer_luci. Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/bcm53xx/generic/packages/packages/Packages.gz. Updated list of available packages in /var/opkg-lists/chaos_calmer_packages. Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/bcm53xx/generic/packages/routing/Packages.gz. Updated list of available packages in /var/opkg-lists/chaos_calmer_routing. Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/bcm53xx/generic/packages/telephony/Packages.gz. Updated list of available packages in /var/opkg-lists/chaos_calmer_telephony. Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/bcm53xx/generic/packages/management/Packages.gz. Updated list of available packages in /var/opkg-lists/chaos_calmer_management. 

Похожие вопросы