Attended Sysupgrade Firmware upgrade issue
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 450
- Forks
- 111
- PR merge metrics
- No merged PRs in 30d
Description
Request Data:
{
"url": "https://sysupgrade.openwrt.org",
"revision": "r20134-5f15225c1e",
"advanced_mode": "1",
"branch": "22.03",
"efi": {
"path": "/sys/firmware/efi",
"type": "directory",
"size": 0,
"mode": 16877,
"atime": 1711612098,
"mtime": 1711612098,
"ctime": 1711612098,
"inode": 9049,
"uid": 0,
"gid": 0
},
"request_hash": "c5dd72842a9dcc9530259a45468f2c5c",
"profile": "default-string-default-string",
"target": "x86/64",
"version": "23.05.3",
"packages": [
"auc",
"base-files",
"busybox",
"ca-bundle",
"ca-certificates",
"cgi-io",
"collectd-mod-ping",
"ddns-scripts",
"dnsmasq",
"dropbear",
"e2fsprogs",
"fdisk",
"firewall4",
"fstools",
"fwtool",
"getrandom",
"grub2",
"grub2-bios-setup",
"grub2-efi",
"htop",
"iptables-nft",
"irqbalance",
"jansson",
"jshn",
"jsonfilter",
"kernel",
"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-sched-cake",
"kmod-slhc",
"kmod-tcp-bbr",
"kmod-tg3",
"kmod-tun",
"kmod-veth",
"libblkid",
"libblobmsg-json",
"libc",
"libcomerr",
"libext2fs",
"libf2fs",
"libiwinfo",
"libiwinfo-data",
"libiwinfo-lua",
"libjson-c",
"libjson-script",
"liblua",
"liblucihttp",
"liblucihttp-lua",
"libmnl",
"libnftnl",
"libnl-tiny",
"libsmartcols",
"libss",
"libubox",
"libubus",
"libubus-lua",
"libuci",
"libuclient",
"libucode",
"libustream-wolfssl",
"libuuid",
"libwolfssl",
"logd",
"losetup",
"lsblk",
"lua",
"luci",
"luci-app-attendedsysupgrade",
"luci-app-ddns",
"luci-app-firewall",
"luci-app-nlbwmon",
"luci-app-opkg",
"luci-app-statistics",
"luci-app-wireguard",
"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-ssl",
"luci-theme-bootstrap",
"mkf2fs",
"mtd",
"netifd",
"nftables-json",
"odhcp6c",
"odhcpd-ipv6only",
"openwrt-keyring",
"opkg",
"partx-utils",
"powertop",
"ppp",
"ppp-mod-pppoe",
"procd",
"procd-seccomp",
"procd-ujail",
"px5g-wolfssl",
"qrencode",
"resize2fs",
"rpcd",
"rpcd-mod-file",
"rpcd-mod-iwinfo",
"rpcd-mod-luci",
"rpcd-mod-rrdns",
"tailscale",
"tc-tiny",
"ubox",
"ubus",
"ubusd",
"uci",
"uclient-fetch",
"ucode",
"ucode-mod-fs",
"ucode-mod-ubus",
"ucode-mod-uci",
"uhttpd",
"uhttpd-mod-ubus",
"urandom-seed",
"urngd",
"usign"
],
"diff_packages": true,
"filesystem": "squashfs",
"client": "luci/git-23.093.42303-58b861d"
}
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/releases/23.05.3/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.3/targets/x86/64/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.3/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.3/packages/x86_64/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.3/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.3/packages/x86_64/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.3/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.3/packages/x86_64/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.3/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.3/packages/x86_64/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.3/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.3/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:
* check_data_file_clashes: Package libustream-mbedtls20201210 wants to install file /builder/build_dir/target-x86_64_musl/root-x86/lib/libustream-ssl.so
But that file is already provided by package * libustream-wolfssl20201210
* 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
thanks in advance <3
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported request data and STDERR, then inspect the package-install path at Makefile:189 and its callers at Makefile:154 and Makefile:274. Trace why luci-ssl selects both libustream-mbedtls20201210 and libustream-wolfssl20201210; done means the reported 23.05.3 x86/64 image build completes without the file clash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100