OpenSSL issue when updating; sudo also does not work now

My original issue

I had an old computer that hadn’t been updated in a while. I updated using snapshots

tumbleweed switch --install 20250503

A few minutes into the update, I ran into an error

I’m unable to shutdown/reboot my system or open any program, folder, or even a terminal through graphical interface so I switched to TTY with ctrl+alt+f1 just to access command line. However, I’m unable to run zypper or curl or wget as I get the error

I get this error when running zypper, curl or wget

$ zypper
zypper: /lib64/glibc-hwcaps/x86-64-v3/libssl.so.3.1.4: version `OPENSSL_3.2.0' not found (required by /lib64/libcurl.so.4)

After removing /lib64/glibc-hwcaps/x86-64-v3/libssl.so.3.1.4, this is the new error

$ sudo rm /lib64/glibc-hwcaps/x86-64-v3/libssl.so.3.1.4
[sudo]: password for root
$ zypper
zypper: /lib64/glibc-hwcaps/x86-64-v3/libcrypto.so.3.1.4: version `OPENSSL_3.3.0' not found (required by /lib64/libssl.so.3)
zypper: /lib64/glibc-hwcaps/x86-64-v3/libcrypto.so.3.1.4: version `OPENSSL_3.4.0' not found (required by /lib64/libssl.so.3)
zypper: /lib64/glibc-hwcaps/x86-64-v3/libcrypto.so.3.1.4: version `OPENSSL_3.2.0' not found (required by /lib64/libssl.so.3)

Since then, I tried to remove that library per the suggestion of a user which required sudo permissions but sudo now does not work

$ sudo rm /lib64/glibc-hwcaps/x86-64-v3/libcrypto.so.3.1.4
sudo: error in /etc/sudo.conf:/usr/etc/sudo.conf, line 0 while loading plugin "sudoers policy"
sudo: unable to load /usr/libexec/sudo/sudo/sudoers.so: /lib64/glibc-hwcaps/x86-64-v3/libcrypto.so.3.1.4:  version `OPENSSL_3.3.0' not found (required by /lib64/libssl.so.3)
sudo: fatal error, unable to load plugins

Where did that happen? You should never remove package owned files.
What you are not telling us is essential: you are using tumbleweed-cli
You should be able to rollback from the GRUB boot menu.

delete duplicate

I got it from here

the problem is I’m not sure how I can get to the GRUB boot menu as I’m not even able to restart

What do you mean with “not even able to restart”?

You did not tell that you use tumbleweed-cli in that thread either. I suggest you reinstall and restore your backups. That will be a lot faster than trying to repair what you have now. Oh, and don’t use tumbleweed-cli,

the typical GUI method doesn’t work with just the shutdown or restart button. I’m unable to even open a browser or folder

systemctl restart or shutdown -r won’t work as both produce the same error

$ sudo systemctl shutdown
systemctl: /lib64/glibc-hwcaps/x86-64-v3/libcrypto.so.3.1.4: version `OPENSSL_3.4.0' not found (required by /usr/lib64/systemd/libsystemd-shared-257.5-2.1.so)
$ sudo /usr/bin/shutdown
/usr/bin/shutdown: /lib64/glibc-hwcaps/x86-64-v3/libcrypto.so.3.1.4: version `OPENSSL_3.4.0' not found (required by /usr/lib64/systemd/libsystemd-shared-257.5-2.1.so)

Would there be any way to reinstall through virtual console or at least restart through the virtual console?

It’s an older device and even the physical power button on the keyboard doesn’t function so I’m not sure how else I can reboot and then boot from a USB drive

At one time, I had a broken “zypper” after an update. I was able to fix that by booting from install media, mounting the broken system at “/mnt” and running:

zypper --root /mnt zypper update zypper

However, I think your system is broken badly enough that you will find it difficult to fix. Just as soon as you fix one thing, you will run into another broken component. So I agree with @knurpht that your simplest solution is to reinstall.

Would there be any way to reinstall through virtual console or at least restart through the virtual console?

It’s an older device and even the physical power button on the keyboard doesn’t function so I’m not sure how else I can reboot and then boot from a USB drive

If you plug in the USB drive, and then update the grub menu

grub2-mkconfig -o /boot/grub2/grub.cfg

that should generate a grub menu with an entry to boot the USB device. This assumes that you have already put the installer onto the USB drive.

I’ll give that a shot. Appreciate it!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.