openwrt / asu

An image on demand server for OpenWrt based distributions
https://sysupgrade.openwrt.org
GNU General Public License v2.0
332 stars 83 forks source link

21.02 -> 22.03 update fails due to missing swconfig #405

Closed tohojo closed 1 year ago

tohojo commented 2 years ago

Can't seem to update from 21.02 to 22.03 because of a missing swconfig package?

root@uap1:~# auc -b 22.03 -y
auc (0.2.4-8)
Server:    https://sysupgrade.openwrt.org
Running:   21.02.3 r16554-1d4dea6d4f on ath79/generic (ubnt,unifiac-lite)
Available: 22.03.0 r19685-512e76967f
Requesting package lists...
 iwinfo: 2022-04-26-dc6847eb-1 -> 2022-08-19-0dad3e66-1
 liblucihttp: 2021-06-11-3dc89af4-1 -> 2022-07-08-6e68a106-1
 opkg: 2021-06-13-1bf042dd-1 -> 2022-02-24-d038e5b6-1
 luci-app-opkg: git-22.273.29015-e01e38c -> git-22.273.29004-9f6876b
 ubus: 2021-06-30-4fc532c8-2 -> 2022-06-01-2bebf93c-1
 iw: 5.9-8fab0c9e-3 -> 5.16-1
 libuci: 2021-04-14-4b3db117-5 -> 2021-10-22-f84f49f0-6
 rpcd: 2022-02-19-8d26a1ba-1 -> 2022-08-24-82904bd4-1
 busybox: 1.33.2-2 -> 1.35.0-3
 libubus-lua: 2021-06-30-4fc532c8-2 -> 2022-06-01-2bebf93c-1
 kmod-nf-reject6: 5.4.188-1 -> 5.10.138-1
 libiwinfo-lua: 2022-04-26-dc6847eb-1 -> 2022-08-19-0dad3e66-1
 luci-mod-system: git-22.264.46189-30ba277 -> git-22.264.46172-b6b7da4
 kmod-nf-flow: 5.4.188-1 -> 5.10.138-1
 libnl-tiny: 2020-08-05-c291088f-2 -> 2021-11-21-8e0555fb-1
 kmod-lib-crc-ccitt: 5.4.188-1 -> 5.10.138-1
 getrandom: 2020-10-25-9ef88681-2 -> 2021-08-03-205defb5-2
 luci-theme-bootstrap: git-22.084.39047-f1d687e -> git-22.141.59265-d8ecf48
 kmod-pppoe: 5.4.188-1 -> 5.10.138-1
 kmod-pppox: 5.4.188-1 -> 5.10.138-1
 kmod-ipt-conntrack: 5.4.188-1 -> 5.10.138-1
 kmod-nf-reject: 5.4.188-1 -> 5.10.138-1
 base-files: 1442-r16554-1d4dea6d4f -> 1490-r19685-512e76967f
 kmod-nf-nat: 5.4.188-1 -> 5.10.138-1
 libubus: 2021-06-30-4fc532c8-2 -> 2022-06-01-2bebf93c-1
 libjson-script: 2021-05-16-b14c4688-2 -> 2022-05-15-d2223ef9-1
 netifd: 2021-10-30-8f82742c-1 -> 2022-08-25-76d2d41b-1
 uboot-envtools: 2021.01-13 -> 2022.01-31
 dnsmasq: 2.85-8 -> 2.86-14
 procd: 2021-03-08-2cfc26f8-1 -> 2022-06-01-7a009685-1
 ubusd: 2021-06-30-4fc532c8-2 -> 2022-06-01-2bebf93c-1
 px5g-wolfssl: 4.1 -> 5.1
 luci-mod-status: git-22.089.70019-d4f0b06 -> git-22.189.48501-6731190
 libxtables: 1.8.7-1 -> 1.8.7-7
 firewall: 2021-03-23-61db17ed-1.1 -> 2022-02-17-4cd7d4f3-3
 luci-app-firewall: git-22.089.67741-3856d50 -> git-22.089.67563-7e3c1b4
 kmod-nf-ipt: 5.4.188-1 -> 5.10.138-1
 kmod-ip6tables: 5.4.188-1 -> 5.10.138-1
 odhcp6c: 2021-01-09-53f07e90-16 -> 2022-08-05-7d21e8d8-18
 fstools: 2021-01-04-c53b1882-1 -> 2022-06-02-93369be0-2
 kmod-ath9k: 5.4.188+5.10.110-1-1 -> 5.10.138+5.15.58-1-1
 uci: 2021-04-14-4b3db117-5 -> 2021-10-22-f84f49f0-6
 lua: 5.1.5-9 -> 5.1.5-10
 libip4tc: 1.8.7-1 -> 1.8.7-7
 dropbear: 2020.81-2 -> 2022.82-2
 kmod-hwmon-core: 5.4.188-1 -> 5.10.138-1
 rpcd-mod-file: 2022-02-19-8d26a1ba-1 -> 2022-08-24-82904bd4-1
 odhcpd-ipv6only: 2021-07-18-bc9d317f-3 -> 2022-03-22-860ca900-1
 wpad: 2020-06-08-5a8b3662-41 -> 2022-01-16-cff80b4f-13.1
 libblobmsg-json: 2021-05-16-b14c4688-2 -> 2022-05-15-d2223ef9-1
 libiwinfo-data: 2022-04-26-dc6847eb-1 -> 2022-08-19-0dad3e66-1
 luci-proto-ppp: git-21.163.64918-6c6559a -> git-21.158.38888-88b9d84
 ppp: 2.4.8.git-2020-10-03-3 -> 2.4.9.git-2021-01-04-3
 luci-base: git-22.245.77575-63bfee6 -> git-22.245.77528-487e58a
 kmod-gpio-button-hotplug: 5.4.188-3 -> 5.10.138-3
 snmpd: 5.8-2 -> 5.9.1-3
 logd: 2020-10-25-9ef88681-2 -> 2021-08-03-205defb5-2
 kmod-mac80211: 5.4.188+5.10.110-1-1 -> 5.10.138+5.15.58-1-1
 libwolfssl: 5.5.1-stable-2 -> 5.5.1-stable-3
 luci-proto-ipv6: git-21.148.49484-14511e5 -> git-21.148.48881-79947af
 libip6tc: 1.8.7-1 -> 1.8.7-7
installed package iptables cannot be found in remote list!
 openwrt-keyring: 2021-02-20-49283916-2 -> 2022-03-25-62471e69-3
 libubox: 2021-05-16-b14c4688-2 -> 2022-05-15-d2223ef9-1
 jshn: 2021-05-16-b14c4688-2 -> 2022-05-15-d2223ef9-1
 kmod-ipt-core: 5.4.188-1 -> 5.10.138-1
 attendedsysupgrade-common: 0.3-1 -> 7
 kmod-ppp: 5.4.188-1 -> 5.10.138-1
 libpcap: 1.9.1-3.1 -> 1.10.1-3
 libiwinfo: 2022-04-26-dc6847eb-1 -> 2022-08-19-0dad3e66-1
 auc: 0.2.4-8 -> 0.2.5-2
 uhttpd: 2021-03-21-15346de8-2 -> 2022-08-12-e3395cd9-1
 kmod-nf-conntrack: 5.4.188-1 -> 5.10.138-1
 ath10k-board-qca988x: 20211216-1 -> 20220411-1
installed package ip6tables cannot be found in remote list!
 liblua: 5.1.5-9 -> 5.1.5-10
 kmod-nf-ipt6: 5.4.188-1 -> 5.10.138-1
 kmod-ath10k-ct: 5.4.188+2021-09-22-e6a7d5b5-1 -> 5.10.138+2022-05-13-f808496f-1
 rpcd-mod-rpcsys: 2022-02-19-8d26a1ba-1 -> 2022-08-24-82904bd4-1
 ca-bundle: 20210119-1 -> 20211016-1
 liblucihttp-lua: 2021-06-11-3dc89af4-1 -> 2022-07-08-6e68a106-1
 luci-lib-jsonc: git-22.097.61937-bc85ba5 -> git-22.097.61921-7513345
 kmod-nf-conntrack6: 5.4.188-1 -> 5.10.138-1
 libgcc: 8.4.0-3 -> 11.2.0-4
 kmod-ath: 5.4.188+5.10.110-1-1 -> 5.10.138+5.15.58-1-1
 ubox: 2020-10-25-9ef88681-2 -> 2021-08-03-205defb5-2
 rpcd-mod-iwinfo: 2022-02-19-8d26a1ba-1 -> 2022-08-24-82904bd4-1
 luci-mod-network: git-22.244.54918-77c916e -> git-22.244.54818-b13d8c7
 libnetsnmp: 5.8-2 -> 5.9.1-3
 uhttpd-mod-ubus: 2021-03-21-15346de8-2 -> 2022-08-12-e3395cd9-1
 hostapd-common: 2020-06-08-5a8b3662-41 -> 2022-01-16-cff80b4f-13.1
 kmod-ipt-offload: 5.4.188-1 -> 5.10.138-1
 kmod-ath9k-common: 5.4.188+5.10.110-1-1 -> 5.10.138+5.15.58-1-1
 wireless-regdb: 2021.08.28-1 -> 2022.08.12-1
 kmod-slhc: 5.4.188-1 -> 5.10.138-1
 kmod-cfg80211: 5.4.188+5.10.110-1-1 -> 5.10.138+5.15.58-1-1
 ppp-mod-pppoe: 2.4.8.git-2020-10-03-3 -> 2.4.9.git-2021-01-04-3
 kmod-ipt-nat: 5.4.188-1 -> 5.10.138-1
ath10k-board-qca988x - 20220411-1
ath10k-firmware-qca988x-ct - 2020-11-08-1
attendedsysupgrade-common - 7
auc - 0.2.5-2
base-files - 1490-r19685-512e76967f
busybox - 1.35.0-3
ca-bundle - 20211016-1
cgi-io - 2022-08-10-901b0f04-21
dnsmasq - 2.86-14
dropbear - 2022.82-2
firewall4 - 2022-09-01-f5fcdcf2-1
fstools - 2022-06-02-93369be0-2
fwtool - 2019-11-12-8f7fe925-1
getrandom - 2021-08-03-205defb5-2
hostapd-common - 2022-01-16-cff80b4f-13.1
iw - 5.16-1
iwinfo - 2022-08-19-0dad3e66-1
jansson - 2.13.1-2
jshn - 2022-05-15-d2223ef9-1
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 5.10.138-1-abf0c66378f3d0588b20489662c12426
kmod-ath - 5.10.138+5.15.58-1-1
kmod-ath10k-ct - 5.10.138+2022-05-13-f808496f-1
kmod-ath9k - 5.10.138+5.15.58-1-1
kmod-ath9k-common - 5.10.138+5.15.58-1-1
kmod-cfg80211 - 5.10.138+5.15.58-1-1
kmod-crypto-aead - 5.10.138-1
kmod-crypto-ccm - 5.10.138-1
kmod-crypto-cmac - 5.10.138-1
kmod-crypto-crc32c - 5.10.138-1
kmod-crypto-ctr - 5.10.138-1
kmod-crypto-gcm - 5.10.138-1
kmod-crypto-gf128 - 5.10.138-1
kmod-crypto-ghash - 5.10.138-1
kmod-crypto-hash - 5.10.138-1
kmod-crypto-hmac - 5.10.138-1
kmod-crypto-manager - 5.10.138-1
kmod-crypto-null - 5.10.138-1
kmod-crypto-rng - 5.10.138-1
kmod-crypto-seqiv - 5.10.138-1
kmod-crypto-sha256 - 5.10.138-1
kmod-gpio-button-hotplug - 5.10.138-3
kmod-hwmon-core - 5.10.138-1
kmod-ip6tables - 5.10.138-1
kmod-ipt-conntrack - 5.10.138-1
kmod-ipt-core - 5.10.138-1
kmod-ipt-nat - 5.10.138-1
kmod-ipt-offload - 5.10.138-1
kmod-lib-crc-ccitt - 5.10.138-1
kmod-lib-crc32c - 5.10.138-1
kmod-mac80211 - 5.10.138+5.15.58-1-1
kmod-nf-conntrack - 5.10.138-1
kmod-nf-conntrack6 - 5.10.138-1
kmod-nf-flow - 5.10.138-1
kmod-nf-ipt - 5.10.138-1
kmod-nf-ipt6 - 5.10.138-1
kmod-nf-log - 5.10.138-1
kmod-nf-log6 - 5.10.138-1
kmod-nf-nat - 5.10.138-1
kmod-nf-reject - 5.10.138-1
kmod-nf-reject6 - 5.10.138-1
kmod-nfnetlink - 5.10.138-1
kmod-nft-core - 5.10.138-1
kmod-nft-fib - 5.10.138-1
kmod-nft-nat - 5.10.138-1
kmod-nft-offload - 5.10.138-1
kmod-ppp - 5.10.138-1
kmod-pppoe - 5.10.138-1
kmod-pppox - 5.10.138-1
kmod-slhc - 5.10.138-1
libblobmsg-json - 2022-05-15-d2223ef9-1
libc - 1.2.3-4
libgcc - 11.2.0-4
libip4tc - 1.8.7-7
libip6tc - 1.8.7-7
libiwinfo-data - 2022-08-19-0dad3e66-1
libiwinfo-lua - 2022-08-19-0dad3e66-1
libiwinfo - 2022-08-19-0dad3e66-1
libjson-c - 0.15-2
libjson-script - 2022-05-15-d2223ef9-1
liblua - 5.1.5-10
liblucihttp-lua - 2022-07-08-6e68a106-1
liblucihttp - 2022-07-08-6e68a106-1
libmnl - 1.0.5-1
libnetsnmp - 5.9.1-3
libnftnl - 1.2.1-1
libnl-tiny - 2021-11-21-8e0555fb-1
libpcap - 1.10.1-3
libpci - 3.8.0-2
libpcre - 8.45-3
libpthread - 1.2.3-4
libubox - 2022-05-15-d2223ef9-1
libubus-lua - 2022-06-01-2bebf93c-1
libubus - 2022-06-01-2bebf93c-1
libuci - 2021-10-22-f84f49f0-6
libuclient - 2021-05-14-6a6011df-1
libucode - 2022-08-29-344fa9e6-1
libustream-wolfssl - 2022-01-16-868fd881-2
libwolfssl - 5.5.1-stable-3
libxtables - 1.8.7-7
logd - 2021-08-03-205defb5-2
lua - 5.1.5-10
luci - git-20.074.84698-ead5e81
luci-app-firewall - git-22.089.67563-7e3c1b4
luci-app-opkg - git-22.273.29004-9f6876b
luci-base - git-22.245.77528-487e58a
luci-lib-base - git-20.232.39649-1f6dc29
luci-lib-ip - git-20.250.76529-62505bd
luci-lib-jsonc - git-22.097.61921-7513345
luci-lib-nixio - git-20.234.06894-c4a4e43
luci-mod-admin-full - git-19.253.48496-3f93650
luci-mod-network - git-22.244.54818-b13d8c7
luci-mod-status - git-22.189.48501-6731190
luci-mod-system - git-22.264.46172-b6b7da4
luci-proto-ipv6 - git-21.148.48881-79947af
luci-proto-ppp - git-21.158.38888-88b9d84
luci-ssl - git-20.244.36115-e10f954
luci-theme-bootstrap - git-22.141.59265-d8ecf48
mtd - 26
netifd - 2022-08-25-76d2d41b-1
nftables-json - 1.0.2-2.1
odhcp6c - 2022-08-05-7d21e8d8-18
odhcpd-ipv6only - 2022-03-22-860ca900-1
openwrt-keyring - 2022-03-25-62471e69-3
opkg - 2022-02-24-d038e5b6-1
ppp - 2.4.9.git-2021-01-04-3
ppp-mod-pppoe - 2.4.9.git-2021-01-04-3
procd - 2022-06-01-7a009685-1
px5g-wolfssl - 5.1
rpcd - 2022-08-24-82904bd4-1
rpcd-mod-file - 2022-08-24-82904bd4-1
rpcd-mod-iwinfo - 2022-08-24-82904bd4-1
rpcd-mod-luci - 20210614
rpcd-mod-rpcsys - 2022-08-24-82904bd4-1
rpcd-mod-rrdns - 20170710
snmpd - 5.9.1-3
tcpdump - 4.9.3-4
uboot-envtools - 2022.01-31
ubox - 2021-08-03-205defb5-2
ubus - 2022-06-01-2bebf93c-1
ubusd - 2022-06-01-2bebf93c-1
uci - 2021-10-22-f84f49f0-6
uclient-fetch - 2021-05-14-6a6011df-1
ucode - 2022-08-29-344fa9e6-1
ucode-mod-fs - 2022-08-29-344fa9e6-1
ucode-mod-ubus - 2022-08-29-344fa9e6-1
ucode-mod-uci - 2022-08-29-344fa9e6-1
uhttpd - 2022-08-12-e3395cd9-1
uhttpd-mod-ubus - 2022-08-12-e3395cd9-1
urandom-seed - 3
urngd - 2020-01-21-c7f7b6b6-1
usign - 2020-05-23-f1f65026-1
wireless-regdb - 2022.08.12-1
wpad - 2022-01-16-cff80b4f-13.1
Package list missing or not up-to-date, generating it.

Building package index...
Downloading https://downloads.openwrt.org/releases/22.03.0/targets/ath79/generic/packages/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.0/ath79/generic/build_dir/target-mips_24kc_musl/root-ath79/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.0/ath79/generic/dl/openwrt_core
Downloading https://downloads.openwrt.org/releases/22.03.0/targets/ath79/generic/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03.0/packages/mips_24kc/base/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.0/ath79/generic/build_dir/target-mips_24kc_musl/root-ath79/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.0/ath79/generic/dl/openwrt_base
Downloading https://downloads.openwrt.org/releases/22.03.0/packages/mips_24kc/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03.0/packages/mips_24kc/luci/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.0/ath79/generic/build_dir/target-mips_24kc_musl/root-ath79/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.0/ath79/generic/dl/openwrt_luci
Downloading https://downloads.openwrt.org/releases/22.03.0/packages/mips_24kc/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03.0/packages/mips_24kc/packages/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.0/ath79/generic/build_dir/target-mips_24kc_musl/root-ath79/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.0/ath79/generic/dl/openwrt_packages
Downloading https://downloads.openwrt.org/releases/22.03.0/packages/mips_24kc/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03.0/packages/mips_24kc/routing/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.0/ath79/generic/build_dir/target-mips_24kc_musl/root-ath79/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.0/ath79/generic/dl/openwrt_routing
Downloading https://downloads.openwrt.org/releases/22.03.0/packages/mips_24kc/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/22.03.0/packages/mips_24kc/telephony/Packages.gz
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.0/ath79/generic/build_dir/target-mips_24kc_musl/root-ath79/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.0/ath79/generic/dl/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/22.03.0/packages/mips_24kc/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /home/aparcar/asu/worker1/cache/22.03.0/ath79/generic/build_dir/target-mips_24kc_musl/root-ath79/../../../../../../../../../../../home/aparcar/asu/worker1/cache/22.03.0/ath79/generic/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check failed.
Remove wrong Signature file.
Collected errors:
 * opkg_conf_parse_file: Duplicate src declaration (openwrt_core https://downloads.openwrt.org/releases/22.03.0/targets/ath79/generic/packages). Skipping.
 * opkg_conf_parse_file: Duplicate src declaration (openwrt_base https://downloads.openwrt.org/releases/22.03.0/packages/mips_24kc/base). Skipping.
 * opkg_conf_parse_file: Duplicate src declaration (openwrt_luci https://downloads.openwrt.org/releases/22.03.0/packages/mips_24kc/luci). Skipping.
 * opkg_conf_parse_file: Duplicate src declaration (openwrt_packages https://downloads.openwrt.org/releases/22.03.0/packages/mips_24kc/packages). Skipping.
 * opkg_conf_parse_file: Duplicate src declaration (openwrt_routing https://downloads.openwrt.org/releases/22.03.0/packages/mips_24kc/routing). Skipping.
 * opkg_conf_parse_file: Duplicate src declaration (openwrt_telephony https://downloads.openwrt.org/releases/22.03.0/packages/mips_24kc/telephony). Skipping.
Error: Impossible package selection: swconfig not in manifest
Bad message (77)
aparcar commented 2 years ago

Could you please update the auc package and try again?

tohojo commented 2 years ago

Hmm, 0.2.4-8 seems to be the latest version?

root@uap1:~# opkg upgrade auc
root@uap1:~# opkg install auc
Package auc (0.2.4-8) installed in root is up to date.

Even updated to the just-released 21.02.4 version of openwrt, but that also seems to only have 0.2.4. I see there's a commit on the 21.02 branch of packages to update to 0.3.1, but that was only commited last night, so I guess it hasn't propagated to the builders yet?

sirweazel commented 2 years ago

Do you think your issue is related to my issue?

396

I was about to head over to the forums and then i saw your issue here. I need to update my issue, as i'm now seeing the new 21.02.5 but not 22.03 versions. You think related, or different issue?

tohojo commented 1 year ago

With auc 0.3.1, updating from 21.02->22.03 works - thanks! :)