Closed znoteer closed 7 months ago
I just noticed something in the error output. Near the end the output says:
* check_data_file_clashes: Package libustream-mbedtls20201210 wants to install file /builder/build_dir/target-mips_24kc_musl/root-ath79/lib/libustream-ssl.so
But that file is already provided by package * libustream-wolfssl20201210
However, package libustream-mbedtls20201210
is not installed on my system, nor have I asked for it to be installed. So it shouldn't be trying to install any files.
Any advice with this new observation?
The default crypto library was swapped from wolfssl
to mbedtls
with 23.05 (see https://forum.openwrt.org/t/openwrt-23-05-0-first-stable-release/174239#switch-from-wolfssl-to-mbedtls-as-default-4), and luci-ssl
depends on mbedtls
(it says so in the log), but since you already have wolfssl
(libustream-wolfssl
specifically) selected this package selection isn't possible since they would conflict with each other. You need to swap out wolfssl
to mbedtls
in all your packages (that I don't know how to do nicely, I've never used asu between major versions).
If possible (big if, never done it myself), you could maybe force every package that defaults to using mbedtls
to use the wolfssl
variant but since mbedtls
is the default in 23.05 and going forwards, I would advise against that.
Regarding the language packages (ending with -en
) those should be able to just be dropped since they're now baked into respective package to my knowledge.
The default crypto library was swapped from
wolfssl
tombedtls
with 23.05 (see https://forum.openwrt.org/t/openwrt-23-05-0-first-stable-release/174239#switch-from-wolfssl-to-mbedtls-as-default-4), andluci-ssl
depends onmbedtls
(it says so in the log), but since you already havewolfssl
(libustream-wolfssl
specifically) selected this package selection isn't possible since they would conflict with each other. You need to swap outwolfssl
tombedtls
in all your packages (that I don't know how to do nicely, I've never used asu between major versions).If possible (big if, never done it myself), you could maybe force every package that defaults to using
mbedtls
to use thewolfssl
variant but sincembedtls
is the default in 23.05 and going forwards, I would advise against that.
Thanks.
It works.
I needed to uninstall libustream-wolfssl
and install libustream-mbedtls
.
The only problem is that, whenever you uninstall libustream-wolfssl
, opkg is not able to update/download any package.
I needed to download libustream-mbedtls
from a different router (I have two routers in my house) by using opkg download <package name>
, transfer it to the router I was upgrading, and then install it locally by opkg install local-package-name.ipk
After that, I ran the Attended Sysupgrade from the router webpage and it was upgraded properly
I had the same problem as JcMinarro when I removed wolfssl. I didn't have a second router, so I connected my laptop directly to the ISP's cable box and downloaded 23.05.3. I flashed that and restored from backup and installed missing packages including attendedsysupgrade.
All appears to be back in order.
Thank you.
Tried upgrading from 22.03.5 to 23.05.3 using Attended Upgrade. I got an error dialogue with the title Error building the firmware image and a line saying
Server response: Error: Impossible package selection
and request to report the issue with the following information.I note that wireguard does not appear in the list of packages even though it is installed and configured and visible in luci under installed software. I'm not sure if there is anything else that is missing. I checked for wireguard because I was bitten once before by it not being reinstalled after flashing an upgrade.
Any advice as to how to pass to 23.05.3 would be much appreciated. Thank you.
Request Data:
STDERR: