openwrt / openwrt/asu

Unable to upgrade to lastest SNAPSHOT version

Open
#1,097 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
450
Forks
111
PR merge metrics
No merged PRs in 30d

Description

Trying to upgrade Netgear WNDR3800CH using Luci Attended-sysupgrade
From: OpenWrt SNAPSHOT r27279-8b6c63cfaf / LuCI Master 24.212.79282~65b8002
To: SNAPSHOT - r28199-1bdb6d8404

If I add OPKG as a dependency it throws this error
NOTE: opkg is NOT available anywhere in https://downloads.openwrt.org/snapshots/packages/mips_24kc/

Request Data:
{
"url": "https://sysupgrade.openwrt.org",
"branch": "SNAPSHOT",
"revision": "r27279-8b6c63cfaf",
"efi": null,
"advanced_mode": "1",
"request_hash": "",
"sha256_unsigned": "",
"client": "luci/24.205.37920e55f9d9",
"packages": {
"libc": "1.2.5-r4",
"libpthread": "1.2.5-r4",
"busybox": "1.36.1-r1",
"zram-swap": "32",
"swconfig": "12",
"kmod-lib-crc-ccitt": "6.6.48-r1",
"getrandom": "2024.04.26
85f10530-r1",
"kmod-pppoe": "6.6.48-r1",
"procd-ujail": "2024.07.07f230c117-r1",
"base-files": "1614
8b6c63cfaf",
"libustream-mbedtls": "2024.07.2899bd3d2b-r1",
"firewall4": "2024.05.21
4c01d1eb-r1",
"uboot-envtools": "2024.07-r1",
"kmod-usb-ohci": "6.6.48-r1",
"dnsmasq": "2.90-r3",
"procd": "2024.07.07f230c117-r1",
"kmod-crypto-acompress": "6.6.48-r1",
"kmod-leds-reset": "6.6.48-r1",
"kmod-usb2": "6.6.48-r1",
"libmbedtls": "3.6.0-r1",
"odhcp6c": "2023.05.12
bcd28363-r20",
"kmod-ath9k": "6.6.48.6.9.9-r1",
"uci": "2023.08.105781664d-r1",
"dropbear": "2024.85-r1",
"luci-app-dawn": "24.188.45693
65f8c14",
"mtd": "26",
"odhcpd-ipv6only": "2024.05.08a2988231-r1",
"wpad": "2024.03.09
695277a5-r3",
"kmod-owl-loader": "6.6.48.6.9.9-r1",
"procd-seccomp": "2024.07.07f230c117-r1",
"libjson-script": "2024.03.29
eb9bcb64-r1",
"urandom-seed": "3",
"ppp": "2.4.9_git20210104-r5",
"kmod-gpio-button-hotplug": "6.6.48-r3",
"logd": "2024.04.2685f10530-r1",
"luci-app-attendedsysupgrade": "24.205.37920
e55f9d9",
"kmod-ppp": "6.6.48-r1",
"ca-bundle": "20240203-r1",
"libuclient": "2024.04.19e8780fa7-r1",
"luci": "23.051.66410
a505bb1",
"owut": "2024.08.098a6becd8-r1",
"kmod-switch-rtl8366s": "6.6.48-r1",
"kmod-usb-ledtrig-usbport": "6.6.48-r1",
"kmod-lib-lzo": "6.6.48-r1",
"kmod-ath": "6.6.48.6.9.9-r1",
"kernel": "6.6.48
cbf8446a39d3bcd8258a4b4723e5f5b5-r1",
"urngd": "2023.11.01~44365eb1-r1",
"ppp-mod-pppoe": "2.4.9_git20210104-r5"
},
"profile": "netgear,wndr3800ch",
"target": "ath79/generic",
"version": "SNAPSHOT",
"diff_packages": true,
"filesystem": "squashfs"
}
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/ath79/generic/packages/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/packages.adb
fetch https://downloads.openwrt.org/snapshots/targets/ath79/generic/kmods/6.6.63-1-7d0e1a34e0ba3672a93534d0608105ac/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/mips_24kc/luci/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/mips_24kc/packages/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/mips_24kc/routing/packages.adb
fetch https://downloads.openwrt.org/snapshots/packages/mips_24kc/telephony/packages.adb
WARNING: opening packages/packages.adb: No such file or directory
Package list missing or not up-to-date, generating it.

Building package index...
ERROR: unable to select packages:
opkg (no such package):
required by: world[opkg]
make[2]: *** [Makefile:225: package_install] Error 1
make[1]: *** [Makefile:166: _call_manifest] Error 2
make: *** [Makefile:340: manifest] Error 2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the ASU request handling and package-index generation path for the reported sysupgrade request. Reproduce the SNAPSHOT build with profile netgear,wndr3800ch and the opkg dependency, then trace why the packages index is missing; done means the requested image builds successfully with that dependency.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.