relocation error: /usr/lib64/libgcrypt.so.20

Hello Folks,

Yesterday I updated (zypper update) my OpenSUSE Tumbleweed laptop but at the end of the update the system could not boot anymore.
The error messages are:

udevadm: relocation error: /usr/lib64/libgcrypt.so.20: symbol gpgrt_get_syscall_clamp, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
/init: line 91: : -gt: unary operator expected
/usr/lib/systemd/systemd-udevd: relocation error: /usr/lib64/libgcrypt.so.20: symbol gpgrt_get_syscall_clamp, version  GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time  reference
/init: line 150: : -lt: unary operator expected
udevadm: relocation error: /usr/lib64/libgcrypt.so.20: symbol  gpgrt_get_syscall_clamp, version GPG_ERROR_1.0 not defined in file  libgpg-error.so.0 with link time reference
/lib/dracut-lib.sh: line 530: : -ge unary operator expected
udevadm: relocation error: /usr/lib64/libgcrypt.so.20: symbol  gpgrt_get_syscall_clamp, version GPG_ERROR_1.0 not defined in file  libgpg-error.so.0 with link time reference

I tried the “Start bootloader from a read-only snapshot” option, which I guess are btrfs snapshots, but the “snapshots” listed do not work or boot (pre and post zypper and yast executions).
Somehow I could boot on recovery mode for old kernels which are still installed but I don’t know which commands to execute to try to revert the update on GPG. Now I tried to boot back on this old kernel’s recovery mode but it display the same GPG errors.

This is my laptop I use for work so it would be handy to get it back running. Maybe it wasn’t the best idea to use a rolling release distro for this purpose.

Any ideas or tips would be appreciated.

Regards

That is wrong. Tumbleweed should be updated using

zypper dup

So please better do that first, then check if your problem persists and when yes come back here and post it anew.

Your recovery and snapshots work by always moving ahead (even when “reverting”)
hcvv’s advice should work by overwriting and fully upgrading your system from whatever old kernel you can boot successfully(In TW there are no minor updates to speak of, only full system upgrades).

TSU

Hello,

Thanks for the replies.
I reinstalled Tumbleweed yesterday.
I didn’t know

zypper dup

it’s the right way for updating Tumbleweed.
Shame on me.

Bye for now.