Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating packages breaks wget/libssl #674

Closed
jdkruzr opened this issue Mar 28, 2023 · 7 comments
Closed

Updating packages breaks wget/libssl #674

jdkruzr opened this issue Mar 28, 2023 · 7 comments

Comments

@jdkruzr
Copy link

jdkruzr commented Mar 28, 2023

now, anything that depends on libssl fails.

libopenssl - 3.0.8-2a

Caelum: ~/ opkg remove libopenssl
No packages removed.
Collected errors:
 * print_dependents_warning: Package libopenssl is depended upon by packages:
 * print_dependents_warning: 	libcurl
 * print_dependents_warning: 	git
 * print_dependents_warning: 	git-http
 * print_dependents_warning: 	wget-ssl
 * print_dependents_warning: These might cease to work if package libopenssl is removed.

 * print_dependents_warning: Force removal of this package with --force-depends.
 * print_dependents_warning: Force removal of this package and its dependents
 * print_dependents_warning: with --force-removal-of-dependent-packages.
Caelum: ~/ wget
wget: error while loading shared libraries: /usr/lib/libssl.so.1.1: internal error

among other things this means I can't opkg update anymore because it uses wget-ssl. git is broken, etc. I would imagine there's some way to get applications that expect SSL 1 and SSL 3 to coexist?

@Eeems
Copy link
Member

Eeems commented Mar 28, 2023

EDIT Hey you reading this... If you are just encountering this now, make sure you also go read the release notes to see if there are any other manual interventions required (Hint: there is one at time of writing in 2024-W21 ) to avoid soft-bricking your device.


This is a bug with entware and not toltec. They have an issue with the order that packages are upgrading. You can solve this by doing the following steps:

opkg remove wget-ssl
wget http://toltec-dev.org/thirdparty/bin/wget-v1.21.1
# This next step is important. If it errors, something changed the file as it was downloaded. Either it corrupted,
# or something modified in in transit. I highly recommend not using it if this is the case.
# Instead you can try manually downloading it on your computer with https and validate that it doesn't get changed.
# Then you can copy it to your device.
echo "8798fcdabbe560722a02f95b30385926e4452e2c98c15c2c217583eaa0db30fc  wget-v1.21.1" | sha256sum -c -
chmod +x wget-v1.21.1
mkdir -p /home/root/.local/bin
mv -f  wget-v1.21.1 /home/root/.local/bin/wget
ln -s /home/root/.local/bin/wget /opt/bin
opkg update
opkg upgrade
opkg install --force-reinstall wget-ssl
rm /home/root/.local/bin/wget

Edit: Updated steps based on feedback later in the thread.

@Eeems Eeems closed this as completed Mar 28, 2023
@Eeems Eeems pinned this issue Apr 7, 2023
@Eeems Eeems changed the title installing wget-ssl installs OpenSSL3, which seems to break a bunch of things Update breaks wget/libssl Apr 7, 2023
@MininuxDev

This comment was marked as resolved.

@Eeems

This comment was marked as resolved.

@MininuxDev

This comment was marked as resolved.

@Eeems

This comment was marked as resolved.

@MininuxDev

This comment was marked as resolved.

@Eeems Eeems changed the title Update breaks wget/libssl Updating packages breaks wget/libssl Sep 28, 2023
@Eeems
Copy link
Member

Eeems commented Oct 7, 2023

Entware/Entware#913 is the upstream issue for this. It looks like the official solutions are just workarounds similar to ours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants