Not able to upgrade to 23.05 from day 1

I am using attended sysupgrade

      
Overview
Routing
Firewall
System Log
Processes
Channel Analysis
Realtime Graphs
System
System
Administration
Software
Startup
Scheduled Tasks
Attended Sysupgrade
LED Configuration
Backup / Flash Firmware
Reboot
Network
Interfaces
Wireless
Routing
DHCP and DNS
Diagnostics
Firewall
Logout
PAUSED
No password set!
There is no password set on this router. Please configure a root password to protect the web interface.

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: 22.03.5 - r20134-5f15225c1e

Search for firmware upgrade

Powered by LuCI openwrt-22.03 branch (git-23.119.80898-65ef406) / OpenWrt 22.03.5 r20134-5f15225c1e
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": "r20134-5f15225c1e",
    "advanced_mode": "1",
    "branch": "22.03",
    "efi": null,
    "profile": "linksys,e8450-ubi",
    "target": "mediatek/mt7622",
    "version": "23.05.0",
    "packages": [
        "base-files",
        "busybox",
        "ca-bundle",
        "cgi-io",
        "dnsmasq",
        "dropbear",
        "firewall4",
        "fstools",
        "fwtool",
        "getrandom",
        "hostapd-common",
        "iw",
        "iwinfo",
        "jansson",
        "jshn",
        "jsonfilter",
        "kernel",
        "kmod-cfg80211",
        "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-gpio-button-hotplug",
        "kmod-hwmon-core",
        "kmod-leds-gpio",
        "kmod-lib-crc-ccitt",
        "kmod-lib-crc32c",
        "kmod-mac80211",
        "kmod-mt76-connac",
        "kmod-mt76-core",
        "kmod-mt7615-common",
        "kmod-mt7615-firmware",
        "kmod-mt7615e",
        "kmod-mt7915e",
        "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-ppp",
        "kmod-pppoe",
        "kmod-pppox",
        "kmod-slhc",
        "kmod-usb3",
        "libblobmsg-json",
        "libc",
        "libiwinfo",
        "libiwinfo-data",
        "libiwinfo-lua",
        "libjson-c",
        "libjson-script",
        "liblua",
        "liblucihttp",
        "liblucihttp-lua",
        "libmnl",
        "libnftnl",
        "libnl-tiny",
        "libubox",
        "libubus",
        "libubus-lua",
        "libuci",
        "libuclient",
        "libucode",
        "libustream-wolfssl",
        "libwolfssl",
        "logd",
        "lua",
        "luci",
        "luci-app-attendedsysupgrade",
        "luci-app-firewall",
        "luci-app-opkg",
        "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",
        "mtd",
        "netifd",
        "nftables-json",
        "odhcp6c",
        "odhcpd-ipv6only",
        "openwrt-keyring",
        "opkg",
        "ppp",
        "ppp-mod-pppoe",
        "procd",
        "procd-seccomp",
        "procd-ujail",
        "px5g-wolfssl",
        "rpcd",
        "rpcd-mod-file",
        "rpcd-mod-iwinfo",
        "rpcd-mod-luci",
        "rpcd-mod-rrdns",
        "ubi-utils",
        "uboot-envtools",
        "ubox",
        "ubus",
        "ubusd",
        "uci",
        "uclient-fetch",
        "ucode",
        "ucode-mod-fs",
        "ucode-mod-ubus",
        "ucode-mod-uci",
        "uhttpd",
        "uhttpd-mod-ubus",
        "urandom-seed",
        "urngd",
        "usign",
        "wireless-regdb",
        "wpad-basic-wolfssl"
    ],
    "diff_packages": true,
    "filesystem": "squashfs",
    "client": "luci/git-23.093.42303-58b861d"
}
Downloading https://downloads.openwrt.org/releases/23.05.0/packages/aarch64_cortex-a53/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.0/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/releases/23.05.0/packages/aarch64_cortex-a53/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.0/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/releases/23.05.0/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.
Collected errors:
 * check_data_file_clashes: Package libustream-mbedtls20201210 wants to install file /builder/build_dir/target-aarch64_cortex-a53_musl/root-mediatek/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

Hi

as you could see from error ...
23.05 is switched to mbedtls from wolfssl as ssl provider
you could try first to remove any wolfssl package, fox ex wpad,or any other which using wolfssl, then to manually install wpad-mbedtls and then try ASU
question is, do you have enough space on flash ... :frowning: ... and maybe something will broke in "switch packages" operation

in that case, best is to try from scratch with fresh 23.05
and remember to make backup
you could not use these backups directly, but you will have reminder in these backups, what was your settings

1 Like

Do a custom package selection. Remove:

  • wpad-basic-wolfssl
  • libustream-wolfssl
  • libwolfssl
  • px5g-wolfssl

Add:

  • libustream-mbedtls
  • wpad-basic-mbedtls

Worked for me on three different devices, but all of them were already covnerted to DSA. If yours is a pre-DSA device, this won't work and it will break your configuration.

1 Like

There is "wpad-basic-wolfssl" , "libustream-wolfssl", "libwolfssl", "px5g-wolfssl". What do you want me to replace these packages with, if they are supposed to be removed?

as @andyboeh listed, these packages need to be replaced

swconfig->DSA transition & ssl change:
this is a reason i wrote that anything could go wrong, so better to have backups and be prepared for fresh 23.05

2 Likes

How do I figure out if I have DSA? I have vlans setup but not sure if it's DSA. Is there a definitive way to check this?

Since swconfig is not installed, your device is most likely converted to DSA.

That said: the mediatek target was converted to DSA with 21.02.0: https://openwrt.org/releases/21.02/notes-21.02.0

1 Like

I upgraded but my 5ghz wifi is not detecting and working. It's under the name "generic unknown". This is a dumb AP which is a Linksys E8450. How do I fix this?

I do have backups. I upgraded but my 5ghz wifi is not detecting and working. It's under the name "generic unknown". This is a dumb AP which is a Linksys E8450. How do I fix this without reverting to older version?

Just use the official image from downloads.openwrt.org to sysupgrade then install the packages you need.

How do I figure out the additional packages I have apart from the default ones?

According to this, you might simply be missing the firmware package for the WiFi device. Could you try installing the package kmod-mt7915-firmware, do a reboot and see if it worked?

2 Likes

I can confirm that installing the module fixed the issue for me on both the AX6s as well as the RT3200

Hi, I'm having the same issue. I didn't convert swconfig to DSA yet. I'm actually using my Archer C7 as a dumb acces point (2.4Ghz private+guest networks; 5Ghz private network). Is the custom sysugrade with removed ssl packages and the new mbedtls going to work?