openwrt / openwrt/asu

sysupgrade fail

Open
#1,292 0 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

BasementRouter

Status
    Overview
    Routing
    Firewall
    System Log
    Processes
    Channel Analysis
    Realtime Graphs
    WireGuard
System
    System
    Administration
    Software
    Startup
    Scheduled Tasks
    Attended Sysupgrade
    LED Configuration
    Backup / Flash Firmware
    Reboot
Services
    banIP
Network
    Interfaces
    Wireless
    Switch
    Routing
    DHCP and DNS
    Diagnostics
    Firewall
Statistics
    Graphs
    Setup
Log out

Paused

Overview
Configuration

Attended Sysupgrade

The attended sysupgrade service allows to easily upgrade vanilla and custom firmware images.

This is done by building a new firmware on demand via an online service.

Currently running: 23.05.5 - r24106-10cc5fcd00
Powered by LuCI openwrt-23.05 branch (git-24.340.62040-d52505e) / OpenWrt 23.05.5 (r24106-10cc5fcd00)
Error building the firmware image

Server response: Error: Impossible package selection
Please report the error message and request

Request Data:

{
"url": "https://sysupgrade.openwrt.org",
"revision": "r24106-10cc5fcd00",
"advanced_mode": "1",
"sha256_unsigned": "",
"branch": "23.05",
"efi": null,
"profile": "netgear,r7800",
"target": "ipq806x/generic",
"version": "24.10.0",
"packages": [
"ath10k-board-qca9984",
"ath10k-firmware-qca9984-ct",
"attendedsysupgrade-common",
"auc",
"banip",
"base-files",
"busybox",
"ca-bundle",
"cgi-io",
"dnsmasq-full",
"dropbear",
"firewall4",
"fstools",
"fwtool",
"getrandom",
"ip6tables-nft",
"iptables-nft",
"iw",
"iwinfo",
"jansson",
"jshn",
"jsonfilter",
"kernel",
"kmod-ata-ahci",
"kmod-ata-ahci-platform",
"kmod-ata-core",
"kmod-ath",
"kmod-ath10k-ct",
"kmod-cfg80211",
"kmod-crypto-acompress",
"kmod-crypto-aead",
"kmod-crypto-ccm",
"kmod-crypto-cmac",
"kmod-crypto-crc32c",
"kmod-crypto-ctr",
"kmod-crypto-gcm",
"kmod-crypto-gf128",
"kmod-crypto-ghash",
"kmod-crypto-hash",
"kmod-crypto-hmac",
"kmod-crypto-manager",
"kmod-crypto-null",
"kmod-crypto-rng",
"kmod-crypto-seqiv",
"kmod-crypto-sha256",
"kmod-crypto-sha512",
"kmod-gpio-button-hotplug",
"kmod-hwmon-core",
"kmod-ip6tables",
"kmod-ipt-conntrack",
"kmod-ipt-core",
"kmod-ipt-nat",
"kmod-ipt-offload",
"kmod-leds-gpio",
"kmod-lib-crc-ccitt",
"kmod-lib-crc32c",
"kmod-lib-lzo",
"kmod-mac80211",
"kmod-nf-conntrack",
"kmod-nf-conntrack6",
"kmod-nf-flow",
"kmod-nf-ipt",
"kmod-nf-ipt6",
"kmod-nf-log",
"kmod-nf-log6",
"kmod-nf-nat",
"kmod-nf-reject",
"kmod-nf-reject6",
"kmod-nfnetlink",
"kmod-nfnetlink-log",
"kmod-nft-compat",
"kmod-nft-core",
"kmod-nft-dup-inet",
"kmod-nft-fib",
"kmod-nft-nat",
"kmod-nft-offload",
"kmod-nls-base",
"kmod-phy-qcom-ipq806x-usb",
"kmod-ppp",
"kmod-pppoe",
"kmod-pppox",
"kmod-ramoops",
"kmod-scsi-core",
"kmod-slhc",
"kmod-tun",
"kmod-usb-core",
"kmod-usb-dwc3",
"kmod-usb-dwc3-qcom",
"kmod-usb-ehci",
"kmod-usb-ledtrig-usbport",
"kmod-usb-ohci",
"kmod-usb-xhci-hcd",
"kmod-usb2",
"kmod-usb3",
"libblobmsg-json",
"libc",
"libgcc",
"libip4tc",
"libip6tc",
"libiptext",
"libiptext-nft",
"libiptext6",
"libiwinfo",
"libiwinfo-data",
"libiwinfo-lua",
"libjson-c",
"libjson-script",
"liblua",
"liblucihttp",
"liblucihttp-lua",
"liblucihttp-ucode",
"liblzo",
"libmbedtls",
"libmnl",
"libnftnl",
"libnl-tiny",
"libopenssl-conf",
"libpcap",
"libpcre",
"libpthread",
"libubox",
"libubus",
"libubus-lua",
"libuci",
"libuclient",
"libucode",
"libustream-mbedtls",
"libxtables",
"logd",
"lua",
"luci",
"luci-app-attendedsysupgrade",
"luci-app-banip",
"luci-app-firewall",
"luci-app-opkg",
"luci-app-statistics",
"luci-base",
"luci-lib-base",
"luci-lib-ip",
"luci-lib-jsonc",
"luci-lib-nixio",
"luci-light",
"luci-mod-admin-full",
"luci-mod-network",
"luci-mod-status",
"luci-mod-system",
"luci-proto-ipv6",
"luci-proto-ppp",
"luci-proto-wireguard",
"luci-ssl",
"luci-theme-bootstrap",
"mtd",
"netifd",
"nftables-json",
"odhcp6c",
"odhcpd-ipv6only",
"openssl-util",
"openwrt-keyring",
"opkg",
"ppp",
"ppp-mod-pppoe",
"procd",
"procd-seccomp",
"procd-ujail",
"px5g-mbedtls",
"qrencode",
"rpcd",
"rpcd-mod-file",
"rpcd-mod-iwinfo",
"rpcd-mod-luci",
"rpcd-mod-rpcsys",
"rpcd-mod-rrdns",
"rpcd-mod-ucode",
"swconfig",
"tcpdump",
"ubi-utils",
"uboot-envtools",
"ubox",
"ubus",
"ubusd",
"uci",
"uclient-fetch",
"ucode",
"ucode-mod-fs",
"ucode-mod-html",
"ucode-mod-math",
"ucode-mod-nl80211",
"ucode-mod-rtnl",
"ucode-mod-ubus",
"ucode-mod-uci",
"ucode-mod-uloop",
"uhttpd",
"uhttpd-mod-ubus",
"urandom-seed",
"urngd",
"usign",
"wireless-regdb",
"wpad-openssl",
"xtables-nft"
],
"diff_packages": true,
"filesystem": "squashfs",
"client": "luci/git-24.340.62040-d52505e"
}

STDERR:

Generate local signing keys...
Generate local certificate...
Package list missing or not up-to-date, generating it.

Building package index...
Downloading http://downloads.openwrt.org/releases/24.10.0/targets/ipq806x/generic/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/../../../../builder/dl/openwrt_core
Downloading http://downloads.openwrt.org/releases/24.10.0/targets/ipq806x/generic/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a15_neon-vfpv4/base/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/../../../../builder/dl/openwrt_base
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a15_neon-vfpv4/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/targets/ipq806x/generic/kmods/6.6.73-1-dd9e13746928f1f8b981cb287862653f/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/../../../../builder/dl/openwrt_kmods
Downloading http://downloads.openwrt.org/releases/24.10.0/targets/ipq806x/generic/kmods/6.6.73-1-dd9e13746928f1f8b981cb287862653f/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a15_neon-vfpv4/luci/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/../../../../builder/dl/openwrt_luci
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a15_neon-vfpv4/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a15_neon-vfpv4/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/../../../../builder/dl/openwrt_packages
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a15_neon-vfpv4/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a15_neon-vfpv4/routing/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/../../../../builder/dl/openwrt_routing
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a15_neon-vfpv4/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a15_neon-vfpv4/telephony/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/../../../../builder/dl/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/24.10.0/packages/arm_cortex-a15_neon-vfpv4/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /builder/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/root-ipq806x/../../../../builder/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check passed.
Collected errors:

  • opkg_install_cmd: Cannot install package libpcre.
    make[2]: *** [Makefile:234: package_install] Error 255
    make[1]: *** [Makefile:171: _call_manifest] Error 2
    make: *** [Makefile:349: manifest] Error 2

Close

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 with the Attended Sysupgrade request to https://sysupgrade.openwrt.org for profile netgear,r7800 and version 24.10.0, then trace the reported “Impossible package selection” and missing libpcre in the ASU service. Reproduce the package selection failure and identify what must change so the firmware image builds successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.