I am on tumbleweed, how do I reinstall a broken zypper?

Error message
zypper: error while loading shared libraries: libprotobuf-lite.so.25.1.0: cannot open shared object file: No such file or directory

You need to install the relevant packages directly from the mirror…see this german thread.

You need following packages.

sudo rpm -ivh http://download.opensuse.org/tumbleweed/repo/oss/x86_64/libabsl_2401_0_0-20240116.2-2.1.x86_64.rpm
sudo rpm -ivh http://download.opensuse.org/tumbleweed/repo/oss/x86_64/libprotobuf-lite25_3_0-25.3-11.2.x86_64.rpm 
sudo rpm -ivh http://download.opensuse.org/tumbleweed/repo/oss/x86_64/libzypp-17.34.1-1.1.x86_64.rpm
sudo rpm -ivh http://download.opensuse.org/tumbleweed/repo/oss/x86_64/zypper-1.14.73-1.2.x86_64.rpm 
 
1 Like

Before the above mentioned packages you will need this one first:

sudo rpm -ivh https://download.opensuse.org/tumbleweed/repo/oss/x86_64/libabsl_lite_2401_0_0-20240116.2-2.1.x86_64.rpm
1 Like

@ hui, i followed your first post before you posted your second.
I seem to be in a kind of dependency hell.
I think I will need to study rpm and come back to this problem.
I appreciate your efforts and look forward to any other advice you may offer on this problem.

We discovered in the german thread that another package is needed:

sudo rpm -ivh  http://download.opensuse.org/tumbleweed/repo/oss/x86_64/libboost_thread1_85_0-1.85.0-1.2.x86_64.rpm
1 Like

also failed due to dependencies.

Please show the complete output…

1 Like

linux-05nt:~ # rpm -ivh http://download.opensuse.org/tumbleweed/repo/oss/x86_64/libboost_thread1_85_0-1.85.0-1.2.x86_64.rpm
Retrieving http://download.opensuse.org/tumbleweed/repo/oss/x86_64/libboost_thread1_85_0-1.85.0-1.2.x86_64.rpm
error: Failed dependencies:
boost-license1_85_0 is needed by libboost_thread1_85_0-1.85.0-1.2.x86_64

sudo rpm -ivh http://download.opensuse.org/tumbleweed/repo/oss/x86_64/boost-license1_85_0-1.85.0-1.2.noarch.rpm

You can also search yourself in following directorys for the missing packages and adapt the installation URL accordingly…

https://download.opensuse.org/tumbleweed/repo/oss/x86_64/
https://download.opensuse.org/tumbleweed/repo/oss/noarch/

Unfortunately your Tumbleweed installation wasn’t updated for a really long time, so that the old packages are no longer available even in the history repos. That means you either go through the dependency hell as you call it or download an actual Tumbleweed Snapshot (ISO) and make an upgrade from it.

When the issue with libprotobuf occured the first time (several month ago), it was enough to install 4 packages…now with such an outdated installation it gets harder and harder…

1 Like

thank you for looking into this as deeply as you have, your assesement makes a lot of sense ,as this machine was off line for a considerable time due to a hardware issue i was slow to address,
the snapshot suggestion is the route I intend to take from here.
thank you for your time and effort, it is much appreciated.

I probably should have mentioned this earlier, but this system would not run from the last update (a few months ago), so I booted from an earlier kernel (I am using ext4 not btrfs).

Hello! I have had the same problem for over a month. I rolled back to older snapshot and have not been able to update since. I run into the same dependency failures and I don’t no how to cover everything that is missing. Its began to feel endless with every failure. I’d like to repair my system rather then wipe it, would that be possible?

As described above: