@hauke could you create a sticky with some high level OPKG -> APK info in the annuncement sub-forum ?
thnx!
@hauke could you create a sticky with some high level OPKG -> APK info in the annuncement sub-forum ?
thnx!
Well, I didn't intended this thread to be The Announcement, I was just collecting info on APK way back when it started to look like it was actually going to get merged. The fog of war sort of turned it into the de facto thread on the switchover.
Yeah, I've been doing archeology on that, too, as I'm a "root cause" kind of guy.
I think the biggest pro from the devs' perspective is maintenance. opkg
is unmaintained because no one (but OpenWrt) used it, whereas apk
is very actively maintained due to it being the center of the universe for Alpine Linux.
From a functional perspective, opkg
is really lacking in modern features, the most prominent being version constraints. This is probably why (speculation on my part) we have wacky ABI-versioned package names like libucode20230711
instead of just plain libucode
. With opkg
, you could trivially install the wrong version of one of these packages and brick your router. With apk
, you add build info to dependent packages that say "depends: libucode>=2023.07.11" or something like that, then apk
verifies that it's A-OK! to install the specific version based on those constraints and bails if it's not.
So, we will no longer have to say, "Hey! Don't do opkg upgrade
! That might break things!" Instead, we'll say, "Sure, just do apk upgrade
, that should put you on all the latest and greatest packages."
it won't stop things from breaking though, only from breaking because of missing dependencies
Exactly right, we all need to remember that when working on snapshot, you're walking on (sometimes thin) ice and might fall through at any time.
True, over the years I have gone trough all variants from stable to imagebuilder to build from source. I like building from source the most.
But for me a build from main source never goes in a straight line from openwrt github to operational router.
First I make a lock of the main version by one day pulling it to my own github fork and from there I make my first test build, then it goes for in house test run for at least a couple of weeks on one of the test routers I have piled up over the years. If that works and the config script works then a build for the operational router is made and installed.
But when building from source, package handling isnât really a big deal if you build your image with all the packages you want, you should be able to know what packages you want after a couple of years.
But for pure dev/âtechnology testingâ work it is pretty much crash and burn builds but they never see the operational router, those builds only live in the test router and never see the free internet.
Yeah, I only use stable for my edge router, 23.05.5 right now. I'm perfectly happy to run any old thing on the internal devices, but I would never run snapshot on the internet-facing device without a ton of testing as you're doing.
I built latest MAIN SNAPSHOT (r28072-b902284290) image using ImageBuilder. However sysupgrade command reset to default configuration. Not sure why this happened. Is sysupgrade still dependent on opkg?
Imagebuilder (on Arch Linux x86_64)
% make image PROFILE="glinet_gl-mt6000" \
PACKAGES="-dnsmasq -libustream-mbedtls -odhcpd-ipv6only -wpad-basic-mbedtls \
base-files ca-bundle dropbear firewall4 fitblk fstools kmod-crypto-hw-safexcel kmod-gpio-button-hotplug kmod-leds-gpio kmod-nft-offload kmod-phy-aquantia libc libgcc logd mtd netifd nftables odhcp6c ppp ppp-mod-pppoe procd-ujail uboot-envtools uci uclient-fetch urandom-seed urngd e2fsprogs f2fsck mkf2fs kmod-usb3 kmod-mt7915e kmod-mt7986-firmware mt7986-wo-firmware \
odhcpd libustream-openssl wpad-openssl \
kmod-mtd-rw kmod-usb-storage kmod-fs-ext4 kmod-fs-vfat kmod-tcp-bbr kmod-macvlan kmod-ipvlan kmod-veth kmod-crypto-chacha20poly1305 kmod-inet-mptcp-diag kmod-mppe kmod-vrf \
e2fsprogs \
arp-scan arp-scan-database ip-full ethtool ca-certificates ca-bundle openssh-sftp-server block-mount dosfstools nano wget-ssl curl bridge htop atop tcpdump iwinfo iw-full iputils-ping fping usbutils libudev-zero pciutils https-dns-proxy pciids usbids vsftpd-tls iptables-nft ip6tables-nft f2fs-tools irqbalance tc-bpf qosify zerotier tailscale pppdump pppoe-discovery bash tar file mptcpd mptcpize bcp38 \
speedtest-netperf parted tune2fs resize2fs fdisk gdisk diffutils openvpn-openssl tc-bpf speedtest-go netperf iperf iperf3-ssl irtt flent-tools nmap-full batctl-full chrony-nts travelmate dropbearconvert \
luci-ssl-openssl luci-app-uhttpd luci-app-wol luci-app-ttyd luci-app-https-dns-proxy luci-app-irqbalance luci-app-sqm luci-app-ddns luci-proto-wireguard luci-app-openvpn luci-app-package-manager luci-app-travelmate luci-proto-batman-adv luci-app-bcp38 \
-opkg -apk-mbedtls apk-openssl"
make: TMPDIR value /home/kshv/Downloads/openwrt-imagebuilder-mediatek-filogic.Linux-x86_64_1/tmp: No such file or directory
make: using default temporary directory '/tmp'
make: TMPDIR value /home/kshv/Downloads/openwrt-imagebuilder-mediatek-filogic.Linux-x86_64_1/tmp: No such file or directory
make: using default temporary directory '/tmp'
Generate local signing keys...
WARNING: can't open config file: /builder/shared-workdir/build/staging_dir/host/etc/ssl/openssl.cnf
WARNING: can't open config file: /builder/shared-workdir/build/staging_dir/host/etc/ssl/openssl.cnf
read EC key
writing EC key
make: TMPDIR value /home/kshv/Downloads/openwrt-imagebuilder-mediatek-filogic.Linux-x86_64_1/tmp: No such file or directory
make: using default temporary directory '/tmp'
Checking 'true'... ok.
Checking 'false'... ok.
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'perl-data-dumper'... ok.
Checking 'perl-findbin'... ok.
Checking 'perl-file-copy'... ok.
Checking 'perl-file-compare'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'perl-ipc-cmd'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... updated.
Checking 'xargs'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... updated.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... updated.
Checking 'egrep'... updated.
Checking 'getopt'... ok.
Checking 'realpath'... ok.
Checking 'stat'... ok.
Checking 'gzip'... updated.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'install'... ok.
Checking 'perl'... ok.
Checking 'python'... updated.
Checking 'python3'... updated.
Checking 'python3-distutils'... ok.
Checking 'python3-stdlib'... ok.
Checking 'file'... ok.
Checking 'which'... ok.
Checking 'ldconfig-stub'... ok.
Building images for mediatek - GL.iNet GL-MT6000
Packages: base-files ca-bundle dropbear firewall4 fitblk fstools kmod-crypto-hw-safexcel kmod-gpio-button-hotplug kmod-leds-gpio kmod-nft-offload kmod-phy-aquantia libc libgcc logd mtd netifd nftables odhcp6c ppp ppp-mod-pppoe procd-ujail uboot-envtools uci uclient-fetch urandom-seed urngd e2fsprogs f2fsck mkf2fs kmod-usb3 kmod-mt7915e kmod-mt7986-firmware mt7986-wo-firmware odhcpd libustream-openssl wpad-openssl kmod-mtd-rw kmod-usb-storage kmod-fs-ext4 kmod-fs-vfat kmod-tcp-bbr kmod-macvlan kmod-ipvlan kmod-veth kmod-crypto-chacha20poly1305 kmod-inet-mptcp-diag kmod-mppe kmod-vrf e2fsprogs arp-scan arp-scan-database ip-full ethtool ca-certificates ca-bundle openssh-sftp-server block-mount dosfstools nano wget-ssl curl bridge htop atop tcpdump iwinfo iw-full iputils-ping fping usbutils libudev-zero pciutils https-dns-proxy pciids usbids vsftpd-tls iptables-nft ip6tables-nft f2fs-tools irqbalance tc-bpf qosify zerotier tailscale pppdump pppoe-discovery bash tar file mptcpd mptcpize bcp38 speedtest-netperf parted tune2fs resize2fs fdisk gdisk diffutils openvpn-openssl tc-bpf speedtest-go netperf iperf iperf3-ssl irtt flent-tools nmap-full batctl-full chrony-nts travelmate dropbearconvert luci-ssl-openssl luci-app-uhttpd luci-app-wol luci-app-ttyd luci-app-https-dns-proxy luci-app-irqbalance luci-app-sqm luci-app-ddns luci-proto-wireguard luci-app-openvpn luci-app-package-manager luci-app-travelmate luci-proto-batman-adv luci-app-bcp38 apk-openssl base-files ca-bundle dropbear e2fsprogs f2fsck firewall4 fitblk fstools kernel kmod-crypto-hw-safexcel kmod-gpio-button-hotplug kmod-leds-gpio kmod-mt7915e kmod-mt7986-firmware kmod-nft-offload kmod-phy-aquantia kmod-usb3 libc libgcc logd mkf2fs mt7986-wo-firmware mtd netifd nftables odhcp6c ppp ppp-mod-pppoe procd-ujail uboot-envtools uci uclient-fetch urandom-seed urngd
fetch https://mirror-03.infra.openwrt.org/snapshots/targets/mediatek/filogic/packages/packages.adb
fetch https://mirror-03.infra.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/packages.adb
fetch https://mirror-03.infra.openwrt.org/snapshots/targets/mediatek/filogic/kmods/6.6.60-1-0561031e21f60f05c8f540bffb723036/packages.adb
fetch https://mirror-03.infra.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/packages.adb
fetch https://mirror-03.infra.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/packages.adb
fetch https://mirror-03.infra.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/packages.adb
fetch https://mirror-03.infra.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/packages.adb
WARNING: opening packages/packages.adb: No such file or directory
OK: 0 MiB in 0 packages
Package list missing or not up-to-date, generating it.
Building package index...
Installing packages...
( 1/355) Installing libgcc1 (13.3.0-r4)
( 2/355) Installing libc (1.2.5-r4)
( 3/355) Installing libopenssl3 (3.0.15-r1)
( 4/355) Installing zlib (1.3.1-r1)
( 5/355) Installing apk-openssl (3.0.0_pre20241108-r1)
( 6/355) Installing libpcap1 (1.10.5-r1)
( 7/355) Installing arp-scan (1.10.0-r2)
( 8/355) Installing arp-scan-database (1.10.0-r2)
( 9/355) Installing libattr (2.5.2-r3)
( 10/355) Installing libffi (3.4.6-r1)
( 11/355) Installing libpcre2 (10.42-r1)
( 12/355) Installing libpthread (1.2.5-r4)
( 13/355) Installing glib2 (2.82.0-r1)
( 14/355) Installing terminfo (6.4-r2)
( 15/355) Installing libncurses6 (6.4-r2)
( 16/355) Installing atop (2.11.0-r1)
( 17/355) Installing busybox (1.36.1-r2)
( 18/355) Installing ubi-utils (2.2.1-r1)
( 19/355) Installing libubox20240329 (2024.03.29~eb9bcb64-r1)
( 20/355) Installing libubus20241020 (2024.10.20~252a9b0c-r1)
( 21/355) Installing libuci20130104 (2023.08.10~5781664d-r1)
( 22/355) Installing libjson-c5 (0.18-r1)
( 23/355) Installing libblobmsg-json20240329 (2024.03.29~eb9bcb64-r1)
( 24/355) Installing ubusd (2024.10.20~252a9b0c-r1)
( 25/355) Installing ubus (2024.10.20~252a9b0c-r1)
( 26/355) Installing ubox (2024.04.26~85f10530-r1)
( 27/355) Installing fstools (2024.07.14~408c2cc4-r1)
( 28/355) Installing fwtool (2019.11.12~8f7fe925-r1)
( 29/355) Installing jsonfilter (2024.01.23~594cfa86-r1)
( 30/355) Installing jshn (2024.03.29~eb9bcb64-r1)
( 31/355) Installing libnl-tiny1 (2023.12.05~965c4bf4-r1)
( 32/355) Installing libudebug (2023.12.06~6d3f51f9)
( 33/355) Installing libucode20230711 (2024.07.22~b610860d-r3)
( 34/355) Installing ucode (2024.07.22~b610860d-r3)
( 35/355) Installing ucode-mod-fs (2024.07.22~b610860d-r3)
( 36/355) Installing netifd (2024.11.08~34eb11eb-r1)
( 37/355) Installing openwrt-keyring (2024.11.01~fbae29d7-r2)
( 38/355) Installing libjson-script20240329 (2024.03.29~eb9bcb64-r1)
( 39/355) Installing procd (2024.11.06~109fa41b-r1)
( 40/355) Installing procd-seccomp (2024.11.06~109fa41b-r1)
( 41/355) Installing usign (2020.05.23~f1f65026-r1)
( 42/355) Installing base-files (1633~b902284290)
( 43/355) Installing libreadline8 (8.2-r2)
( 44/355) Installing bash (5.2.32-r1)
( 45/355) Installing librt (1.2.5-r4)
( 46/355) Installing batctl-full (2024.3-r1)
( 47/355) Installing bcp38 (5-r11)
( 48/355) Installing block-mount (2024.07.14~408c2cc4-r1)
( 49/355) Installing bridge (1.7.1-r1)
( 50/355) Installing ca-bundle (20240203-r1)
( 51/355) Installing ca-certificates (20240203-r1)
( 52/355) Installing libcap (2.69-r1)
( 53/355) Installing libatomic1 (13.3.0-r4)
( 54/355) Installing libgmp10 (6.3.0-r1)
( 55/355) Installing libnettle8 (3.9.1-r1)
( 56/355) Installing libgnutls (3.8.5-r1)
( 57/355) Installing chrony-nts (4.6.1-r1)
( 58/355) Installing libmbedtls21 (3.6.2-r1)
( 59/355) Installing libnghttp2-14 (1.63.0-r1)
( 60/355) Installing libcurl4 (8.10.1-r1)
( 61/355) Installing curl (8.10.1-r1)
( 62/355) Installing diffutils (3.10-r1)
( 63/355) Installing dosfstools (4.2-r4)
( 64/355) Installing dropbear (2024.85-r1)
( 65/355) Installing dropbearconvert (2024.85-r1)
( 66/355) Installing libuuid1 (2.40.2-r1)
( 67/355) Installing libe2p2 (1.47.0-r2)
( 68/355) Installing libblkid1 (2.40.2-r1)
( 69/355) Installing libcomerr0 (1.47.0-r2)
( 70/355) Installing libss2 (1.47.0-r2)
( 71/355) Installing libext2fs2 (1.47.0-r2)
( 72/355) Installing e2fsprogs (1.47.0-r2)
( 73/355) Installing ethtool (6.10-r1)
( 74/355) Installing libf2fs6 (1.16.0-r3)
( 75/355) Installing f2fsck (1.16.0-r3)
( 76/355) Installing mkf2fs (1.16.0-r3)
( 77/355) Installing f2fs-tools (1.16.0-r3)
( 78/355) Installing libfdisk1 (2.40.2-r1)
( 79/355) Installing libsmartcols1 (2.40.2-r1)
( 80/355) Installing fdisk (2.40.2-r1)
( 81/355) Installing libbz2-1.0 (1.0.8-r1)
( 82/355) Installing liblzma (5.6.2-r2)
( 83/355) Installing libmagic (5.45-r1)
( 84/355) Installing file (5.45-r1)
( 85/355) Installing kernel (6.6.60~0561031e21f60f05c8f540bffb723036-r1)
( 86/355) Installing kmod-crypto-hash (6.6.60-r1)
( 87/355) Installing kmod-crypto-crc32c (6.6.60-r1)
( 88/355) Installing kmod-lib-crc32c (6.6.60-r1)
( 89/355) Installing kmod-nf-conntrack (6.6.60-r1)
( 90/355) Installing kmod-nf-conntrack6 (6.6.60-r1)
( 91/355) Installing kmod-nf-log (6.6.60-r1)
( 92/355) Installing kmod-nf-log6 (6.6.60-r1)
( 93/355) Installing kmod-nf-nat (6.6.60-r1)
( 94/355) Installing kmod-nf-reject (6.6.60-r1)
( 95/355) Installing kmod-nf-reject6 (6.6.60-r1)
( 96/355) Installing kmod-nfnetlink (6.6.60-r1)
( 97/355) Installing kmod-nft-core (6.6.60-r1)
( 98/355) Installing kmod-nft-fib (6.6.60-r1)
( 99/355) Installing kmod-nft-nat (6.6.60-r1)
(100/355) Installing kmod-nf-flow (6.6.60-r1)
(101/355) Installing kmod-nft-offload (6.6.60-r1)
(102/355) Installing jansson4 (2.14-r3)
(103/355) Installing libmnl0 (1.0.5-r1)
(104/355) Installing libnftnl11 (1.2.8-r1)
(105/355) Installing nftables-json (1.1.1-r1)
(106/355) Installing ucode-mod-ubus (2024.07.22~b610860d-r3)
(107/355) Installing ucode-mod-uci (2024.07.22~b610860d-r3)
(108/355) Installing firewall4 (2024.05.21~4c01d1eb-r1)
(109/355) Installing fitblk (2)
(110/355) Installing coreutils (9.3-r1)
(111/355) Installing coreutils-date (9.3-r1)
(112/355) Installing coreutils-sleep (9.3-r1)
(113/355) Installing flent-tools (2.1.1-r1)
(114/355) Installing fping (5.2-r1)
(115/355) Installing libstdcpp6 (13.3.0-r4)
(116/355) Installing gdisk (1.0.10-r1)
(117/355) Installing htop (3.3.0-r2)
(118/355) Installing libcares (1.33.1-r1)
(119/355) Installing libev (4.33-r2)
(120/355) Installing resolveip (2)
(121/355) Installing https-dns-proxy (2023.12.26-r1)
(122/355) Installing libelf1 (0.191-r1)
(123/355) Installing libbpf1 (1.4.6-r1)
(124/355) Installing ip-full (6.11.0-r1)
(125/355) Installing kmod-nf-ipt (6.6.60-r1)
(126/355) Installing kmod-ipt-core (6.6.60-r1)
(127/355) Installing kmod-nf-ipt6 (6.6.60-r1)
(128/355) Installing kmod-ip6tables (6.6.60-r1)
(129/355) Installing kmod-nft-compat (6.6.60-r1)
(130/355) Installing libxtables12 (1.8.10-r1)
(131/355) Installing libiptext-nft0 (1.8.10-r1)
(132/355) Installing libiptext0 (1.8.10-r1)
(133/355) Installing libiptext6-0 (1.8.10-r1)
(134/355) Installing xtables-nft (1.8.10-r1)
(135/355) Installing ip6tables-nft (1.8.10-r1)
(136/355) Installing iperf (2.1.9-r1)
(137/355) Installing iperf3-ssl (3.17.1-r3)
(138/355) Installing iptables-nft (1.8.10-r1)
(139/355) Installing kmod-crypto-md5 (6.6.60-r1)
(140/355) Installing iputils-ping (20240905-r1)
(141/355) Installing irqbalance (1.9.4-r1)
(142/355) Installing irtt (0.9.1-r1)
(143/355) Installing iw-full (6.9-r1)
(144/355) Installing libiwinfo-data (2024.10.20~b94f066e-r1)
(145/355) Installing libiwinfo20230701 (2024.10.20~b94f066e-r1)
(146/355) Installing iwinfo (2024.10.20~b94f066e-r1)
(147/355) Installing kmod-crypto-null (6.6.60-r1)
(148/355) Installing kmod-crypto-aead (6.6.60-r1)
(149/355) Installing kmod-crypto-manager (6.6.60-r1)
(150/355) Installing kmod-crypto-chacha20poly1305 (6.6.60-r1)
(151/355) Installing eip197-mini-firmware (20241017-r1)
(152/355) Installing kmod-crypto-authenc (6.6.60-r1)
(153/355) Installing kmod-crypto-des (6.6.60-r1)
(154/355) Installing kmod-crypto-hmac (6.6.60-r1)
(155/355) Installing kmod-crypto-sha1 (6.6.60-r1)
(156/355) Installing kmod-crypto-sha256 (6.6.60-r1)
(157/355) Installing kmod-crypto-sha512 (6.6.60-r1)
(158/355) Installing kmod-crypto-hw-safexcel (6.6.60-r1)
(159/355) Installing kmod-lib-crc16 (6.6.60-r1)
(160/355) Installing kmod-fs-ext4 (6.6.60-r1)
(161/355) Installing kmod-nls-base (6.6.60-r1)
(162/355) Installing kmod-nls-cp437 (6.6.60-r1)
(163/355) Installing kmod-nls-iso8859-1 (6.6.60-r1)
(164/355) Installing kmod-nls-utf8 (6.6.60-r1)
(165/355) Installing kmod-fs-vfat (6.6.60-r1)
(166/355) Installing kmod-gpio-button-hotplug (6.6.60-r5)
(167/355) Installing kmod-inet-diag (6.6.60-r1)
(168/355) Installing kmod-inet-mptcp-diag (6.6.60-r1)
(169/355) Installing kmod-ipvlan (6.6.60-r1)
(170/355) Installing kmod-leds-gpio (6.6.60-r1)
(171/355) Installing kmod-macvlan (6.6.60-r1)
(172/355) Installing kmod-crypto-sha3 (6.6.60-r1)
(173/355) Installing kmod-crypto-rng (6.6.60-r1)
(174/355) Installing kmod-crypto-user (6.6.60-r1)
(175/355) Installing kmod-crypto-arc4 (6.6.60-r1)
(176/355) Installing kmod-crypto-ecb (6.6.60-r1)
(177/355) Installing kmod-lib-crc-ccitt (6.6.60-r1)
(178/355) Installing kmod-slhc (6.6.60-r1)
(179/355) Installing kmod-ppp (6.6.60-r1)
(180/355) Installing kmod-mppe (6.6.60-r1)
(181/355) Installing kmod-hwmon-core (6.6.60-r1)
(182/355) Installing hostapd-common (2024.09.15~5ace39b0-r1)
(183/355) Installing ucode-mod-nl80211 (2024.07.22~b610860d-r3)
(184/355) Installing ucode-mod-rtnl (2024.07.22~b610860d-r3)
(185/355) Installing wifi-scripts (1.0-r1)
(186/355) Installing wireless-regdb (2024.10.07-r1)
(187/355) Installing kmod-cfg80211 (6.6.60.6.11.2-r1)
(188/355) Installing kmod-crypto-geniv (6.6.60-r1)
(189/355) Installing kmod-crypto-seqiv (6.6.60-r1)
(190/355) Installing kmod-crypto-ctr (6.6.60-r1)
(191/355) Installing kmod-crypto-ccm (6.6.60-r1)
(192/355) Installing kmod-crypto-cmac (6.6.60-r1)
(193/355) Installing kmod-crypto-gf128 (6.6.60-r1)
(194/355) Installing kmod-crypto-ghash (6.6.60-r1)
(195/355) Installing kmod-crypto-gcm (6.6.60-r1)
(196/355) Installing kmod-mac80211 (6.6.60.6.11.2-r1)
(197/355) Installing kmod-mt76-core (6.6.60.2024.10.11.1~ecca0e77-r1)
(198/355) Installing kmod-mt76-connac (6.6.60.2024.10.11.1~ecca0e77-r1)
(199/355) Installing kmod-thermal (6.6.60-r1)
(200/355) Installing kmod-mt7915e (6.6.60.2024.10.11.1~ecca0e77-r1)
(201/355) Installing kmod-mt7986-firmware (6.6.60.2024.10.11.1~ecca0e77-r1)
(202/355) Installing kmod-mtd-rw (6.6.60.2021.02.28~e8776739-r1)
(203/355) Installing kmod-libphy (6.6.60-r1)
(204/355) Installing kmod-phy-aquantia (6.6.60-r1)
(205/355) Installing kmod-tcp-bbr (6.6.60-r1)
(206/355) Installing kmod-scsi-core (6.6.60-r1)
(207/355) Installing kmod-usb-core (6.6.60-r1)
(208/355) Installing kmod-usb-storage (6.6.60-r1)
(209/355) Installing kmod-usb-xhci-hcd (6.6.60-r1)
(210/355) Installing kmod-usb-xhci-mtk (6.6.60-r1)
(211/355) Installing kmod-usb3 (6.6.60-r1)
(212/355) Installing kmod-veth (6.6.60-r1)
(213/355) Installing kmod-vrf (6.6.60-r1)
(214/355) Installing libevdev (1.13.1-r1)
(215/355) Installing libudev-zero (1.0.3-r1)
(216/355) Installing libustream-openssl20201210 (2024.07.28~99bd3d2b-r1)
(217/355) Installing logd (2024.04.26~85f10530-r1)
(218/355) Installing cgi-io (2022.08.10~901b0f04-r21)
(219/355) Installing liblucihttp0 (2023.03.15~9b5b683f-r1)
(220/355) Installing liblucihttp-ucode (2023.03.15~9b5b683f-r1)
(221/355) Installing rpcd (2024.09.17~9f4b86e7-r1)
(222/355) Installing rpcd-mod-file (2024.09.17~9f4b86e7-r1)
(223/355) Installing rpcd-mod-luci (20240305-r1)
(224/355) Installing rpcd-mod-ucode (2024.09.17~9f4b86e7-r1)
(225/355) Installing ucode-mod-html (1)
(226/355) Installing ucode-mod-math (2024.07.22~b610860d-r3)
(227/355) Installing luci-base (24.315.52043~d650688)
(228/355) Installing luci-app-bcp38 (24.315.52043~d650688)
(229/355) Installing ddns-scripts-services (2.8.2-r52)
(230/355) Installing ddns-scripts (2.8.2-r52)
(231/355) Installing liblua5.1.5 (5.1.5-r11)
(232/355) Installing liblucihttp-lua (2023.03.15~9b5b683f-r1)
(233/355) Installing libubus-lua (2024.10.20~252a9b0c-r1)
(234/355) Installing lua (5.1.5-r11)
(235/355) Installing luci-lib-ip (24.315.52043~d650688)
(236/355) Installing luci-lib-jsonc (24.315.52043~d650688)
(237/355) Installing luci-lib-nixio (24.315.52043~d650688)
(238/355) Installing luci-lib-base (24.315.52043~d650688)
(239/355) Installing ucode-mod-lua (1)
(240/355) Installing luci-lua-runtime (24.315.52043~d650688)
(241/355) Installing luci-app-ddns (24.315.52043~d650688)
(242/355) Installing luci-app-https-dns-proxy (2023.12.26-r1)
(243/355) Installing luci-app-irqbalance (24.315.52043~d650688)
(244/355) Installing luci-compat (24.315.52043~d650688)
(245/355) Installing luci-app-openvpn (24.315.52043~d650688)
(246/355) Installing luci-app-package-manager (24.315.52043~d650688)
(247/355) Installing kmod-ipt-ipopt (6.6.60-r1)
(248/355) Installing iptables-mod-ipopt (1.8.10-r1)
(249/355) Installing kmod-ifb (6.6.60-r1)
(250/355) Installing kmod-sched-core (6.6.60-r1)
(251/355) Installing kmod-sched-cake (6.6.60-r1)
(252/355) Installing tc-bpf (6.11.0-r1)
(253/355) Installing sqm-scripts (1.6.0-r1)
(254/355) Installing luci-app-sqm (24.315.52043~d650688)
(255/355) Installing rpcd-mod-rpcsys (2024.09.17~9f4b86e7-r1)
(256/355) Installing travelmate (2.1.3-r2)
(257/355) Installing luci-app-travelmate (24.315.52043~d650688)
(258/355) Installing libuv1 (1.48.0-r1)
(259/355) Installing libwebsockets-full (4.3.3-r1)
(260/355) Installing ttyd (1.7.3-r1)
(261/355) Installing luci-app-ttyd (24.315.52043~d650688)
(262/355) Installing uhttpd (2023.06.25~34a8a74d-r4)
(263/355) Installing luci-app-uhttpd (24.315.52043~d650688)
(264/355) Installing etherwake (1.09-r5)
(265/355) Installing luci-app-wol (24.315.52043~d650688)
(266/355) Installing kmod-batman-adv (6.6.60.2024.3-r2)
(267/355) Installing luci-proto-batman-adv (24.315.52043~d650688)
(268/355) Installing luci-lib-uqr (24.315.52043~d650688)
(269/355) Installing kmod-crypto-lib-chacha20 (6.6.60-r1)
(270/355) Installing kmod-crypto-lib-poly1305 (6.6.60-r1)
(271/355) Installing kmod-crypto-lib-chacha20poly1305 (6.6.60-r1)
(272/355) Installing kmod-crypto-kpp (6.6.60-r1)
(273/355) Installing kmod-crypto-lib-curve25519 (6.6.60-r1)
(274/355) Installing kmod-udptunnel4 (6.6.60-r1)
(275/355) Installing kmod-udptunnel6 (6.6.60-r1)
(276/355) Installing kmod-wireguard (6.6.60-r1)
(277/355) Installing wireguard-tools (1.0.20210914-r4)
(278/355) Installing luci-proto-wireguard (24.315.52043~d650688)
(279/355) Installing luci-app-firewall (24.315.52043~d650688)
(280/355) Installing rpcd-mod-iwinfo (2024.09.17~9f4b86e7-r1)
(281/355) Installing luci-mod-network (24.315.52043~d650688)
(282/355) Installing luci-mod-status (24.315.52043~d650688)
(283/355) Installing luci-mod-system (24.315.52043~d650688)
(284/355) Installing luci-mod-admin-full (24.315.52043~d650688)
(285/355) Installing luci-proto-ipv6 (24.315.52043~d650688)
(286/355) Installing luci-proto-ppp (24.315.52043~d650688)
(287/355) Installing luci-theme-bootstrap (24.315.52043~d650688)
(288/355) Installing rpcd-mod-rrdns (20170710)
(289/355) Installing uhttpd-mod-ubus (2023.06.25~34a8a74d-r4)
(290/355) Installing luci-light (24.315.52043~d650688)
(291/355) Installing libopenssl-conf (3.0.15-r1)
(292/355) Installing openssl-util (3.0.15-r1)
(293/355) Installing luci-ssl-openssl (24.315.52043~d650688)
(294/355) Installing ell (0.69-r1)
(295/355) Installing mptcpd (0.12-r1)
(296/355) Installing mptcpize (0.12-r1)
(297/355) Installing mt7986-wo-firmware (20241017-r1)
(298/355) Installing mtd (26)
(299/355) Installing nano (8.2-r1)
(300/355) Installing netperf (2.7.0-r3)
(301/355) Installing liblua5.4-5.4 (5.4.6-r1)
(302/355) Installing libssh2-1 (1.11.0-r1)
(303/355) Installing nmap-full (7.95-r1)
(304/355) Installing odhcp6c (2023.05.12~bcd28363-r20)
(305/355) Installing odhcpd (2024.05.08~a2988231-r1)
(306/355) Installing openssh-sftp-server (9.9_p1-r1)
(307/355) Installing kmod-tun (6.6.60-r1)
(308/355) Installing libcap-ng (0.8.4-r1)
(309/355) Installing liblz4-1 (1.10.0-r1)
(310/355) Installing liblzo2 (2.10-r4)
(311/355) Installing openvpn-openssl (2.6.12-r1)
(312/355) Installing libparted (3.6-r1)
(313/355) Installing parted (3.6-r1)
(314/355) Installing pciids (0.387-r1)
(315/355) Installing libkmod (32-r1)
(316/355) Installing libpci (3.12.0-r2)
(317/355) Installing pciutils (3.12.0-r2)
(318/355) Installing ppp (2.5.1-r1)
(319/355) Installing kmod-pppox (6.6.60-r1)
(320/355) Installing kmod-pppoe (6.6.60-r1)
(321/355) Installing ppp-mod-pppoe (2.5.1-r1)
(322/355) Installing pppdump (2.5.1-r1)
(323/355) Installing pppoe-discovery (2.5.1-r1)
(324/355) Installing procd-ujail (2024.11.06~109fa41b-r1)
(325/355) Installing kmod-sched-bpf (6.6.60-r1)
(326/355) Installing qosify (2024.09.20~1501e093-r1)
(327/355) Installing resize2fs (1.47.0-r2)
(328/355) Installing speedtest-go (1.7.7-r1)
(329/355) Installing speedtest-netperf (1.1.0-r1)
(330/355) Installing tailscale (1.76.6-r1)
(331/355) Installing bzip2 (1.0.8-r1)
(332/355) Installing libacl (2.3.2-r2)
(333/355) Installing xz-utils (5.6.2-r2)
(334/355) Installing xz (5.6.2-r2)
(335/355) Installing tar (1.35-r1)
(336/355) Installing tcpdump (4.99.5-r1)
(337/355) Installing tune2fs (1.47.0-r2)
(338/355) Installing uboot-envtools (2024.07-r1)
(339/355) Installing uci (2023.08.10~5781664d-r1)
(340/355) Installing libuclient20201210 (2024.10.22~88ae8f20-r1)
(341/355) Installing uclient-fetch (2024.10.22~88ae8f20-r1)
(342/355) Installing getrandom (2024.04.26~85f10530-r1)
(343/355) Installing urandom-seed (3)
(344/355) Installing urngd (2023.11.01~44365eb1-r1)
(345/355) Installing usbids (0.387-r1)
(346/355) Installing libusb-1.0-0 (1.0.27-r1)
(347/355) Installing usbutils (017-r1)
(348/355) Installing vsftpd-tls (3.0.5-r2)
(349/355) Installing wget-ssl (1.24.5-r1)
(350/355) Installing libopenssl-legacy (3.0.15-r1)
(351/355) Installing ucode-mod-uloop (2024.07.22~b610860d-r3)
(352/355) Installing wpad-openssl (2024.09.15~5ace39b0-r1)
(353/355) Installing libminiupnpc (2.2.8-r1)
(354/355) Installing libnatpmp1 (20230423-r1)
(355/355) Installing zerotier (1.14.1-r1)
OK: 149 MiB in 355 packages
Finalizing root filesystem...
Please install the arp-scan-database package in order to let arp-scan
display additional information about vendor/manufacturer for each
discovered device.
add alternative: /usr/sbin/batctl -> /usr/libexec/batctl-full
add alternative: /usr/sbin/brctl -> /usr/libexec/brctl-bridge-utils
add alternative: /bin/date -> /usr/libexec/date-coreutils
add alternative: /bin/sleep -> /usr/libexec/sleep-coreutils
add alternative: /usr/bin/cmp -> /usr/libexec/cmp-gnu
add alternative: /usr/bin/diff -> /usr/libexec/diff-gnu
add alternative: /usr/bin/ssh-keygen -> /usr/sbin/dropbear
add alternative: /usr/bin/scp -> /usr/sbin/dropbear
add alternative: /usr/bin/ssh -> /usr/sbin/dropbear
add alternative: /sbin/ip -> /usr/libexec/ip-full
add alternative: /usr/sbin/ip6tables -> /usr/sbin/xtables-nft-multi
add alternative: /usr/sbin/ip6tables-restore -> /usr/sbin/xtables-nft-multi
add alternative: /usr/sbin/ip6tables-save -> /usr/sbin/xtables-nft-multi
add alternative: /usr/sbin/iptables -> /usr/sbin/xtables-nft-multi
add alternative: /usr/sbin/iptables-restore -> /usr/sbin/xtables-nft-multi
add alternative: /usr/sbin/iptables-save -> /usr/sbin/xtables-nft-multi
add alternative: /sbin/logread -> /usr/libexec/logread-ubox
add alternative: /bin/tar -> /usr/libexec/tar-gnu
add alternative: /sbin/tc -> /usr/libexec/tc-bpf
add alternative: /sbin/rmmod -> /sbin/kmodloader
add alternative: /sbin/insmod -> /sbin/kmodloader
add alternative: /sbin/lsmod -> /sbin/kmodloader
add alternative: /sbin/modinfo -> /sbin/kmodloader
add alternative: /sbin/modprobe -> /sbin/kmodloader
add alternative: /usr/bin/wget -> /usr/libexec/wget-ssl
add alternative: /usr/bin/xz -> /usr/libexec/xz-lzmautils
add alternative: /usr/bin/lzcat -> /usr/libexec/xz-lzmautils
add alternative: /usr/bin/lzma -> /usr/libexec/xz-lzmautils
add alternative: /usr/bin/unlzma -> /usr/libexec/xz-lzmautils
add alternative: /usr/bin/unxz -> /usr/libexec/xz-lzmautils
add alternative: /usr/bin/xzcat -> /usr/libexec/xz-lzmautils
Enabling bcp38
Enabling boot
Enabling bootcount
Enabling chronyd
Enabling cron
Enabling ddns
Enabling done
Enabling dropbear
Enabling etherwake
Enabling firewall
Enabling fstab
Enabling gpio_switch
Enabling https-dns-proxy
Enabling irqbalance
Enabling led
Enabling log
Enabling mptcpd
Enabling netserver
Enabling network
Enabling odhcpd
Enabling openssl
Enabling openvpn
Enabling packet_steering
Enabling qosify
Enabling radius
Enabling rpcd
Enabling sqm
Enabling sysctl
Enabling sysfixtime
Enabling sysntpd
Enabling system
Enabling tailscale
Enabling travelmate
Enabling ttyd
Enabling ucitrack
Enabling uhttpd
Enabling umount
Enabling urandom_seed
Enabling urngd
Enabling vsftpd
Enabling wpad
Enabling zerotier
Building images...
Parallel mksquashfs: Using 16 processors
Creating 4.0 filesystem on /home/kshv/Downloads/openwrt-imagebuilder-mediatek-filogic.Linux-x86_64_1/build_dir/target-aarch64_cortex-a53_musl/linux-mediatek_filogic/root.squashfs, block size 262144.
Pseudo file "dev" exists in source filesystem "/home/kshv/Downloads/openwrt-imagebuilder-mediatek-filogic.Linux-x86_64_1/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/dev".
Ignoring, exclude it (-e/-ef) to override.
[===========================================================================================================================\] 3138/3138 100%
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
compressed data, compressed metadata, compressed fragments,
no xattrs, compressed ids
duplicates are removed
Filesystem size 37922.73 Kbytes (37.03 Mbytes)
25.84% of uncompressed filesystem size (146741.64 Kbytes)
Inode table size 27090 bytes (26.46 Kbytes)
22.78% of uncompressed inode table size (118902 bytes)
Directory table size 36772 bytes (35.91 Kbytes)
46.48% of uncompressed directory table size (79112 bytes)
Number of duplicate files found 11
Number of inodes 3450
Number of files 2730
Number of fragments 164
Number of symbolic links 531
Number of device nodes 1
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 188
Number of hard-links 0
Number of ids (unique uids + gids) 1
Number of uids 1
unknown (0)
Number of gids 1
unknown (0)
37922+1 records in
37923+0 records out
38833152 bytes (39 MB, 37 MiB) copied, 0.0586069 s, 663 MB/s
/home/kshv/Downloads/openwrt-imagebuilder-mediatek-filogic.Linux-x86_64_1/staging_dir/host/bin/tar: Option --mtime: Treating date '@1731480827' as 2024-11-13 00:53:47
sysupgrade-glinet_gl-mt6000/
sysupgrade-glinet_gl-mt6000/CONTROL
sysupgrade-glinet_gl-mt6000/kernel
sysupgrade-glinet_gl-mt6000/root
8626+1 records in
8626+1 records out
4416884 bytes (4.4 MB, 4.2 MiB) copied, 0.0125424 s, 352 MB/s
0+1 records in
1+0 records out
33554432 bytes (34 MB, 32 MiB) copied, 0.0223151 s, 1.5 GB/s
75845+1 records in
75845+1 records out
38832880 bytes (39 MB, 37 MiB) copied, 0.0962268 s, 404 MB/s
Calculating checksums...
make image PROFILE="glinet_gl-mt6000" 66.02s user 8.96s system 27% cpu 4:28.52 total
Sysupgrade on GL-MT6000 (Target: mediatek/filogic)
# sysupgrade -u -k -v openwrt-mediatek-filogic-glinet_gl-mt6000-squashfs-sysupgrade.bin
verifying sysupgrade tar file integrity
Wed Nov 13 12:03:50 CST 2024 upgrade: Saving config files...
find: /usr/lib/opkg/info: No such file or directory
etc/config/attendedsysupgrade
etc/config/bcp38
etc/config/ddns
etc/config/dhcp
etc/config/dnsproxy
etc/config/dropbear
etc/config/firewall
etc/config/fstab
etc/config/https-dns-proxy
etc/config/irqbalance
etc/config/luci
etc/config/network
etc/config/nextdns
etc/config/qosify
etc/config/sqm
etc/config/stubby
etc/config/system
etc/config/ttyd
etc/config/ubootenv
etc/config/ucitrack
etc/config/uhttpd
etc/config/unbound
etc/config/vnstat
etc/config/wireless
etc/config/zerotier
etc/crontabs/root
etc/dropbear/authorized_keys
etc/dropbear/dropbear_ed25519_host_key
etc/dropbear/dropbear_rsa_host_key
etc/fw_env.config
etc/group
etc/passwd
etc/rc.local
etc/shadow
etc/shells
etc/sysctl.conf
etc/sysupgrade.conf
etc/tailscale/derpmap.cached.json
etc/tailscale/tailscaled.state
etc/uhttpd.crt
etc/uhttpd.key
etc/vsftpd.conf
Wed Nov 13 12:03:51 CST 2024 upgrade: Commencing upgrade. Closing all shell sessions.
Command failed: Connection failed
I'm suspicious that the -k
option is causing this, what happens if you leave that out? Just digging through /lib/functions.sh
reveals some references to the opkg/info
directory that look like that may be the cause.
Based on sysupgrade help, I think "-u" parameter (skip from backup files that are equal to those in /rom) rather than "-k" parameter (include in backup a list of current installed packages at /etc/backup/installed_packages.txt), is the culprit.
EDIT:
@efahl
You're right.
"sysupgrade -k -v" fails but "sysupgrade -u -v" works.
It's the "-k" parameter that's the culprit.
# sysupgrade --help
Usage: /sbin/sysupgrade [<upgrade-option>...] <image file or URL>
/sbin/sysupgrade [-q] [-i] [-c] [-u] [-o] [-k] <backup-command> <file>
upgrade-option:
-f <config> restore configuration from .tar.gz (file or url)
-i interactive mode
-c attempt to preserve all changed files in /etc/
-o attempt to preserve all changed files in /, except those
from packages but including changed confs.
-u skip from backup files that are equal to those in /rom
-n do not save configuration over reflash
-p do not attempt to restore the partition table after flash.
-k include in backup a list of current installed packages at
/etc/backup/installed_packages.txt
-T | --test
Verify image and config .tar.gz but do not actually flash.
-F | --force
Flash image even if image checks fail, this is dangerous!
--ignore-minor-compat-version
Flash image even if the minor compat version is incompatible.
-q less verbose
-v more verbose
-h | --help display this help
backup-command:
-b | --create-backup <file>
create .tar.gz of files specified in sysupgrade.conf
then exit. Does not flash an image. If file is '-',
i.e. stdout, verbosity is set to 0 (i.e. quiet).
-r | --restore-backup <file>
restore a .tar.gz created with sysupgrade -b
then exit. Does not flash an image. If file is '-',
the archive is read from stdin.
-l | --list-backup
list the files that would be backed up when calling
sysupgrade -b. Does not create a backup file.
Sounds like a bug should be filed against sysupgrade
...
So this should be adapted...
That at least. There are some references to the info dir in /lib/functions.sh
, too, that try to access the non-existent .control files... Should probably all be rewritten using apk adbdump
, once the final database layout is determined (currently it's the ascii /lib/apk/db/installed
, but probably will end up being binary packages.db
).
Hi, so I built the apk-openssl package and no matter what I do I always get
apk list
ERROR: Unable to read database: No such file or directory
ERROR: Failed to open apk database: No such file or directory
/lib/apk/db is empty ... shouldn't apk created a default db file ? what I am doing wrong
Hi folks! Sorry if this is not the best place to ask, I am new to the forum. I just updated my Banana Pi BPI R4 to the latest snapshot (built it myself using image builder), and I am unable to install any package using apk add due to the following errors:
root@OpenWrt-bpi-r4:/# apk add golang
ERROR: unable to select packages:
libgcc1-13.3.0-r4:
error: uninstallable
arch: aarch64_cortex-a53
satisfies: world[libgcc] libc-1.2.5-r4[libgcc] libpthread-1.2.5-r4[libgcc1]
libc-1.2.5-r4:
error: uninstallable
arch: aarch64_cortex-a53
satisfies: world[libc] apk-mbedtls-3.0.0_pre20241113-r1[libc]
base-files-1633~b902284290[libc] busybox-1.36.1-r2[libc]
ca-bundle-20240203-r1[libc] cgi-io-2022.08.10~901b0f04-r21[libc]
dnsmasq-2.90-r3[libc] dropbear-2024.85-r1[libc]
e2fsprogs-1.47.0-r2[libc] eip197-mini-firmware-20241017-r1[libc]
f2fsck-1.16.0-r3[libc] firewall4-2024.05.21~4c01d1eb-r1[libc]
fitblk-2[libc] fstools-2024.07.14~408c2cc4-r1[libc]
fwtool-2019.11.12~8f7fe925-r1[libc]
getrandom-2024.04.26~85f10530-r1[libc] golang-1.23.2-r1[libc]
golang-src-1.23.2-r1[libc]
hostapd-common-2024.09.15~5ace39b0-r1[libc] iw-6.9-r1[libc]
iwinfo-2024.10.20~b94f066e-r1[libc] jansson4-2.14-r3[libc]
jshn-2024.03.29~eb9bcb64-r1[libc]
jsonfilter-2024.01.23~594cfa86-r1[libc]
kernel-6.6.60~0561031e21f60f05c8f540bffb723036-r1[libc]
libblkid1-2.40.2-r1[libc]
libblobmsg-json20240329-2024.03.29~eb9bcb64-r1[libc]
libcomerr0-1.47.0-r2[libc] libe2p2-1.47.0-r2[libc]
libext2fs2-1.47.0-r2[libc] libf2fs6-1.16.0-r3[libc]
libiwinfo-data-2024.10.20~b94f066e-r1[libc]
libiwinfo20230701-2024.10.20~b94f066e-r1[libc]
libjson-c5-0.18-r1[libc]
libjson-script20240329-2024.03.29~eb9bcb64-r1[libc]
liblucihttp-ucode-2023.03.15~9b5b683f-r1[libc]
liblucihttp0-2023.03.15~9b5b683f-r1[libc]
libmbedtls21-3.6.2-r1[libc] libmnl0-1.0.5-r1[libc]
libnftnl11-1.2.8-r1[libc]
libnl-tiny1-2023.12.05~965c4bf4-r1[libc] libss2-1.47.0-r2[libc]
libubox20240329-2024.03.29~eb9bcb64-r1[libc]
libubus20241020-2024.10.20~252a9b0c-r1[libc]
libuci20130104-2023.08.10~5781664d-r1[libc]
libuclient20201210-2024.10.22~88ae8f20-r1[libc]
libucode20230711-2024.07.22~b610860d-r3[libc]
libudebug-2023.12.06~6d3f51f9[libc]
libustream-mbedtls20201210-2024.07.28~99bd3d2b-r1[libc]
libuuid1-2.40.2-r1[libc] logd-2024.04.26~85f10530-r1[libc]
luci-24.315.52043~d650688[libc]
luci-app-firewall-24.315.52043~d650688[libc]
luci-app-package-manager-24.315.52043~d650688[libc]
luci-base-24.315.52043~d650688[libc]
luci-light-24.315.52043~d650688[libc]
luci-mod-admin-full-24.315.52043~d650688[libc]
luci-mod-network-24.315.52043~d650688[libc]
luci-mod-status-24.315.52043~d650688[libc]
luci-mod-system-24.315.52043~d650688[libc]
luci-proto-ipv6-24.315.52043~d650688[libc]
luci-proto-ppp-24.315.52043~d650688[libc]
luci-theme-bootstrap-24.315.52043~d650688[libc]
mkf2fs-1.16.0-r3[libc] mt7988-wo-firmware-20241017-r1[libc]
mtd-26[libc] netifd-2024.11.08~34eb11eb-r1[libc]
nftables-json-1.1.1-r1[libc]
odhcp6c-2023.05.12~bcd28363-r20[libc]
odhcpd-ipv6only-2024.05.08~a2988231-r1[libc]
openwrt-keyring-2024.11.01~fbae29d7-r2[libc] ppp-2.5.1-r1[libc]
ppp-mod-pppoe-2.5.1-r1[libc] procd-2024.11.06~109fa41b-r1[libc]
procd-seccomp-2024.11.06~109fa41b-r1[libc]
procd-ujail-2024.11.06~109fa41b-r1[libc]
rpcd-2024.09.17~9f4b86e7-r1[libc]
rpcd-mod-file-2024.09.17~9f4b86e7-r1[libc]
rpcd-mod-iwinfo-2024.09.17~9f4b86e7-r1[libc]
rpcd-mod-luci-20240305-r1[libc] rpcd-mod-rrdns-20170710[libc]
rpcd-mod-ucode-2024.09.17~9f4b86e7-r1[libc]
ubi-utils-2.2.1-r1[libc] uboot-envtools-2024.07-r1[libc]
ubox-2024.04.26~85f10530-r1[libc]
ubus-2024.10.20~252a9b0c-r1[libc]
ubusd-2024.10.20~252a9b0c-r1[libc]
uci-2023.08.10~5781664d-r1[libc]
uclient-fetch-2024.10.22~88ae8f20-r1[libc]
ucode-2024.07.22~b610860d-r3[libc]
ucode-mod-fs-2024.07.22~b610860d-r3[libc] ucode-mod-html-1[libc]
ucode-mod-math-2024.07.22~b610860d-r3[libc]
ucode-mod-nl80211-2024.07.22~b610860d-r3[libc]
ucode-mod-rtnl-2024.07.22~b610860d-r3[libc]
ucode-mod-ubus-2024.07.22~b610860d-r3[libc]
ucode-mod-uci-2024.07.22~b610860d-r3[libc]
ucode-mod-uloop-2024.07.22~b610860d-r3[libc]
uhttpd-2023.06.25~34a8a74d-r4[libc]
uhttpd-mod-ubus-2023.06.25~34a8a74d-r4[libc]
urandom-seed-3[libc] urngd-2023.11.01~44365eb1-r1[libc]
usign-2020.05.23~f1f65026-r1[libc] wifi-scripts-1.0-r1[libc]
wireless-regdb-2024.10.07-r1[libc]
wpad-basic-mbedtls-2024.09.15~5ace39b0-r1[libc]
zlib-1.3.1-r1[libc]
libmbedtls21-3.6.2-r1:
error: uninstallable
arch: aarch64_cortex-a53
satisfies: apk-mbedtls-3.0.0_pre20241113-r1[libmbedtls21]
libustream-mbedtls20201210-2024.07.28~99bd3d2b-r1[libmbedtls21]
wpad-basic-mbedtls-2024.09.15~5ace39b0-r1[libmbedtls21]
zlib-1.3.1-r1:
error: uninstallable
arch: aarch64_cortex-a53
satisfies: apk-mbedtls-3.0.0_pre20241113-r1[zlib]
apk-mbedtls-3.0.0_pre20241113-r1:
error: uninstallable
arch: aarch64_cortex-a53
satisfies: world[apk-mbedtls]
busybox-1.36.1-r2:
error: uninstallable
arch: aarch64_cortex-a53
satisfies: base-files-1633~b902284290[busybox]
...
Obviously, every listed package is already installed. What can I do about it?
Actually, I was able to fix it! I checked the /etc/apk/arch
file, and it was set to x86_64
, which is not the architecture of the my BPI R4. I changed the contents to
aarch64_cortex-a53
all
and now it works as expected. The all
line is essential, since without it, some packages, like wireless-regdb
will not be satisfied:
wireless-regdb-2024.10.07-r1:
error: uninstallable
arch: all
satisfies: kmod-cfg80211-6.6.60.6.11.2-r1[wireless-regdb]
Should I report it to OpenWrt team via GitHub issue?
Please report, that should not happen.
That is actually an interesting observation.
I saw yesterday somewhere discussion about architectures, and setting former "all" in Makefile to "none" was mentioned. (EDIT: https://github.com/openwrt/openwrt/issues/16946#issuecomment-2475089849 )
But your solution looks like alternative approach, so that marking also "all" as a supported secondary architecture would actually work.
Here it is: https://github.com/openwrt/openwrt/issues/16953