I built a package and saved the corresponding .apk file. After updated the image (without building that particular package), I tried to install it but found:
If your apk version is 2024-11-13, I would make clean, pull the new changes (including the revert to apk 2024-11-08) and try again. 2024-11-13 (which was online for around a ~day until this afternoon) causes a few regressions.
Works for me with 'current' HEAD (and the reverted apk):
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r28085-6720c4ccba
-----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
# infobash -v4
Host/Kernel/OS "OpenWrt" running Linux 6.6.60 x86_64 [ OpenWrt SNAPSHOT r28085-6720c4ccba ]
System QEMU Standard PC (Q35 + ICH9, 2009)
CPU Info 2x Common KVM 16384 KB cache flags( sse3 ht nx lm vmx ) clocked at [ 2112.000 MHz ]
Videocard Device 1234:1111 tty resolution ( )
Network cards 2x Red Hat Virtio network device, at ports: c580 c5a0
Processes 122 | Uptime 3min | Memory 57.9/99.2MB | HDD QEMU HARDDISK Size 0GB (1%used) | Infobash v3.60
# apk update
fetch https://downloads.openwrt.org/snapshots/targets/x86/64/packages/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/x86_64/base/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/x86_64/luci/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/x86_64/packages/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/x86_64/routing/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/x86_64/telephony/packages.adb
[https://downloads.openwrt.org/snapshots/targets/x86/64/packages/packages.adb]
[https://downloads.openwrt.org/snapshots/packages/x86_64/base/packages.adb]
[https://downloads.openwrt.org/snapshots/packages/x86_64/luci/packages.adb]
[https://downloads.openwrt.org/snapshots/packages/x86_64/packages/packages.adb]
[https://downloads.openwrt.org/snapshots/packages/x86_64/routing/packages.adb]
[https://downloads.openwrt.org/snapshots/packages/x86_64/telephony/packages.adb]
OK: 10802 distinct packages available
# apk list -I | grep apk
apk-openssl-3.0.0_pre20241108-r1 x86_64 {feeds/base/system/apk} (GPL-2.0-only) [installed]
# apk add /tmp/btop-1.4.0-r1.apk
(1/1) Installing btop (1.4.0-r1)
Executing btop-1.4.0-r1.post-install
OK: 90 MiB in 430 packages
or to test installing a locally built package that doesn't exist in OpenWrt's feeds (and which is utterly useless on x86_64, but, just for testing; it's technically built as arch=all, so it can be installed on ZyXEL's OEM firmware as well):
# apk add /tmp/nbg6817-tools-2021.04.03\~b60d3a01-r1.apk
(1/1) Installing nbg6817-tools (2021.04.03~b60d3a01-r1)
Executing nbg6817-tools-2021.04.03~b60d3a01-r1.post-install
OK: 90 MiB in 431 packages
# apk list -I | grep nbg6817
nbg6817-tools-2021.04.03~b60d3a01-r1 all {feeds/pkgadd/utils/nbg6817-tools} (ISC) [installed]
# apk info -s nbg6817-tools
nbg6817-tools-2021.04.03~b60d3a01-r1 installed size:
16 KiB
# nbg6817-dualboot -h
ERROR: this tool is only safe to be used on the ZyXEL NBG6817