Unfortunately, it didn't work for long.

Summary

Error: Impossible package selection

STDERR

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/snapshots/targets/mediatek/filogic/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_core
Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_base
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/6.6.59-1-0561031e21f60f05c8f540bffb723036/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_kmods
Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/kmods/6.6.59-1-0561031e21f60f05c8f540bffb723036/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_luci
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_packages
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_routing
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.gz
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/openwrt_telephony
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/../../../../builder/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check passed.
/builder/staging_dir/host/bin/opkg: the ``install'' command requires at least one argument
make[2]: *** [Makefile:224: package_install] Error 1
make[1]: *** [Makefile:165: _call_manifest] Error 2
make: *** [Makefile:339: manifest] Error 2

Yeah, I've been trying find the cause of that for a few hours now. The imagebuilders are broken, I can duplicate this without ASU. The Packages file is empty after it the packages_reload target runs.

$ wget https://downloads.openwrt.org/snapshots/targets/x86/64/openwrt-imagebuilder-x86-64.Linux-x86_64.tar.zst
     [Files: 1  Bytes: 52.87M [35.15MB/s] Redirects: 0  Todo: 0  Errors: 0                                                                                  ]

$ tar --zstd -xvf openwrt-imagebuilder-x86-64.Linux-x86_64.tar.zst

$ cd openwrt-imagebuilder-x86-64.Linux-x86_64/
$ make image
...
Installing packages...
/home/efahlgren/openwrt/image_builder/openwrt-imagebuilder-x86-64.Linux-x86_64/staging_dir/host/bin/opkg: the ``install'' command requires at least one argument

Poking around shows the empty (1-byte) Packages file:

$ ll packages/
Permissions Size User      Date Modified    Name
.rw-r--r--@    1 efahlgren 2024-11-10 12:13 Packages
.rw-r--r--@   21 efahlgren 2024-11-10 12:13 Packages.gz
.rw-r--r--@  151 efahlgren 2024-11-10 12:13 Packages.sig
.rw-r--r--@  450 efahlgren 2024-11-09 08:31 README.md

There are no ipk files anywhere.

$ find . -iname '*.ipk'
<nothing>

But the package lists were downloaded and are living in dl/

$ zcat dl/openwrt_base | head
Package: 464xlat
Version: 13
Depends: libc, kmod-nat46, ip
License: GPL-2.0
Section: net
Architecture: x86_64
Installed-Size: 20480
Filename: 464xlat_13_x86_64.ipk
Size: 4984
SHA256sum: 3dcda4329728a2b3961083f49daa74be003827f790dc0c5fe36493e5fbd8b9b4

@aparcar Does this look familiar? I think it's in the package_index target of the imagebuilder Makefile, but I'm not sure.

I found the fixes for that, Paul already committed them a while ago, so they're just working their way through the pipeline and the next set of imagebuilders should work fine.

Edit: this is the fix https://github.com/openwrt/openwrt/commit/999ef8270fcce23ff976f3361f562f96ecee7b21

And while I was poking around, apk became the default package manager: https://github.com/openwrt/openwrt/commit/40b8fbaa9754c86480eefc3692c9116a51a64718

So, I'm guessing updates on SNAPSHOT are going to be, uh, exciting for the next couple of days.

2 Likes

The file at this address cannot be accessed.
Is this related to work on the update server, or will something need to be changed manually?

That's one of the broken parts that needs to be fixed over the next week or two. There's no package index available on the upstream servers yet (well, there's packages.adb, but I can't find any documentation on its format, so I can't figure out how to parse it).

2 Likes
Error: Impossible package selection
 STDERR
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
fetch https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/packages/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/packages.adb: remote server returned error (try 'apk update')
fetch https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/kmods/6.6.60-1-c9606be208eb289f29f41c9afbb1589c/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/packages.adb: remote server returned error (try 'apk update')
fetch https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/packages.adb: remote server returned error (try 'apk update')
fetch https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing/packages.adb: remote server returned error (try 'apk update')
fetch https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/packages.adb: remote server returned error (try 'apk update')
WARNING: opening packages/packages.adb: No such file or directory
Package list missing or not up-to-date, generating it.

Building package index...
fetch https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/packages.adb: remote server returned error (try 'apk update')
fetch https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/packages.adb: remote server returned error (try 'apk update')
fetch https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/packages.adb: remote server returned error (try 'apk update')
fetch https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/routing/packages.adb: remote server returned error (try 'apk update')
fetch https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/packages.adb
WARNING: updating and opening https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/packages.adb: remote server returned error (try 'apk update')
ERROR: unable to select packages:
  apk-mbedtls (no such package):
    required by: world[apk-mbedtls]
  busybox (no such package):
    required by: world[busybox]
  ca-bundle (no such package):
    required by: world[ca-bundle]
  dnsmasq (no such package):
    required by: world[dnsmasq]
  firewall4 (no such package):
    required by: world[firewall4]
  libustream-mbedtls (no such package):
    required by: world[libustream-mbedtls]
  logd (no such package):
    required by: world[logd]
  luci (no such package):
    required by: world[luci]
  luci-proto-qmi (no such package):
    required by: world[luci-proto-qmi]
  netifd (no such package):
    required by: world[netifd]
                 base-files-1631~cdfe413d26[netifd]
  nftables (no such package):
    required by: world[nftables]
  odhcp6c (no such package):
    required by: world[odhcp6c]
  odhcpd-ipv6only (no such package):
    required by: world[odhcpd-ipv6only]
  ppp (no such package):
    required by: world[ppp]
  ppp-mod-pppoe (no such package):
    required by: world[ppp-mod-pppoe]
  procd (no such package):
    required by: world[procd]
  procd-seccomp (no such package):
    required by: world[procd-seccomp]
  procd-ujail (no such package):
    required by: world[procd-ujail]
  qmi-utils (no such package):
    required by: world[qmi-utils]
  uci (no such package):
    required by: world[uci]
  uclient-fetch (no such package):
    required by: world[uclient-fetch]
  urandom-seed (no such package):
    required by: world[urandom-seed]
  urngd (no such package):
    required by: world[urngd]
  wpad-basic-mbedtls (no such package):
    required by: world[wpad-basic-mbedtls]
  ubox (no such package):
    required by: fstools-2024.07.14~408c2cc4-r1[ubox]
  jsonfilter (no such package):
    required by: base-files-1631~cdfe413d26[jsonfilter]
  openwrt-keyring (no such package):
    required by: base-files-1631~cdfe413d26[openwrt-keyring]
  usign (no such package):
    required by: base-files-1631~cdfe413d26[usign]
  iw (no such package):
    required by: kmod-cfg80211-6.6.60.6.11.2-r1[iw]
  iwinfo (no such package):
    required by: kmod-cfg80211-6.6.60.6.11.2-r1[iwinfo]
  wifi-scripts (no such package):
    required by: kmod-cfg80211-6.6.60.6.11.2-r1[wifi-scripts]
  wireless-regdb (no such package):
    required by: kmod-cfg80211-6.6.60.6.11.2-r1[wireless-regdb]
  hostapd-common (no such package):
    required by: kmod-mac80211-6.6.60.6.11.2-r1[hostapd-common]
  libubox20240329 (no such package):
    required by: uqmi-2024.08.25~28b48a10-r2[libubox20240329]
                 mtd-26[libubox20240329]
  libblobmsg-json20240329 (no such package):
    required by: uqmi-2024.08.25~28b48a10-r2[libblobmsg-json20240329]
  wwan (no such package):
    required by: uqmi-2024.08.25~28b48a10-r2[wwan]
make[2]: *** [Makefile:224: package_install] Error 48
make[1]: *** [Makefile:165: _call_manifest] Error 2
make: *** [Makefile:339: manifest] Error 2

Hi all, now i' m using 23.03.5 on my tp-link Archer ax23 but i actived an ftth link and i got 350/350 mbps instead of 2500(1000 limited by my Wan Speed)/1000 mpbs

I found an issue on GitHub on 23.03.5 that slow down speed on pppoe connection. I solved the problem by activating software and hardware flow offloading, now i reach 940 mpbs...

If i understand it good, 23.05.x risolve this problem so i would to upgrade my OpenWrt installation.

In the Archer ax23 Page i read that It supports 23.05.4 but on the firmware selector i can select 23.05.5 also!

Can i install 23.05.5 or i must install .4 version?

The table of hardware is manually updated after a release is made and lags behind the code. You should update to the newest stable version available, whatever that may be right now.

1 Like

I tried to create an sysupgrade image from Attended Sysupgrade, so i selected 23.05 and requested it. But i got this STDERR error:

 * opkg_install_cmd: Cannot install package luci-ssl.
make[2]: *** [Makefile:189: package_install] Error 255
make[1]: *** [Makefile:154: _call_manifest] Error 2
make: *** [Makefile:274: manifest] Error 2

I tried removing luci-ssl from packages list and the building process goes with no problem. Can i upgrade without luci-ssl package safely ?

Should be no problem, as long as the luci package is there you'll still have access (albeit via http instead of https).

Do you also have any openssl (or even wolfssl) packages installed? Maybe they are interfering. Was there anything about ssl/tls in the stdout/stderr?

@aparcar

hi Paul, the firmware selector is failing all builds.

tested with: several qualcomm devices from several targets. just add a single packages, such as luci-ssl or fstrim, and the build fails.

no error is produced. instead the last output is:

WARNING: opening packages/packages.adb: No such file or directory
Package list missing or not up-to-date, generating it.

Building package index...

and a list of packages, and then the build fails with no further output.

Coincidentally I just fixed it, sorry for the fallout.

1 Like

at this stage the build does not start, when you click on the request button nothing happens

thanks! i confirm.

btw, is there a way to retrigger a previously cached but failed build from the FW selector? i think sometimes a build fails seemingly because of a race condition between the build of the FW builder and the build triggered by the FW selector.

@aparcar

hmm... i just bricked a device using a FW selector custom build.

device is Arris TR4400 v2. it was running 23.05.x. i used FW sel to create snapshot + "luci luci-ssl openssh-sftp-server luci-app-attendedsysupgrade owut ip-bridge", which succeed. then used luci to flash the fw. luci complained that settings needed to be wiped (swconfig -> DSA), which was expected. i selected wipe settings, force, then hit GO.

unfortunately, i did not think of flashing the standard snapshot build first; i did not expect a failure. so IDK if this is related to FW sel or not, but reporting it here nonetheless.

the device goes into a bootloop. it does not reach the failsafe wait-for-button stage. it is probably failing with a panic earlier, assuming the bootloader even attempts to boot the kernel, but IDK.

at some point i will need to tap into the serial port to unravel this.

Just did the same trying to upgrade a R6220 (mt7621). My guess is that snapshots are undergoing heavy changes due to transition from opkg to apk. Some settings may also need to be refined. Hence snapshots images may be broken for the time being.

1 Like

did you use a custom image from the FW selector or a regular snapshot?

ok, something really weird is happening with the way the snapshot kernel is treating multiple MTD partitions that occupy the same flash area and is causing boot to fail. @aparcar, this is unrelated to the FW selector.

1 Like

Just bricked my Xiaomi AX3000T with the firmware selector image.