Anonym-tsk / nfqws-keenetic

MIT License
639 stars 50 forks source link

[BUG] Command 'opkg update' fails with wget error #55

Closed geak closed 1 month ago

geak commented 1 month ago

Keenetic Ultra (KN-1811), 4.1.7

При попытке установить nfqws-keenetic возникает ошибка:

bash-5.2# uname -a
Linux Keenetic-7616 4.9-ndm-5 #0 SMP Thu Jun 6 13:52:52 2024 aarch64 GNU/Linux

bash-5.2# cat /opt/etc/entware_release 
PRETTY_NAME="Entware 2024.07"
NAME="Entware"
VERSION_ID="2024.07"
VERSION="2024.07 (sync with OpenWrt)"
ID=entware
HOME_URL="https://entware.net/"
SUPPORT_URL="https://github.com/Entware/Entware/discussions/"
BUG_REPORT_URL="https://github.com/Entware/Entware/issues/"

Build summary:
Linux Kernel 3.10.108
arch=aarch64
cpu_type=cortex-a53
cpu_subtype=unknown
float=hard
binutils_version="2.34"
gcc_version="8.4.0"
gcc_flags="-O2 -pipe -mcpu=cortex-a53 -fno-caller-saves -fno-plt"
libc_type=glibc
libc_version="2.27"

bash-5.2# opkg --version
opkg version d038e5b6d155784575f62a66a8bb7e874173e92e (2022-02-24)

bash-5.2# echo "src/gz nfqws-keenetic https://anonym-tsk.github.io/nfqws-keenetic/aarch64" > /opt/etc/opkg/nfqws-keenetic.conf

bash-5.2# opkg install nfqws-keenetic
Unknown package 'nfqws-keenetic'.
Collected errors:
 * opkg_install_cmd: Cannot install package nfqws-keenetic.

bash-5.2# opkg update
Downloading http://bin.entware.net/aarch64-k3.10/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware
Downloading http://bin.entware.net/aarch64-k3.10/keenetic/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/keendev
Downloading https://anonym-tsk.github.io/nfqws-keenetic/aarch64/Packages.gz
wget: not an http or ftp url: https://anonym-tsk.github.io/nfqws-keenetic/aarch64/Packages.gz
*** Failed to download the package list from https://anonym-tsk.github.io/nfqws-keenetic/aarch64/Packages.gz

Collected errors:
 * opkg_download: Failed to download https://anonym-tsk.github.io/nfqws-keenetic/aarch64/Packages.gz, wget returned 1.

Все предыдущие шаги выполнены (успешно), падает wget на этапе opkg update.

bash-5.2# opkg info ca-certificates | grep -E '(Status|Version)'
Version: 20240203-1
Status: install user installed

bash-5.2# opkg info wget-ssl | grep -E '(Status|Version)'
Version: 1.24.5-1
Status: install user installed

bash-5.2# opkg info wget-nossl | grep -E '(Status|Version)'
Version: 1.24.5-1
Status: unknown ok not-installed
geak commented 1 month ago

Проблема была в том, что использовался Busybox wget. Наверно, стоит в мануал добавить заметку об этом..

VladimirMrzv commented 1 month ago

удалите wget-nossl, а c ssl можно переустановить тоже была такая ошибка

geak commented 1 month ago

Удалён был, opkg говорил "nothing to remove" или что-то вроде того.