Sven Roederer kirjoitti 30.4.2021 klo 1.44:
Am Donnerstag, 29. April 2021, 01:54:34 CEST schrieb Sven Roederer:
Using a freshly installed OpenWrt 21.02 fails to install a package that has
been downloaded manually. I had seen this initially when using my own image
where a package was missing. To fix I copied over with scp and wanted to
install with 'opkg <package.ipk>'. It failed, complaining about incompatible
arch. rebuilding my image via Imagebuilder made my image work.
Initially thought of some faulty config on my board, but was just testing
with official build from downloads.openwrt.org and could confirm.
Here my console log (taken on TPLink WDR-3600):
-----------------------------------------------------
OpenWrt 21.02.0-rc1, r16046-59980f7aaf
-----------------------------------------------------
root@OpenWrt:~# cd /tmp
root@OpenWrt:/tmp# wget
https://downloads.openwrt.org/releases/21.02.0-rc1/
packages/mips_24kc/base/wall_2.36.1-2_mips_24kc.ipk
Downloading 'https://downloads.openwrt.org/releases/21.02.0-rc1/packages/
mips_24kc/base/wall_2.36.1-2_mips_24kc.ipk'
Connecting to 168.119.138.211:443
Writing to 'wall_2.36.1-2_mips_24kc.ipk'
wall_2.36.1-2_mips_2 100% |*******************************| 10770
0:00:00
ETA
Download completed (10770 bytes)
root@OpenWrt:/tmp# opkg install /tmp/wall_2.36.1-2_mips_24kc.ipk
Unknown package 'wall'.
Collected errors:
* pkg_hash_fetch_best_installation_candidate: Packages for wall found,
but
incompatible with the architectures configured
* opkg_install_cmd: Cannot install package wall.
As far as I can see opkd config looks fine ...
root@OpenWrt:/tmp# opkg print-architecture
arch all 1
arch noarch 1
arch mips_24kc 10
Any ideas?
I did not check on master yet, but I think it's a blocker for 21.02 release.
Just did a check on master, which shows the same behavior.
I wonder if your error is somehow specific to your settings, or some specific
conditions.
I tested, and I can install downloaded buildbot package .ipks just fine to my
R7800, both with 21.02 and master, my own builds.
WNDR3700v2 master:
OpenWrt SNAPSHOT, r16599-43dad22025
-----------------------------------------------------
root@router2:~# cd /tmp
root@router2:/tmp#
wgethttps://downloads.openwrt.org/snapshots/packages/mips_24kc/base/wall_2.36.1-2_mips_24kc.ipk
Downloading
'https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/wall_2.36.1-2_mips_24kc.ipk'
Connecting to 2a01:4f8:251:321::2:443
Writing to 'wall_2.36.1-2_mips_24kc.ipk'
wall_2.36.1-2_mips_2 100% |*******************************| 10770 0:00:00 ETA
Download completed (10770 bytes)
root@router2:/tmp# opkg install /tmp/wall_2.36.1-2_mips_24kc.ipk
Installing wall (2.36.1-2) to root...
Configuring wall.
R7800 with 21.02 build:
OpenWrt 21.02-SNAPSHOT, r16053-f066ee2ad5
-----------------------------------------------------
root@router1:~# opkg install /tmp/wall_2.36.1-2_arm_cortex-a15_neon-vfpv4.ipk
Installing wall (2.36.1-2) to root...
Configuring wall.
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel