Tumbleweed: Update mit zypper abgebrochen. Restart verweigert: libprotobuf-lite fehlt

Da war die Sicherung mitten im Installationsteil des Updates von tumbleweed rausgeflogen. Wenn ich jetzt die Sitzung wiederaufnehmen will, bekomme ich: “Zypper: error while loading shared libraries: libprotobuf-lite.so.25.1.0 cannot open shared object file: No such file or directory”. Logischerweise kann ich auch keine Informationen mit zypper abrufen.

Ich habe eine weitere Instanz von tumbleweed auf einer anderen Platte. Die kennt aber kein libprotobuf-lite?!? Jemand mit Ideen wie ich das reparieren kann?

Installiere folgende Pakete direkt vom Server:

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

Wenn es nicht in einem Rutsch funktioniert, installiere die Pakete nacheinander…

sudo rpm -ivh http://download.opensuse.org/tumbleweed/repo/oss/x86_64/zypper-1.14.73-1.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/libprotobuf-lite25_3_0-25.3-11.2.x86_64.rpm 
sudo rpm -ivh http://download.opensuse.org/tumbleweed/repo/oss/libabsl_2401_0_0-20240116.2-2.1.x86_64.rpm

Danke. Das OS will die Dinger in einer anderen Reihenfolge haben, das ist nicht das Problem, aber bei libabsl_2401_0_0-20240116.2-2.1.x86_64.rpm kommt ein 404 Fehler (nicht gefunden, glaube ich). Mir ist eingefallen, dass ich ja auch ein Zypper Rollback machen könnte, ist das zielführend?

Da war ein Fehler in der URl. Damit gehts:

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

Nachdem du die Pakete installiert hast sollte ein zypper dup wieder funktionieren.

Tja…

me@PC:~> sudo rpm -ivh https://download.opensuse.org/tumbleweed/repo/oss/x86_64/libabsl_2401_0_0-20240116.2-2.1.x86_64.rpm
Retrieving https://download.opensuse.org/tumbleweed/repo/oss/x86_64/libabsl_2401_0_0-20240116.2-2.1.x86_64.rpm
error: Failed dependencies:
libabsl_base.so.2401.0.0()(64bit) is needed by libabsl_2401_0_0-20240116.2-2.1.x86_64
libabsl_cord.so.2401.0.0()(64bit) is needed by libabsl_2401_0_0-20240116.2-2.1.x86_64
libabsl_cordz_info.so.2401.0.0()(64bit) is needed by libabsl_2401_0_0-20240116.2-2.1.x86_64
libabsl_examine_stack.so.2401.0.0()(64bit) is needed by libabsl_2401_0_0-20240116.2-2.1.x86_64
libabsl_exponential_biased.so.2401.0.0()(64bit) is needed by libabsl_2401_0_0-20240116.2-2.1.x86_64
libabsl_hash.so.2401.0.0()(64bit) is needed by libabsl_2401_0_0-20240116.2-2.1.x86_64
libabsl_int128.so.2401.0.0()(64bit) is needed by libabsl_2401_0_0-20240116.2-2.1.x86_64
libabsl_log_globals.so.2401.0.0()(64bit) is needed by libabsl_2401_0_0-20240116.2-2.1.x86_64
libabsl_log_internal_globals.so.2401.0.0()(64bit) is needed by libabsl_2401_0_0-20240116.2-2.1.x86_64
libabsl_log_internal_message.so.2401.0.0()(64bit) is needed by libabsl_2401_0_0-20240116.2-2.1.x86_64
libabsl_malloc_internal.so.2401.0.0()(64bit) is needed by libabsl_2401_0_0-20240116.2-2.1.x86_64
libabsl_raw_hash_set.so.2401.0.0()(64bit) is needed by libabsl_2401_0_0-20240116.2-2.1.x86_64
libabsl_raw_logging_internal.so.2401.0.0()(64bit) is needed by libabsl_2401_0_0-20240116.2-2.1.x86_64
libabsl_spinlock_wait.so.2401.0.0()(64bit) is needed by libabsl_2401_0_0-20240116.2-2.1.x86_64
libabsl_stacktrace.so.2401.0.0()(64bit) is needed by libabsl_2401_0_0-20240116.2-2.1.x86_64
libabsl_str_format_internal.so.2401.0.0()(64bit) is needed by libabsl_2401_0_0-20240116.2-2.1.x86_64
libabsl_strerror.so.2401.0.0()(64bit) is needed by libabsl_2401_0_0-20240116.2-2.1.x86_64
libabsl_strings.so.2401.0.0()(64bit) is needed by libabsl_2401_0_0-20240116.2-2.1.x86_64
libabsl_synchronization.so.2401.0.0()(64bit) is needed by libabsl_2401_0_0-20240116.2-2.1.x86_64
libabsl_time.so.2401.0.0()(64bit) is needed by libabsl_2401_0_0-20240116.2-2.1.x86_64
libabsl_time_zone.so.2401.0.0()(64bit) is needed by libabsl_2401_0_0-20240116.2-2.1.x86_64
me@PC:~>
Ähh… :wink:
Irgendwo hakt es noch.

Dann vorher mal noch

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

Jupp, mittlerweile hatte ich den Link auf den englischen Beitrag gesehen. Aber nachdem ich das gemacht hatte und mit den vier anderen Links weitermachen wollte, kam beim dritten:

me@PC:~> sudo rpm -ivh http://download.opensuse.org/tumbleweed/repo/oss/x86_64/libzypp-17.34.1-1.1.x86_64.rpm
Retrieving http://download.opensuse.org/tumbleweed/repo/oss/x86_64/libzypp-17.34.1-1.1.x86_64.rpm
error: Failed dependencies:
libboost_thread.so.1.85.0()(64bit) is needed by libzypp-17.34.1-1.1.x86_64
matthias@PC:~> sudo rpm -ivh http://download.opensuse.org/tumbleweed/repo/oss/x86_64/zypper-1.14.73-1.2.x86_64.rpm
Retrieving http://download.opensuse.org/tumbleweed/repo/oss/x86_64/zypper-1.14.73-1.2.x86_64.rpm
error: Failed dependencies:
libzypp >= 17.34.0 is needed by zypper-1.14.73-1.2.x86_64
libzypp.so.1734()(64bit) is needed by zypper-1.14.73-1.2.x86_64
libzypp.so.1734(ZYPP_plain)(64bit) is needed by zypper-1.14.73-1.2.x86_64
me@PC:~> sudo zypper if libzypp*
zypper: error while loading shared libraries: libprotobuf-lite.so.25.1.0: cannot open shared object file: No such file or directory
me@PC:~>
Wie bekomme ich also libzypp?

Lol, du machst es mir aber auch nicht einfach :smiley:

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

Du hast was mit dem Kollegen im englischen Thread gemeinsam: Du hast einen sehr alten Tumbleweed Snapshot installiert, d.h du hast sehr lange nicht geupdated. Da die alten benötigten Pakete nicht ein mal mehr in den History Repos vorhanden sind, musst du dich durch die Abhängigkeiten durchbeißen. Oder lade einfach einen aktuellen Tumbleweed Snapshot (ISO) herunter und wähle “Upgrade” statt “Installation”. Dann gehen deine Programme und Einstellungen nicht verloren…

Ömm. Habe ich also gemacht, damit konnte ich das dritte .rpm aus Deinem ursprünglichen Post installieren. Aber nun…

me@PC:~> sudo rpm -ivh http://download.opensuse.org/tumbleweed/repo/oss/libabsl_2401_0_0-20240116.2-2.1.x86_64.rpm
Retrieving http://download.opensuse.org/tumbleweed/repo/oss/libabsl_2401_0_0-20240116.2-2.1.x86_64.rpm
curl: (22) The requested URL returned error: 404
error: skipping http://download.opensuse.org/tumbleweed/repo/oss/libabsl_2401_0_0-20240116.2-2.1.x86_64.rpm - transfer failed
me@PC:~>
seufz Sorry :wink:

Übrigens, das “upzudatende” tumbleweed hatte die Kernelversion 6.7.4 (< 1/2 Jahr). Ist das für Dich uralt?

Ich hatte in diesem Post darauf hingewiesen, dass da ein Fehler in der URL war…

Für eine Rolling Release Distribution ist das alt. Du hast viele ungefixte Sicherheitslücken…

Da ist irgendwas durcheinander geraten. libabsl ist installiert. libzypp fehlt:

me@PC:~> sudo rpm -ivh https://download.opensuse.org/tumbleweed/repo/oss/x86_64/libabsl_2401_0_0-20240116.2-2.1.x86_64.rpm
Retrieving https://download.opensuse.org/tumbleweed/repo/oss/x86_64/libabsl_2401_0_0-20240116.2-2.1.x86_64.rpm
Verifying… ################################# [100%]
Preparing… ################################# [100%]
package libabsl_2401_0_0-20240116.2-2.1.x86_64 is already installed
me@PC:~> sudo rpm -ivh https://download.opensuse.org/tumbleweed/repo/oss/x86_64/libabsl_lite_2401_0_0-20240116.2-2.1.x86_64.rpm
Retrieving https://download.opensuse.org/tumbleweed/repo/oss/x86_64/libabsl_lite_2401_0_0-20240116.2-2.1.x86_64.rpm
Verifying… ################################# [100%]
Preparing… ################################# [100%]
package libabsl_lite_2401_0_0-20240116.2-2.1.x86_64 is already installedme@PC:~> sudo rpm -ivh https://download.opensuse.org/tumbleweed/repo/oss/x86_64/libabsl_2401_0_0-20240116.2-2.1.x86_64.rpm
Retrieving https://download.opensuse.org/tumbleweed/repo/oss/x86_64/libabsl_2401_0_0-20240116.2-2.1.x86_64.rpm
Verifying… ################################# [100%]
Preparing… ################################# [100%]
package libabsl_2401_0_0-20240116.2-2.1.x86_64 is already installed
me@PC:~> sudo rpm -ivh https://download.opensuse.org/tumbleweed/repo/oss/x86_64/libabsl_lite_2401_0_0-20240116.2-2.1.x86_64.rpm
Retrieving https://download.opensuse.org/tumbleweed/repo/oss/x86_64/libabsl_lite_2401_0_0-20240116.2-2.1.x86_64.rpm
Verifying… ################################# [100%]
Preparing… ################################# [100%]
package libabsl_lite_2401_0_0-20240116.2-2.1.x86_64 is already installed

Okay, dann gebe ich auf und lade ein ISO herunter.

Übrigens, woher wusstest Du welche rpms ich laden sollte? Kann ich das lernen oder ist das irre aufwändig?

Wie meinst du das es fehlt? Bekommst du nicht installiert wegen fehlender Abhängigkeit?

Nein, die ganzen Versionen der einzelnen libs sind durcheinander. Ich poste hier nur einen Ausschnitt:

me@PC:~> sudo rpm -ivh http://download.opensuse.org/tumbleweed/repo/oss/x86_64/libzypp-17.34.1-1.1.x86_64.rpm
Retrieving http://download.opensuse.org/tumbleweed/repo/oss/x86_64/libzypp-17.34.1-1.1.x86_64.rpm
Verifying… ################################# [100%]
Preparing… ################################# [100%]
file /etc/zypp/needreboot from install of libzypp-17.34.1-1.1.x86_64 conflicts with file from package libzypp-17.31.31-1.1.x86_64
file /usr/bin/zypp-CheckAccessDeleted from install of libzypp-17.34.1-1.1.x86_64 conflicts with file from package libzypp-17.31.31-1.1.x86_64
file /usr/bin/zypp-NameReqPrv from install of libzypp-17.34.1-1.1.x86_64 conflicts with file from package libzypp-17.31.31-1.1.x86_64
file /usr/libexec/zypp/zypp-rpm from install of libzypp-17.34.1-1.1.x86_64 conflicts with file from package libzypp-17.31.31-1.1.x86_64
file /usr/share/locale/ca/LC_MESSAGES/zypp.mo from install of libzypp-17.34.1-1.1.x86_64 conflicts with file from package libzypp-17.31.31-1.1.x86_64
file /usr/share/locale/cs/LC_MESSAGES/zypp.mo from install of libzypp-17.34.1-1.1.x86_64 conflicts with file from package libzypp-17.31.31

Das ist zu unübersichtlich und ich verplempere nur Deine Zeit. Ich habe schon das neueste ISO verifiziert und schaufele es gleich auf einen Stick und versuche Deinen Tipp.

Haha. Das Update sollte >14 GB (!) sein. Nach ca. 1 1/2 Stunden bei ca. 13 % brach es ab weil die Checksum einer Datei nicht okay war. seufz
Ich lade also neu herunter und installiere. /home ist eh auf einer gesonderten Partition, daher ist das wohl auch egal.

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