OpenWrt 23.05.2 - Service Release

The curl request from the router shell is ok so its not a connectivity issue.
I have captured the routed traffic on the PPPoE interface, and it shows that the connection is stuck after the Client Hello ACK of the TLS handshake, the next packet seems to be missing (TCP previous segment not captured) and so I get a TCP Dup ACK.

But where to go from here? I have the same PPPoE packet capture for google.com and there is no issue whatsoever and I don't see where the difference is.

Your guess about the MTU is interesting, I noticed that I cannot ping duckduckgo.com with a packet length > 64 bytes, smaller packets are ok. Google does not have this limitation and also returns longer ping packets, probably a firewall setting on their side.

Important updates e.g. for bugs are provided by the feed, just check under System/Software/Updates in LuCi.

Blindly upgrading core packages is not necessary and not recommended: https://openwrt.org/meta/infobox/upgrade_packages_warning

Since you

I would go back to a clean sysupgrade up to date stable release installation without package upgrades and verify first, that the routing problems still exist with a consistent 23.05.2 install.

1 Like

I tested and tried to debug the original release image for several hours before I read about the netmask bug and only then I updated the netifd package, because I though that it may be related. But it was not reated/did not fix my issue. I am also not sure why not to install the netifd update as it had a serious bug.

Now I indeed reverted to a plain vanilla test installation with a basic working configuration and I can confirm that it is not an image issue. When I restore my previous config the routing issue is back, reverting back to the new config removes the routing issue. But unfortunately still have no idea what caused this. If I find the root cause, I will post it.

Check the MTU on the WAN interface.

Hi Team

I am trying to upgrade from 22.03.5 to 23.05.2 on a generic x86/64 platform using LUCI attended sysupgrade. I have had few errors which I have resolved by posting on this forum and getting support from community.

Initial error was SSL related with wolf vs open ssl which I manged to resolve
Second error was using the en translation files

**Collected errors:**
** * opkg_install_cmd: Cannot install package luci-i18n-adblock-en.**
** * opkg_install_cmd: Cannot install package luci-i18n-attendedsysupgrade-en.**
** * opkg_install_cmd: Cannot install package luci-i18n-pbr-en.**
** * opkg_install_cmd: Cannot install package luci-i18n-upnp-en.**
** * opkg_install_cmd: Cannot install package luci-i18n-wireguard-en.**
**make[2]: *** [Makefile:189: package_install] Error 255**
**make[1]: *** [Makefile:154: _call_manifest] Error 2**
**make: *** [Makefile:274: manifest] Error 2**

I excluded the above from the LUCI application packages selection which allowed me to create an image as per below

image

however the below installing message never goes away (I waited 15minutes)

image

and if I refresh it goes back to the upgrade page

image

I was wondering if I do this from CLI (I am not super technical) will I get some more valid messages. If so, how to I specify from CLI to "Keep settings and retain the current configuration" and exclude the en translation packages from being installed?

I tried executing the below command but did not go through the upgrade process as not sure whether my current settings and config will be retained and what other effect it may have. I can see error messages related to the en translation packages "cannot be found in remote list"

auc - b 23.05.2




The messages about "cannot be found" will result in an img that does not contain the files, which is what you want. I'd suggest you try

$ auc  -y  -b 23.05.2

just let it run and it should be ok.

Thanks @efahl . I tried that and came up with errors as per below. I thik it has skipped the ones it cannot find however error on one

 auc -b 23.05.2
auc/0.3.1-1
Server:    https://sysupgrade.openwrt.org
Running:   22.03.5 r20134-5f15225c1e on x86/64 (generic)
Available: 23.05.2 r23630-842932a63d
Requesting package lists...
 terminfo: 6.3-2 -> 6.4-2
 luci-proto-wireguard: git-23.338.83596-36b357f -> git-23.338.83621-1c2acbe
 libuci-lua: 2021-10-22-f84f49f0-6 -> 2023-08-10-5781664d-1
 luci-app-adblock: git-23.189.73167-ba11ad3 -> git-23.189.72983-3072876
 luci-lib-base: git-20.232.39649-1f6dc29 -> git-22.308.54612-9118452
 netdata: 1.33.1-2 -> 1.33.1-4
 mkf2fs: 1.14.0-3 -> 1.16.0-1
 miniupnpd-nftables: 2.3.3-1 -> 2.3.3-2
 opkg: 2022-02-24-d038e5b6-1 -> 2022-02-24-d038e5b6-2
 luci-app-opkg: git-23.093.42303-e16f620 -> git-23.311.75635-769b30c
 ubus: 2022-06-01-2bebf93c-1 -> 2023-06-05-f787c97b-1
 libuci: 2021-10-22-f84f49f0-6 -> 2023-08-10-5781664d-1
 kmod-ixgbe: 5.10.176-1 -> 5.15.137-1
 rpcd: 2022-12-15-7de4820c-1 -> 2023-07-01-c07ab2f9-1
 busybox: 1.35.0-5 -> 1.36.1-1
 luci-lib-ip: git-23.311.79310-704a335 -> git-23.311.79290-c2a887e
 ip-full: 5.15.0-4 -> 6.3.0-1
 kmod-nft-fib: 5.10.176-1 -> 5.15.137-1
 kmod-nfnetlink: 5.10.176-1 -> 5.15.137-1
 libubus-lua: 2022-06-01-2bebf93c-1 -> 2023-06-05-f787c97b-1
 umdns: 2021-05-13-b777a0b5-5 -> 2023-10-19-d45c443a-5
 kmod-crypto-hash: 5.10.176-1 -> 5.15.137-1
 kmod-nf-reject6: 5.10.176-1 -> 5.15.137-1
 libiwinfo-lua: 2022-12-15-8d158096-1 -> 2023-07-01-ca79f641-1
 luci-mod-system: git-23.118.78821-0c02883 -> git-23.306.39416-7d3abf8
 openssl-util: 1.1.1w-1 -> 3.0.12-1
 kmod-nf-flow: 5.10.176-1 -> 5.15.137-1
 libnl-tiny: 2021-11-21-8e0555fb-1 -> 2023-07-27-bc92a280-1
 kmod-lib-crc-ccitt: 5.10.176-1 -> 5.15.137-1
 resize2fs: 1.46.5-2 -> 1.47.0-2
 getrandom: 2021-08-03-205defb5-2 -> 2022-08-13-4c7b720b-2
 ucode-mod-ubus: 2022-12-02-46d93c9c-1 -> 2023-11-07-a6e75e02-1
 libustream-openssl: 2022-12-08-9217ab46-2 -> 2023-02-25-498f6e26-1
 luci-theme-bootstrap: git-23.338.81637-b07421e -> git-23.338.81541-94798fc
 kmod-pppoe: 5.10.176-1 -> 5.15.137-1
 libuuid: 2.37.4-1 -> 2.39-2
 libbpf: 2022-03-08-04c465fd-1 -> 1.2.2-1
 libcap-ng: 0.8.2-1 -> 0.8.3-2
 kmod-pppox: 5.10.176-1 -> 5.15.137-1
 luci-app-wireguard: git-23.018.72712-6d712c3 -> git-23.338.83621-1c2acbe
 kmod-nf-reject: 5.10.176-1 -> 5.15.137-1
 procd-ujail: 2022-06-01-7a009685-2 -> 2023-06-25-2db83655-2
 base-files: 1502-r20134-5f15225c1e -> 1550-r23630-842932a63d
 kmod-nf-nat: 5.10.176-1 -> 5.15.137-1
 kmod-input-core: 5.10.176-1 -> 5.15.137-1
 kmod-crypto-crc32c: 5.10.176-1 -> 5.15.137-1
 ucode-mod-uci: 2022-12-02-46d93c9c-1 -> 2023-11-07-a6e75e02-1
 partx-utils: 2.37.4-1 -> 2.39-2
installed package luci-i18n-wireguard-en cannot be found in remote list!
 netifd: 2022-08-25-76d2d41b-1 -> 2024-01-04-c18cc79d-1
 coreutils: 9.0-2 -> 9.3-1
 libf2fs: 1.14.0-3 -> 1.16.0-1
 libnl-route: 3.5.0-1 -> 3.7.0-1
 libsmartcols: 2.37.4-1 -> 2.39-2
 kmod-r8169: 5.10.176-1 -> 5.15.137-1
 libubus: 2022-06-01-2bebf93c-1 -> 2023-06-05-f787c97b-1
 firewall4: 2022-10-18-7ae5e14b-1 -> 2023-09-01-598d9fbb-1
installed package luci-i18n-upnp-en cannot be found in remote list!
 kmod-mii: 5.10.176-1 -> 5.15.137-1
 procd: 2022-06-01-7a009685-2 -> 2023-06-25-2db83655-2
 libmount: 2.37.4-1 -> 2.39-2
 ubusd: 2022-06-01-2bebf93c-1 -> 2023-06-05-f787c97b-1
 kmod-lib-crc32c: 5.10.176-1 -> 5.15.137-1
 libelf: 0.186-1 -> 0.189-1
 luci-mod-status: git-23.340.83757-3cb6cf6 -> git-23.351.85404-a962261
 kmod-i2c-core: 5.10.176-1 -> 5.15.137-1
 lsblk: 2.37.4-1 -> 2.39-2
 libjson-script: 2022-05-15-d2223ef9-1 -> 2023-05-23-75a3b870-1
 kmod-fs-vfat: 5.10.176-1 -> 5.15.137-1
 kmod-nft-nat: 5.10.176-1 -> 5.15.137-1
 kmod-crypto-lib-chacha20poly1305: 5.10.176-1 -> 5.15.137-1
 kmod-crypto-lib-poly1305: 5.10.176-1 -> 5.15.137-1
 luci-ssl-openssl: git-17.031.53232-b6341bd -> git-23.024.33244-34dee82
 kmod-phy-realtek: 5.10.176-1 -> 5.15.137-1
 luci-app-firewall: git-23.093.42704-1c01c64 -> git-24.008.46353-971459d
 grub2-efi: 2.06-3 -> 2.06-5
 kmod-nf-ipt: 5.10.176-1 -> 5.15.137-1
 libblkid: 2.37.4-1 -> 2.39-2
 jansson: 2.13.1-2 -> 2.14-3
 grub2-bios-setup: 2.06-3 -> 2.06-5
 tcpdump: 4.9.3-4 -> 4.99.4-1
 odhcp6c: 2022-08-05-7d21e8d8-18 -> 2023-05-12-bcd28363-20
 fstools: 2022-06-02-93369be0-2 -> 2023-02-28-bfe882d5-1
 kmod-udptunnel4: 5.10.176-1 -> 5.15.137-1
 kmod-udptunnel6: 5.10.176-1 -> 5.15.137-1
 uci: 2021-10-22-f84f49f0-6 -> 2023-08-10-5781664d-1
 grub2: 2.06-3 -> 2.06-5
 ucode-mod-fs: 2022-12-02-46d93c9c-1 -> 2023-11-07-a6e75e02-1
 losetup: 2.37.4-1 -> 2.39-2
 dropbear: 2022.82-2 -> 2022.82-5
 kmod-crypto-kpp: 5.10.176-1 -> 5.15.137-1
 kmod-hwmon-core: 5.10.176-1 -> 5.15.137-1
 kmod-nls-utf8: 5.10.176-1 -> 5.15.137-1
 libnftnl: 1.2.1-2 -> 1.2.6-1
 kmod-nls-cp437: 5.10.176-1 -> 5.15.137-1
 rpcd-mod-file: 2022-12-15-7de4820c-1 -> 2023-07-01-c07ab2f9-1
 odhcpd-ipv6only: 2023-01-02-4a673e1c-2 -> 2023-10-24-d8118f6e-1
 coreutils-sort: 9.0-2 -> 9.3-1
 procd-seccomp: 2022-06-01-7a009685-2 -> 2023-06-25-2db83655-2
 libiwinfo-data: 2022-12-15-8d158096-1 -> 2023-07-01-ca79f641-1
installed package luci-i18n-pbr-en cannot be found in remote list!
 ucode: 2022-12-02-46d93c9c-1 -> 2023-11-07-a6e75e02-1
 rpcd-mod-luci: 20210614 -> 20230123-1
 kmod-nf-log: 5.10.176-1 -> 5.15.137-1
 ipset: 7.15-2 -> 7.17-1
 libcomerr: 1.46.5-2 -> 1.47.0-2
 ppp: 2.4.9.git-2021-01-04-3 -> 2.4.9.git-2021-01-04-4
 luci-base: git-24.006.68911-9caf980 -> git-24.006.68745-9128656
 libnettle: 3.7.3-2 -> 3.9.1-1
 logd: 2021-08-03-205defb5-2 -> 2022-08-13-4c7b720b-2
 kmod-nf-log6: 5.10.176-1 -> 5.15.137-1
 kmod-wireguard: 5.10.176-1 -> 5.15.137-1
 kmod-tg3: 5.10.176-1 -> 5.15.137-1
 wireguard-tools: 1.0.20210424-3 -> 1.0.20210914-2
 libopenssl: 1.1.1w-1 -> 3.0.12-1
 libblobmsg-json: 2022-05-15-d2223ef9-1 -> 2023-05-23-75a3b870-1
 libipset: 7.15-2 -> 7.17-1
 luci-proto-ipv6: git-23.355.78888-e047387 -> git-23.355.78874-80140aa
 openwrt-keyring: 2022-03-25-62471e69-3 -> 2022-03-25-62471e69-2
 luci-app-attendedsysupgrade: git-23.093.42303-58b861d -> git-23.339.51123-138595a
 libnl-core: 3.5.0-1 -> 3.7.0-1
 kmod-nf-conntrack-netlink: 5.10.176-1 -> 5.15.137-1
 kmod-libphy: 5.10.176-1 -> 5.15.137-1
 libext2fs: 1.46.5-2 -> 1.47.0-2
 jshn: 2022-05-15-d2223ef9-1 -> 2023-05-23-75a3b870-1
 nftables-json: 1.0.2-2.1 -> 1.0.8-1
installed package luci-i18n-adblock-en cannot be found in remote list!
 libfdisk: 2.37.4-1 -> 2.39-2
 kmod-ipt-core: 5.10.176-1 -> 5.15.137-1
 e2fsprogs: 1.46.5-2 -> 1.47.0-2
 kmod-e1000: 5.10.176-1 -> 5.15.137-1
 attendedsysupgrade-common: 7 -> 8
 kmod-ppp: 5.10.176-1 -> 5.15.137-1
 kmod-nft-offload: 5.10.176-1 -> 5.15.137-1
 kmod-pps: 5.10.176-1 -> 5.15.137-1
 libopenssl-conf: 1.1.1w-1 -> 3.0.12-1
 libncurses: 6.3-2 -> 6.4-2
 kmod-ipt-ipset: 5.10.176-1 -> 5.15.137-1
 luci-app-upnp: git-22.250.64651-a61c041 -> git-22.297.83017-2877753
 libpcap: 1.10.1-4 -> 1.10.4-1
 libiwinfo: 2022-12-15-8d158096-1 -> 2023-07-01-ca79f641-1
 libss: 1.46.5-2 -> 1.47.0-2
 libjson-c: 0.15-2 -> 0.16-3
 auc: 0.3.1-1 -> 0.3.2-1
 kmod-nf-conntrack: 5.10.176-1 -> 5.15.137-1
 zlib: 1.2.11-6 -> 1.2.13-1
 luci-lib-nixio: git-23.338.82617-581339c -> git-23.338.82551-ea30bd9
 libubox: 2022-05-15-d2223ef9-1 -> 2023-05-23-75a3b870-1
 rpcd-mod-rpcsys: 2022-12-15-7de4820c-1 -> 2023-07-01-c07ab2f9-1
 kmod-forcedeth: 5.10.176-1 -> 5.15.137-1
 kmod-nls-iso8859-1: 5.10.176-1 -> 5.15.137-1
 luci-lib-jsonc: git-23.298.74581-7dfbbca -> git-23.298.74571-62eb535
 kmod-amd-xgbe: 5.10.176-1 -> 5.15.137-1
 kmod-ptp: 5.10.176-1 -> 5.15.137-1
 luci: git-23.093.42303-d58cd69 -> git-23.051.66410-a505bb1
 fdisk: 2.37.4-1 -> 2.39-2
 kmod-nf-conntrack6: 5.10.176-1 -> 5.15.137-1
 libgcc: 11.2.0-4 -> 12.3.0-4
 libucode: 2022-12-02-46d93c9c-1 -> 2023-11-07-a6e75e02-1
 kmod-crypto-lib-curve25519: 5.10.176-1 -> 5.15.137-1
 ubox: 2021-08-03-205defb5-2 -> 2022-08-13-4c7b720b-2
 kmod-amazon-ena: 5.10.176-1 -> 5.15.137-1
 kmod-e1000e: 5.10.176-1 -> 5.15.137-1
 kmod-crypto-lib-chacha20: 5.10.176-1 -> 5.15.137-1
 rpcd-mod-iwinfo: 2022-12-15-7de4820c-1 -> 2023-07-01-c07ab2f9-1
 luci-mod-network: git-23.362.68122-a4f8789 -> git-23.362.67406-2612fe1
 kmod-nft-core: 5.10.176-1 -> 5.15.137-1
 kmod-button-hotplug: 5.10.176-3 -> 5.15.137-3
 kmod-nls-base: 5.10.176-1 -> 5.15.137-1
 kmod-mdio: 5.10.176-1 -> 5.15.137-1
 kmod-igb: 5.10.176-1 -> 5.15.137-1
 kmod-igc: 5.10.176-1 -> 5.15.137-1
 kmod-i2c-algo-bit: 5.10.176-1 -> 5.15.137-1
 kmod-bnx2: 5.10.176-1 -> 5.15.137-1
 libuv: 1.41.1-1 -> 1.45.0-1
 kmod-mdio-devres: 5.10.176-1 -> 5.15.137-1
installed package luci-i18n-attendedsysupgrade-en cannot be found in remote list!
 kmod-slhc: 5.10.176-1 -> 5.15.137-1
 ppp-mod-pppoe: 2.4.9.git-2021-01-04-3 -> 2.4.9.git-2021-01-04-4
 dnsmasq-full: 2.86-16 -> 2.89-4
Are you sure you want to continue the upgrade process? [N/y] Y
Requesting build.....................................adblock - 4.1.5-8
attendedsysupgrade-common - 8
auc - 0.3.2-1
base-files - 1550-r23630-842932a63d
bmon - 4.0-1
bnx2-firmware - 20230804-1
busybox - 1.36.1-1
ca-bundle - 20230311-1
cgi-io - 2022-08-10-901b0f04-21
confuse - 3.3-1
coreutils - 9.3-1
coreutils-sort - 9.3-1
dnsmasq-full - 2.89-4
dropbear - 2022.82-5
e2fsprogs - 1.47.0-2
fdisk - 2.39-2
firewall4 - 2023-09-01-598d9fbb-1
fstools - 2023-02-28-bfe882d5-1
fwtool - 2019-11-12-8f7fe925-1
getrandom - 2022-08-13-4c7b720b-2
grub2 - 2.06-5
grub2-bios-setup - 2.06-5
grub2-efi - 2.06-5
ip-full - 6.3.0-1
ipset - 7.17-1
jansson - 2.14-3
jshn - 2023-05-23-75a3b870-1
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 5.15.137-1-47964456485559d992fe6f536131fc64
kmod-amazon-ena - 5.15.137-1
kmod-amd-xgbe - 5.15.137-1
kmod-bnx2 - 5.15.137-1
kmod-button-hotplug - 5.15.137-3
kmod-crypto-crc32c - 5.15.137-1
kmod-crypto-hash - 5.15.137-1
kmod-crypto-kpp - 5.15.137-1
kmod-crypto-lib-chacha20 - 5.15.137-1
kmod-crypto-lib-chacha20poly1305 - 5.15.137-1
kmod-crypto-lib-curve25519 - 5.15.137-1
kmod-crypto-lib-poly1305 - 5.15.137-1
kmod-e1000 - 5.15.137-1
kmod-e1000e - 5.15.137-1
kmod-forcedeth - 5.15.137-1
kmod-fs-vfat - 5.15.137-1
kmod-hwmon-core - 5.15.137-1
kmod-i2c-algo-bit - 5.15.137-1
kmod-i2c-core - 5.15.137-1
kmod-igb - 5.15.137-1
kmod-igc - 5.15.137-1
kmod-input-core - 5.15.137-1
kmod-ipt-core - 5.15.137-1
kmod-ipt-ipset - 5.15.137-1
kmod-ixgbe - 5.15.137-1
kmod-lib-crc-ccitt - 5.15.137-1
kmod-lib-crc32c - 5.15.137-1
kmod-libphy - 5.15.137-1
kmod-mdio - 5.15.137-1
kmod-mdio-devres - 5.15.137-1
kmod-mii - 5.15.137-1
kmod-nf-conntrack - 5.15.137-1
kmod-nf-conntrack-netlink - 5.15.137-1
kmod-nf-conntrack6 - 5.15.137-1
kmod-nf-flow - 5.15.137-1
kmod-nf-ipt - 5.15.137-1
kmod-nf-log - 5.15.137-1
kmod-nf-log6 - 5.15.137-1
kmod-nf-nat - 5.15.137-1
kmod-nf-reject - 5.15.137-1
kmod-nf-reject6 - 5.15.137-1
kmod-nfnetlink - 5.15.137-1
kmod-nft-core - 5.15.137-1
kmod-nft-fib - 5.15.137-1
kmod-nft-nat - 5.15.137-1
kmod-nft-offload - 5.15.137-1
kmod-nls-base - 5.15.137-1
kmod-nls-cp437 - 5.15.137-1
kmod-nls-iso8859-1 - 5.15.137-1
kmod-nls-utf8 - 5.15.137-1
kmod-phy-realtek - 5.15.137-1
kmod-ppp - 5.15.137-1
kmod-pppoe - 5.15.137-1
kmod-pppox - 5.15.137-1
kmod-pps - 5.15.137-1
kmod-ptp - 5.15.137-1
kmod-r8169 - 5.15.137-1
kmod-slhc - 5.15.137-1
kmod-tg3 - 5.15.137-1
kmod-udptunnel4 - 5.15.137-1
kmod-udptunnel6 - 5.15.137-1
kmod-wireguard - 5.15.137-1
libblkid - 2.39-2
libblobmsg-json - 2023-05-23-75a3b870-1
libbpf - 1.2.2-1
libc - 1.2.4-4
libcomerr - 1.47.0-2
libelf - 0.189-1
libext2fs - 1.47.0-2
libf2fs - 1.16.0-1
libfdisk - 2.39-2
libgcc - 12.3.0-4
libgmp - 6.2.1-1
libipset - 7.17-1
libiwinfo-data - 2023-07-01-ca79f641-1
libiwinfo-lua - 2023-07-01-ca79f641-1
libiwinfo - 2023-07-01-ca79f641-1
libjson-c - 0.16-3
libjson-script - 2023-05-23-75a3b870-1
liblua - 5.1.5-10
liblucihttp-lua - 2023-03-15-9b5b683f-1
liblucihttp-ucode - 2023-03-15-9b5b683f-1
liblucihttp - 2023-03-15-9b5b683f-1
libmnl - 1.0.5-1
libmount - 2.39-2
libncurses - 6.4-2
libnetfilter-conntrack - 1.0.9-2
libnettle - 3.9.1-1
libnfnetlink - 1.0.2-1
libnftnl - 1.2.6-1
libnl-core - 3.7.0-1
libnl-route - 3.7.0-1
libnl-tiny - 2023-07-27-bc92a280-1
libopenssl-conf - 3.0.12-1
libopenssl - 3.0.12-1
libpcap - 1.10.4-1
libpthread - 1.2.4-4
librt - 1.2.4-4
libsmartcols - 2.39-2
libss - 1.47.0-2
libubox - 2023-05-23-75a3b870-1
libubus-lua - 2023-06-05-f787c97b-1
libubus - 2023-06-05-f787c97b-1
libuci - 2023-08-10-5781664d-1
libuclient - 2023-04-13-007d9454-1
libucode - 2023-11-07-a6e75e02-1
libustream-openssl - 2023-02-25-498f6e26-1
libuuid - 2.39-2
libuv - 1.45.0-1
logd - 2022-08-13-4c7b720b-2
losetup - 2.39-2
lsblk - 2.39-2
lua - 5.1.5-10
luci - git-23.051.66410-a505bb1
luci-app-adblock - git-23.189.72983-3072876
luci-app-attendedsysupgrade - git-23.339.51123-138595a
luci-app-firewall - git-24.008.46353-971459d
luci-app-opkg - git-23.311.75635-769b30c
luci-app-pbr - 1.1.1-7
luci-base - git-24.006.68745-9128656
luci-lib-base - git-22.308.54612-9118452
luci-lib-ip - git-23.311.79290-c2a887e
luci-lib-jsonc - git-23.298.74571-62eb535
luci-lib-nixio - git-23.338.82551-ea30bd9
luci-light - git-23.024.33244-34dee82
luci-mod-admin-full - git-19.253.48496-3f93650
luci-mod-network - git-23.362.67406-2612fe1
luci-mod-status - git-23.351.85404-a962261
luci-mod-system - git-23.306.39416-7d3abf8
luci-proto-ipv6 - git-23.355.78874-80140aa
luci-proto-ppp - git-21.158.38888-88b9d84
luci-proto-wireguard - git-23.338.83621-1c2acbe
luci-ssl-openssl - git-23.024.33244-34dee82
luci-theme-bootstrap - git-23.338.81541-94798fc
mkf2fs - 1.16.0-1
mtd - 26
netdata - 1.33.1-4
netifd - 2024-01-04-c18cc79d-1
nftables-json - 1.0.8-1
odhcp6c - 2023-05-12-bcd28363-20
odhcpd-ipv6only - 2023-10-24-d8118f6e-1
openssl-util - 3.0.12-1
openwrt-keyring - 2022-03-25-62471e69-2
opkg - 2022-02-24-d038e5b6-2
partx-utils - 2.39-2
pbr - 1.1.1-7
ppp - 2.4.9.git-2021-01-04-4
ppp-mod-pppoe - 2.4.9.git-2021-01-04-4
procd - 2023-06-25-2db83655-2
procd-seccomp - 2023-06-25-2db83655-2
procd-ujail - 2023-06-25-2db83655-2
r8169-firmware - 20230804-1
resize2fs - 1.47.0-2
resolveip - 2
rpcd - 2023-07-01-c07ab2f9-1
rpcd-mod-file - 2023-07-01-c07ab2f9-1
rpcd-mod-iwinfo - 2023-07-01-c07ab2f9-1
rpcd-mod-luci - 20230123-1
rpcd-mod-rpcsys - 2023-07-01-c07ab2f9-1
rpcd-mod-rrdns - 20170710
rpcd-mod-ucode - 2023-07-01-c07ab2f9-1
tcpdump - 4.99.4-1
terminfo - 6.4-2
ubox - 2022-08-13-4c7b720b-2
ubus - 2023-06-05-f787c97b-1
ubusd - 2023-06-05-f787c97b-1
uci - 2023-08-10-5781664d-1
uclient-fetch - 2023-04-13-007d9454-1
ucode - 2023-11-07-a6e75e02-1
ucode-mod-fs - 2023-11-07-a6e75e02-1
ucode-mod-html - 1
ucode-mod-math - 2023-11-07-a6e75e02-1
ucode-mod-ubus - 2023-11-07-a6e75e02-1
ucode-mod-uci - 2023-11-07-a6e75e02-1
uhttpd - 2023-06-25-34a8a74d-1
uhttpd-mod-ubus - 2023-06-25-34a8a74d-1
umdns - 2023-10-19-d45c443a-5
urandom-seed - 3
urngd - 2023-11-01-44365eb1-1
usign - 2020-05-23-f1f65026-1
wireguard-tools - 1.0.20210914-2
zlib - 1.2.13-1
Generate local signing keys...
Generate local certificate...
Package list missing or not up-to-date, generating it.

Building package index...
Downloading https://downloads.openwrt.org/releases/23.05.2/targets/x86/64/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../../../builder/dl/openwrt_core
Downloading https://downloads.openwrt.org/releases/23.05.2/targets/x86/64/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.2/packages/x86_64/base/Packages.gz
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../../../builder/dl/openwrt_base
Downloading https://downloads.openwrt.org/releases/23.05.2/packages/x86_64/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.2/packages/x86_64/luci/Packages.gz
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../../../builder/dl/openwrt_luci
Downloading https://downloads.openwrt.org/releases/23.05.2/packages/x86_64/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.2/packages/x86_64/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../../../builder/dl/openwrt_packages
Downloading https://downloads.openwrt.org/releases/23.05.2/packages/x86_64/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.2/packages/x86_64/routing/Packages.gz
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../../../builder/dl/openwrt_routing
Downloading https://downloads.openwrt.org/releases/23.05.2/packages/x86_64/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.2/packages/x86_64/telephony/Packages.gz
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../../../builder/dl/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/23.05.2/packages/x86_64/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /builder/build_dir/target-x86_64_musl/root-x86/../../../../builder/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check passed.
Collected errors:
 *** opkg_conf_parse_file: Duplicate src declaration (openwrt_core https://downloads.openwrt.org/releases/23.05.2/targets/x86/64/packages). Skipping.**
** * opkg_conf_parse_file: Duplicate src declaration (openwrt_base https://downloads.openwrt.org/releases/23.05.2/packages/x86_64/base). Skipping.**
** * opkg_conf_parse_file: Duplicate src declaration (openwrt_luci https://downloads.openwrt.org/releases/23.05.2/packages/x86_64/luci). Skipping.**
** * opkg_conf_parse_file: Duplicate src declaration (openwrt_packages https://downloads.openwrt.org/releases/23.05.2/packages/x86_64/packages). Skipping.**
** * opkg_conf_parse_file: Duplicate src declaration (openwrt_routing https://downloads.openwrt.org/releases/23.05.2/packages/x86_64/routing). Skipping.**
** * opkg_conf_parse_file: Duplicate src declaration (openwrt_telephony https://downloads.openwrt.org/releases/23.05.2/packages/x86_64/telephony). Skipping.**
**Error: Impossible package selection: luci-app-wireguard not in manifest**
**Bad message (74)**

Almost there! :grinning:

The luci-app-wireguard package was merged into luci-proto-wireguard in 23.05, so I think if you simply do this, then auc should work.

$ opkg remove luci-app-wireguard
$ auc ...

Assuming that works, if you then verify after, it should show the proto package as installed:

$ opkg info luci-proto-wireguard
...
Status: install user installed
...

@daniel Would adding an entry in https://sysupgrade.openwrt.org/json/v1/overview.json in package_changes allow the above package merge to work transparently? (Edit: by "work transparently" I mean "allow auc to do package replacement like it already does with, say, the tls packages...)

If so, what's the mechanism for adding entries to this manifest???

(I'm thinking {"source": "luci-app-wireguard", "target": "luci-proto-wireguard", ...} where the -proto- pkg is already there.)

$ wget https://sysupgrade.openwrt.org/json/v1/overview.json

$ jsonfilter -i overview.json -e '$.branches["23.05"].package_changes[*]'

{ "source": "libustream-wolfssl", "target": "libustream-mbedtls", "revision": 21994 }
{ "source": "px5g-wolfssl", "target": "px5g-mbedtls", "revision": 21994 }
{ "source": "wpad-basic-wolfssl", "target": "wpad-basic-mbedtls", "revision": 21994 }
{ "source": "libustream-wolfssl", "target": "libustream-mbedtls", "revision": 21994 }
{ "source": "kmod-nft-nat6", "revision": 19160, "mandatory": true }
{ "source": "firewall", "target": "firewall4", "revision": 18611 }

Thanks let me try that. I am assuming by removing wireguard package that will remove my wieeguard vpn config as well and I will need to manually recreate that .

I don't believe it will uninstall the whole thing. I'm not absolutely sure, but I strongly suspect that removing just the -app- package will leave all the underlying installation and configuration in place and just remove that LuCI interface package (which will then be replace by the -proto- version and you'll not even see any changes).

1 Like

I tried removed the luci wireguard package using --force-removal-of-dependent-packages switch as the en transalations will be installed again.

After that tried the install and it seemed to be going along until I hit the following warning. So I am not sure did it successfully install? Hesitant to reboot the system but went ahead and rebooted and it has not upgraded!

+ rm -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.kernel
/builder/staging_dir/host/bin/grub-bios-setup: warning: Your BIOS Boot Partition is under 1 MB, please increase its size

The original mage i used to install it was "openwrt-22.03.5-x86-64-generic-ext4-combined-efi" and I did go through the process of extending the partition so the entire disk space is utilized using this post here - [HOWTO] Resizing root partition on x86 - Installing and Using OpenWrt - OpenWrt Forum. It was very complicated for me but somehow I manged to follow instructions.

Have posted the relevant part of the installation process

Pseudo file "dev" exists in source filesystem "/builder/build_dir/target-x86_64_musl/root-x86/dev".
Ignoring, exclude it (-e/-ef) to override.
30870+1 records in
30870+1 records out
15805918 bytes (16 MB, 15 MiB) copied, 0.0897238 s, 176 MB/s
0+1 records in
1+0 records out
109051904 bytes (109 MB, 104 MiB) copied, 0.160669 s, 679 MB/s
212992+0 records in
212992+0 records out
109051904 bytes (109 MB, 104 MiB) copied, 0.674783 s, 162 MB/s
1+0 records in
1+0 records out
109051904 bytes (109 MB, 104 MiB) copied, 0.160609 s, 679 MB/s
cp: cannot stat '/builder/staging_dir/target-x86_64_musl/root-x86/boot/.': No such file or directory
+ [ 6 -ne 5 ]
+ [ 6 -ne 6 ]
+ OUTPUT=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined.img.gz
+ KERNELSIZE=16
+ KERNELDIR=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined.img.gz.boot
+ KERNELPARTTYPE=83
+ ROOTFSSIZE=104
+ ROOTFSIMAGE=/builder/build_dir/target-x86_64_musl/linux-x86_64/root.squashfs
+ ROOTFSPARTTYPE=83
+ ALIGN=256
+ rm -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined.img.gz
+ head=16
+ sect=63
+ ptgen -o /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined.img.gz -h 16 -s 63 -t 83 -p 16m -t 83 -p 104m -l 256 -S 0x80cdd189
part 0 16384
part 0 106496
+ set 262144 16777216 17301504 109051904
+ KERNELOFFSET=512
+ KERNELSIZE=16777216
+ ROOTFSOFFSET=33792
+ ROOTFSSIZE=212992
+ [ -n 1 ]
+ dd if=/dev/zero of=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined.img.gz bs=512 seek=33792 conv=notrunc count=212992
212992+0 records in
212992+0 records out
109051904 bytes (109 MB, 104 MiB) copied, 0.60529 s, 180 MB/s
+ dd if=/builder/build_dir/target-x86_64_musl/linux-x86_64/root.squashfs of=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined.img.gz bs=512 seek=33792 conv=notrunc
30870+1 records in
30870+1 records out
15805918 bytes (16 MB, 15 MiB) copied, 0.0723802 s, 218 MB/s
+ [ -n  ]
+ make_ext4fs -J -L kernel -l 16777216 -T 1699969091 /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined.img.gz.kernel /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined.img.gz.boot
+ dd if=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined.img.gz.kernel of=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined.img.gz bs=512 seek=512 conv=notrunc
32768+0 records in
32768+0 records out
16777216 bytes (17 MB, 16 MiB) copied, 0.100192 s, 167 MB/s
+ rm -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined.img.gz.kernel
cp: cannot stat '/builder/staging_dir/target-x86_64_musl/root-x86/boot/.': No such file or directory
+ [ 6 -ne 5 ]
+ [ 6 -ne 6 ]
+ OUTPUT=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined.img.gz
+ KERNELSIZE=16
+ KERNELDIR=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined.img.gz.boot
+ KERNELPARTTYPE=83
+ ROOTFSSIZE=104
+ ROOTFSIMAGE=/builder/build_dir/target-x86_64_musl/linux-x86_64/root.ext4
+ ROOTFSPARTTYPE=83
+ ALIGN=256
+ rm -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined.img.gz
+ head=16
+ sect=63
+ ptgen -o /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined.img.gz -h 16 -s 63 -t 83 -p 16m -t 83 -p 104m -l 256 -S 0x80cdd189
part 0 16384
part 0 106496
+ set 262144 16777216 17301504 109051904
+ KERNELOFFSET=512
+ KERNELSIZE=16777216
+ ROOTFSOFFSET=33792
+ ROOTFSSIZE=212992
+ [ -n 1 ]
+ dd if=/dev/zero of=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined.img.gz bs=512 seek=33792 conv=notrunc count=212992
212992+0 records in
212992+0 records out
109051904 bytes (109 MB, 104 MiB) copied, 0.622286 s, 175 MB/s
+ dd if=/builder/build_dir/target-x86_64_musl/linux-x86_64/root.ext4 of=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined.img.gz bs=512 seek=33792 conv=notrunc
212992+0 records in
212992+0 records out
109051904 bytes (109 MB, 104 MiB) copied, 0.49889 s, 219 MB/s
+ [ -n  ]
+ make_ext4fs -J -L kernel -l 16777216 -T 1699969091 /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined.img.gz.kernel /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined.img.gz.boot
+ dd if=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined.img.gz.kernel of=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined.img.gz bs=512 seek=512 conv=notrunc
32768+0 records in
32768+0 records out
16777216 bytes (17 MB, 16 MiB) copied, 0.0811051 s, 207 MB/s
+ rm -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined.img.gz.kernel
cp: cannot stat '/builder/staging_dir/target-x86_64_musl/root-x86/boot/.': No such file or directory
+ [ 6 -ne 5 ]
+ [ 6 -ne 6 ]
+ OUTPUT=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz
+ KERNELSIZE=16
+ KERNELDIR=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot
+ KERNELPARTTYPE=83
+ ROOTFSSIZE=104
+ ROOTFSIMAGE=/builder/build_dir/target-x86_64_musl/linux-x86_64/root.squashfs
+ ROOTFSPARTTYPE=83
+ ALIGN=256
+ rm -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz
+ head=16
+ sect=63
+ ptgen -o /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz -h 16 -s 63 -g -t 83 -p 16m -t 83 -p 104m -l 256 -S 0x80cdd189 -G 80cdd189-4ce8-125d-9e5c-32a6bb5c6500
part 0 16384
part 0 106496
+ set 262144 16777216 17039360 109051904
+ KERNELOFFSET=512
+ KERNELSIZE=16777216
+ ROOTFSOFFSET=33280
+ ROOTFSSIZE=212992
+ [ -n 1 ]
+ dd if=/dev/zero of=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz bs=512 seek=33280 conv=notrunc count=212992
212992+0 records in
212992+0 records out
109051904 bytes (109 MB, 104 MiB) copied, 0.622175 s, 175 MB/s
+ dd if=/builder/build_dir/target-x86_64_musl/linux-x86_64/root.squashfs of=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz bs=512 seek=33280 conv=notrunc
30870+1 records in
30870+1 records out
15805918 bytes (16 MB, 15 MiB) copied, 0.0787218 s, 201 MB/s
+ [ -n 80cdd189-4ce8-125d-9e5c-32a6bb5c6500 ]
+ [ -n 1 ]
+ dd if=/dev/zero of=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz bs=512 seek=246272 conv=notrunc count=63
63+0 records in
63+0 records out
32256 bytes (32 kB, 32 KiB) copied, 0.000345182 s, 93.4 MB/s
+ mkfs.fat --invariant -n kernel -C /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.kernel -S 512 16384
mkfs.fat: Warning: lowercase labels might not work properly on some systems
+ LC_ALL=C dos_dircopy /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot /
+ local entry
+ local baseentry
+ [ -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/boot ]
+ [ -d /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/boot ]
+ basename /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/boot
+ baseentry=boot
+ mmd -i /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.kernel ::/boot
+ dos_dircopy /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/boot /boot/
+ local entry
+ local baseentry
+ [ -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/boot/grub ]
+ [ -d /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/boot/grub ]
+ basename /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/boot/grub
+ baseentry=grub
+ mmd -i /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.kernel ::/boot/grub
+ dos_dircopy /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/boot/grub /boot/grub/
+ local entry
+ local baseentry
+ [ -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/boot/grub/boot.img ]
+ mcopy -i /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.kernel /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/boot/grub/boot.img ::/boot/grub/
+ [ -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/boot/grub/core.img ]
+ mcopy -i /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.kernel /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/boot/grub/core.img ::/boot/grub/
+ [ -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/boot/grub/grub.cfg ]
+ mcopy -i /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.kernel /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/boot/grub/grub.cfg ::/boot/grub/
+ [ -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/boot/vmlinuz ]
+ mcopy -i /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.kernel /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/boot/vmlinuz ::/boot/
+ [ -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/efi ]
+ [ -d /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/efi ]
+ basename /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/efi
+ baseentry=efi
+ mmd -i /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.kernel ::/efi
+ dos_dircopy /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/efi /efi/
+ local entry
+ local baseentry
+ [ -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/efi/boot ]
+ [ -d /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/efi/boot ]
+ basename /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/efi/boot
+ baseentry=boot
+ mmd -i /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.kernel ::/efi/boot
+ dos_dircopy /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/efi/boot /efi/boot/
+ local entry
+ local baseentry
+ [ -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/efi/boot/bootx64.efi ]
+ mcopy -i /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.kernel /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.boot/efi/boot/bootx64.efi ::/efi/boot/
+ dd if=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.kernel of=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz bs=512 seek=512 conv=notrunc
32768+0 records in
32768+0 records out
16777216 bytes (17 MB, 16 MiB) copied, 0.0937318 s, 179 MB/s
+ rm -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-squashfs-combined-efi.img.gz.kernel
/builder/staging_dir/host/bin/grub-bios-setup: warning: Your BIOS Boot Partition is under 1 MiB, please increase its size..
cp: cannot stat '/builder/staging_dir/target-x86_64_musl/root-x86/boot/.': No such file or directory
+ [ 6 -ne 5 ]
+ [ 6 -ne 6 ]
+ OUTPUT=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz
+ KERNELSIZE=16
+ KERNELDIR=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot
+ KERNELPARTTYPE=83
+ ROOTFSSIZE=104
+ ROOTFSIMAGE=/builder/build_dir/target-x86_64_musl/linux-x86_64/root.ext4
+ ROOTFSPARTTYPE=83
+ ALIGN=256
+ rm -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz
+ head=16
+ sect=63
+ ptgen -o /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz -h 16 -s 63 -g -t 83 -p 16m -t 83 -p 104m -l 256 -S 0x80cdd189 -G 80cdd189-4ce8-125d-9e5c-32a6bb5c6500
part 0 16384
part 0 106496
+ set 262144 16777216 17039360 109051904
+ KERNELOFFSET=512
+ KERNELSIZE=16777216
+ ROOTFSOFFSET=33280
+ ROOTFSSIZE=212992
+ [ -n 1 ]
+ dd if=/dev/zero of=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz bs=512 seek=33280 conv=notrunc count=212992
212992+0 records in
212992+0 records out
109051904 bytes (109 MB, 104 MiB) copied, 0.627017 s, 174 MB/s
+ dd if=/builder/build_dir/target-x86_64_musl/linux-x86_64/root.ext4 of=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz bs=512 seek=33280 conv=notrunc
212992+0 records in
212992+0 records out
109051904 bytes (109 MB, 104 MiB) copied, 0.501011 s, 218 MB/s
+ [ -n 80cdd189-4ce8-125d-9e5c-32a6bb5c6500 ]
+ [ -n 1 ]
+ dd if=/dev/zero of=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz bs=512 seek=246272 conv=notrunc count=63
63+0 records in
63+0 records out
32256 bytes (32 kB, 32 KiB) copied, 0.000219945 s, 147 MB/s
+ mkfs.fat --invariant -n kernel -C /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.kernel -S 512 16384
mkfs.fat: Warning: lowercase labels might not work properly on some systems
+ LC_ALL=C dos_dircopy /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot /
+ local entry
+ local baseentry
+ [ -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/boot ]
+ [ -d /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/boot ]
+ basename /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/boot
+ baseentry=boot
+ mmd -i /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.kernel ::/boot
+ dos_dircopy /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/boot /boot/
+ local entry
+ local baseentry
+ [ -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/boot/grub ]
+ [ -d /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/boot/grub ]
+ basename /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/boot/grub
+ baseentry=grub
+ mmd -i /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.kernel ::/boot/grub
+ dos_dircopy /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/boot/grub /boot/grub/
+ local entry
+ local baseentry
+ [ -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/boot/grub/boot.img ]
+ mcopy -i /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.kernel /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/boot/grub/boot.img ::/boot/grub/
+ [ -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/boot/grub/core.img ]
+ mcopy -i /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.kernel /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/boot/grub/core.img ::/boot/grub/
+ [ -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/boot/grub/grub.cfg ]
+ mcopy -i /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.kernel /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/boot/grub/grub.cfg ::/boot/grub/
+ [ -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/boot/vmlinuz ]
+ mcopy -i /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.kernel /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/boot/vmlinuz ::/boot/
+ [ -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/efi ]
+ [ -d /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/efi ]
+ basename /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/efi
+ baseentry=efi
+ mmd -i /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.kernel ::/efi
+ dos_dircopy /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/efi /efi/
+ local entry
+ local baseentry
+ [ -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/efi/boot ]
+ [ -d /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/efi/boot ]
+ basename /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/efi/boot
+ baseentry=boot
+ mmd -i /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.kernel ::/efi/boot
+ dos_dircopy /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/efi/boot /efi/boot/
+ local entry
+ local baseentry
+ [ -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/efi/boot/bootx64.efi ]
+ mcopy -i /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.kernel /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.boot/efi/boot/bootx64.efi ::/efi/boot/
+ dd if=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.kernel of=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz bs=512 seek=512 conv=notrunc
32768+0 records in
32768+0 records out
16777216 bytes (17 MB, 16 MiB) copied, 0.0835396 s, 201 MB/s
+ rm -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-a7c609387e90-x86-64-generic-ext4-combined-efi.img.gz.kernel
/builder/staging_dir/host/bin/grub-bios-setup: warning: Your BIOS Boot Partition is under 1 MiB, please increase its size..
done
Invalid argument (22)

You can ignore that one, I see all the time on x86 updates and it has never been an issue.

This one, though, means that the build server is somehow out-of-date or its config files are broken, so auc did nothing.

So, you could wait until the builder comes back, or bail out on auc for the time being and use the firmware selector to make a new img. Assuming you want to try that, you need to figure out what packages you have that are "user installed", like auc does internally.

Motivated by what users were doing on the Detecting user installed pkgs thread, I took @spence's script and hacked up this version to report various upgrade info, including the ability to produce exactly that list of user-installed packages:

wget https://raw.githubusercontent.com/efahl/tools/main/src/pkg-scan.sh
chmod +x pkg-scan.sh
./pkg-scan.sh --version-to 23.05.2 --check    # Just to see what's up
./pkg-scan.sh --version-to 23.05.2 --list     # List the "user installed" packages.

The first scan, with --check, should be rather self explanatory once you see the output. Just check it for issues, esp. in the build failures section.

The last scan, with --list, will produce the package names that are not part of the platform defaults for the given version-to. You can then go to https://firmware-selector.openwrt.org/ and go through its menus, adding the output from the list to the already existing default packages.

Here's what I see on my x86 vm. If you see any of the -en entries, remove them when you paste into the firmware build; likewise remove the luci-app-wireguard entry.

$ ./pkg-scan.sh --version-to 23.05.2 --list
auc bind-dig btop conntrack curl diffutils dmidecode dnsmasq-full ethtool fdisk gawk grep grub2 grub2-efi htop iperf3 iptables-nft kmod-lib-lzo kmod-nft-dup-inet kmod-nft-xfrm less libudev-zero lscpu luasocket luci luci-app-adblock luci-app-attendedsysupgrade luci-app-sqm luci-app-statistics luci-ssl-openssl luci-theme-openwrt-2020 mtr-json nmap ntpdate openssh-sftp-server pciutils snort3 strace tc-tiny tcpdump usbutils vim-full

Bah! I just went to the firmware selector site, and it appears to be broken, too. I can change versions on the pulldown, but typing anything into the "model" field does nothing...

Thanks @efahl , this has been a mission :smiling_face_with_tear:

The list command give me below info:

uc bmon dnsmasq-full fdisk grub2 grub2-efi ipset libncurses6 losetup lsblk luci-i18n-adblock-en luci-i18n-attendedsysupgrade-en luci-i18n-pbr-en luci-i18n-upnp-en luci-proto-wireguard luci-ssl-openssl miniupnpd-nftables netdata resize2fs tcpdump umdns

I noticed it has still got few english translation packages installed and the errors related to that in the log file are below but the assumption was it will skip them. Do you think it is worth a try to remove these and then try again?

installed package luci-i18n-upnp-en cannot be found in remote list!
installed package luci-i18n-pbr-en cannot be found in remote list!
installed package luci-i18n-adblock-en cannot be found in remote list!
installed package luci-i18n-attendedsysupgrade-en cannot be found in remote list!

I also noticed in the AUC log that it specifies the build image with all the packages so assume I cope the below into the firmware selector? I cross reference your script list uutput and the below list has all of them in it except in en packages.

Building images for x86 - Generic x86/64
Packages: auc base-files bmon bnx2-firmware busybox ca-bundle cgi-io dnsmasq-full dropbear e2fsprogs fdisk firewall4 fstools fwtool getrandom grub2 grub2-bios-setup grub2-efi ipset jansson jshn jsonfilter kmod-amazon-ena kmod-amd-xgbe kmod-bnx2 kmod-button-hotplug kmod-crypto-crc32c kmod-crypto-hash kmod-e1000 kmod-e1000e kmod-forcedeth kmod-fs-vfat kmod-igb kmod-igc kmod-input-core kmod-ixgbe kmod-lib-crc-ccitt kmod-lib-crc32c kmod-nf-conntrack kmod-nf-conntrack6 kmod-nf-flow kmod-nf-log kmod-nf-log6 kmod-nf-nat kmod-nf-reject kmod-nf-reject6 kmod-nfnetlink kmod-nft-core kmod-nft-fib kmod-nft-nat kmod-nft-offload kmod-nls-base kmod-nls-cp437 kmod-nls-iso8859-1 kmod-nls-utf8 kmod-ppp kmod-pppoe kmod-pppox kmod-r8169 kmod-slhc kmod-tg3 libblkid libblobmsg-json libcomerr libext2fs libf2fs libiwinfo libiwinfo-data libiwinfo-lua libjson-c libjson-script liblua liblucihttp liblucihttp-lua libmnl libnetfilter-conntrack libnettle libnftnl libnl-tiny libpcap libsmartcols libss libubox libubus libubus-lua libuci libuclient libucode libuuid logd losetup lsblk lua luci luci-app-adblock luci-app-attendedsysupgrade luci-app-firewall luci-app-opkg luci-app-pbr luci-base luci-lib-base luci-lib-ip luci-lib-jsonc luci-lib-nixio luci-mod-admin-full luci-mod-network luci-mod-status luci-mod-system luci-proto-ipv6 luci-proto-ppp luci-proto-wireguard luci-ssl-openssl luci-theme-bootstrap mkf2fs mtd netdata netifd nftables-json odhcp6c odhcpd-ipv6only openwrt-keyring opkg partx-utils ppp ppp-mod-pppoe procd procd-seccomp procd-ujail r8169-firmware resize2fs rpcd rpcd-mod-file rpcd-mod-iwinfo rpcd-mod-luci rpcd-mod-rrdns tcpdump ubox ubus ubusd uci uclient-fetch ucode ucode-mod-fs ucode-mod-ubus ucode-mod-uci uhttpd uhttpd-mod-ubus umdns urandom-seed urngd usign base-files busybox ca-bundle dropbear e2fsprogs firewall4 fstools grub2-bios-setup kernel kmod-amazon-ena kmod-amd-xgbe kmod-bnx2 kmod-button-hotplug kmod-e1000 kmod-e1000e kmod-forcedeth kmod-fs-vfat kmod-igb kmod-igc kmod-ixgbe kmod-nft-offload kmod-r8169 kmod-tg3 logd mkf2fs mtd netifd odhcp6c odhcpd-ipv6only opkg partx-utils ppp ppp-mod-pppoe procd procd-seccomp procd-ujail uci uclient-fetch urandom-seed urngd

The firmware selector isn't working at all.

Yes, that would be the best strategy (once the server starts working again). Just to clarify everything, there are sort of three different package lists:

  1. Every package on your router. This includes all of the defaults that came with the original image, all of the packages you've installed subsequently and all of the dependencies that were referenced by the "top-level" packages.

  2. The "top-level" packages. This includes only those that have nothing depending on them. Something like auc itself is standalone and if you remove it, nothing will break. You can do opkg whatdepends auc and see that it lists nothing. As an example package not in this list, try opkg whatdepends libc, and it will spit out literally hundreds of things that depend on it.

  3. The top-level packages that are not in the base image. These have the same definition of "top-level" as 2, but would not be present if you had not installed them. And, even if when you opkg install X, you see that this installed 2, 3 or more packages, only X is "top-level" because the others are dependencies.

The ./pkg-scan.sh -l command spits out 3, so it's the minimal set of package names that make your OpenWrt installation unique. If you were to install a new base image, then run that command, it should produce no output at all.

"So what?", you are asking. :grinning: Well, when you use the firmware selector, it already shows all the top-level packages in the base image, so appending the result of 3, above, makes the package list complete with respect to your current configuration (and regardless of whether the dependencies have changed between releases).

So, take the ./pkg-scan.sh -l output, remove all of *-en (and luci-app-wireguard if it's still there), and just paste that after the default packages in the firmware selector...

You could try using that, but it's the "1" list, and may contain a bunch of other packages the no longer exist, are no longer needed, got renamed or whatever. Much better to feed it the minimal set from "3" and let the opkg-dependency checking get all of the things underneath.


I'm currently working on making pkg-scan.sh do a bunch more stuff, like auto replacement of package_changes (wolfssl -> mbedtls) and removal of now-missing packages (*-en and so on)...

@efahl , thanks for the detailed explanation. I am documenting all the options so that other community members who are facing the same situation can easily follow this thread.

Running your script with -l gives me the below output

bmon dnsmasq-full fdisk grub2 grub2-bios-setup grub2-efi ipset libncurses6 losetup lsblk luci-proto-wireguard luci-ssl-openssl miniupnpd-nftables netdata resize2fs tcpdump umdns

To summarize my options are as follows:
Use AUC from CLI as the LUCI interface is masking the errors
Remove the luci-i18n-*-en packages as per below before executing the upgrade
command as the upgrade process did give the following errors however the
assumption was they will be ignored.
Run auc -b 23.05.2

installed package luci-i18n-upnp-en cannot be found in remote list!
installed package luci-i18n-pbr-en cannot be found in remote list!
installed package luci-i18n-adblock-en cannot be found in remote list!
installed package luci-i18n-attendedsysupgrade-en cannot be found in remote list!

Removal of en packages

opkg remove luci-i18n-upnp-en
opkg remove luci-i18n-pbr-en
opkg remove luci-i18n-adblock-en
opkg remove luci-i18n-attendedsysupgrade-en

Use ImageBuilder

  1. https://firmware-selector.openwrt.org/
  2. Select generix x86/64 - https://firmware-selector.openwrt.org/?version=23.05.2&target=x86%2F64&id=generic
  3. Use the customize install package option and append the top level packages generated by your script " ./pkg-scan.sh -l (remove the luci-i18n-*-en packages from the list as English is default in 23.05.2) to the list of installed packages that are shown by default as per image below
  4. Upgrade using System-Backup/Flash Firmware method

Clarification for above method - I originally used Combined-EFI (EXT4) image originally so I assume the upgrade just uses whatever is installed as a base?

@efahl , It looks like the build server is still down as I am getting the Invalid argument (22) error using the CLI upgrade method.

I tried using the image builder and appended the top level packages using the script "bmon dnsmasq-full fdisk grub2 grub2-bios-setup grub2-efi ipset libncurses6 losetup lsblk luci-proto-wireguard luci-ssl-openssl miniupnpd-nftables netdata resize2fs tcpdump umdns"

but had to remove "dnsmasq-full" as it said that "dnsmasq" default package already had all the packages.

Either way it was successful but confused as to where do I download the image from?

The STDERR output below (last section is as follows:

+ mcopy -i /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-5f0ad4549c20-x86-64-generic-ext4-combined-efi.img.gz.kernel /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-5f0ad4549c20-x86-64-generic-ext4-combined-efi.img.gz.boot/efi/boot/bootx64.efi ::/efi/boot/
+ dd if=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-5f0ad4549c20-x86-64-generic-ext4-combined-efi.img.gz.kernel of=/builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-5f0ad4549c20-x86-64-generic-ext4-combined-efi.img.gz bs=512 seek=512 conv=notrunc
32768+0 records in
32768+0 records out
16777216 bytes (17 MB, 16 MiB) copied, 0.0793036 s, 212 MB/s
+ rm -f /builder/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-23.05.2-5f0ad4549c20-x86-64-generic-ext4-combined-efi.img.gz.kernel
/builder/staging_dir/host/bin/grub-bios-setup: warning: Your BIOS Boot Partition is under 1 MiB, please increase its size..

and STDOUT

Created filesystem with 17/1024 inodes and 1493/4096 blocks
Creating filesystem with parameters:
Size: 16777216
Block size: 4096
Blocks per group: 32768
Inodes per group: 1024
Inode size: 256
Journal blocks: 0
Label: kernel
Blocks: 4096
Block groups: 1
Reserved blocks: 0
Reserved block group size: 7
Created filesystem with 17/1024 inodes and 1493/4096 blocks
mkfs.fat 4.2 (2021-01-31)
mkfs.fat 4.2 (2021-01-31)

Calculating checksums...

Is the firmware builder broken as well as I would assume it would have given me the option to download the file?