OpenWrt opkg update การตรวจสอบลายเซ็นล้มเหลว


0

ฉันมีเราเตอร์ 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

นี่คือวิธีที่ฉันได้ทำงานกับ 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.
โดยการใช้ไซต์ของเรา หมายความว่าคุณได้อ่านและทำความเข้าใจนโยบายคุกกี้และนโยบายความเป็นส่วนตัวของเราแล้ว
Licensed under cc by-sa 3.0 with attribution required.