Borked Zypper After Routine RPMs Update via Zypper

Guys,

I have a OpenSuse 15.5 Server as below;

#cat /etc/os*

NAME="openSUSE Leap"
VERSION="15.5"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.5"
PRETTY_NAME="openSUSE Leap 15.5"


I ran a routine update and this was the output;


The following 40 packages are going to be upgraded:

  apache2                         2.4.51-150400.6.14.1 -> 2.4.51-150400.6.20.1
  apache2-prefork                 2.4.51-150400.6.14.1 -> 2.4.51-150400.6.20.1
  apache2-utils                   2.4.51-150400.6.14.1 -> 2.4.51-150400.6.20.1
  libsolv-tools                   0.7.28-150400.3.16.2 -> 0.7.29-150400.3.22.4
  libyui-ncurses-pkg16            4.5.3-150500.3.5.11 -> 4.5.3-150500.3.7.9
  libzypp                         17.32.5-150400.3.64.1 -> 17.34.1-150500.6.2.1
  mariadb                         10.6.15-150400.3.29.3 -> 10.6.18-150400.3.33.1
  mariadb-client                  10.6.15-150400.3.29.3 -> 10.6.18-150400.3.33.1
  mariadb-errormessages           10.6.15-150400.3.29.3 -> 10.6.18-150400.3.33.1
  PackageKit-backend-zypp         1.2.4-150400.3.15.4 -> 1.2.4-150400.3.17.10
  qemu                            7.1.0-150500.49.9.2 -> 7.1.0-150500.49.15.1
  qemu-accel-tcg-x86              7.1.0-150500.49.9.2 -> 7.1.0-150500.49.15.1
  qemu-audio-spice                7.1.0-150500.49.9.2 -> 7.1.0-150500.49.15.1
  qemu-block-curl                 7.1.0-150500.49.9.2 -> 7.1.0-150500.49.15.1
  qemu-block-nfs                  7.1.0-150500.49.9.2 -> 7.1.0-150500.49.15.1
  qemu-block-rbd                  7.1.0-150500.49.9.2 -> 7.1.0-150500.49.15.1
  qemu-chardev-spice              7.1.0-150500.49.9.2 -> 7.1.0-150500.49.15.1
  qemu-hw-display-qxl             7.1.0-150500.49.9.2 -> 7.1.0-150500.49.15.1
  qemu-hw-display-virtio-gpu      7.1.0-150500.49.9.2 -> 7.1.0-150500.49.15.1
  qemu-hw-display-virtio-gpu-pci  7.1.0-150500.49.9.2 -> 7.1.0-150500.49.15.1
  qemu-hw-display-virtio-vga      7.1.0-150500.49.9.2 -> 7.1.0-150500.49.15.1
  qemu-hw-usb-host                7.1.0-150500.49.9.2 -> 7.1.0-150500.49.15.1
  qemu-hw-usb-redirect            7.1.0-150500.49.9.2 -> 7.1.0-150500.49.15.1
  qemu-hw-usb-smartcard           7.1.0-150500.49.9.2 -> 7.1.0-150500.49.15.1
  qemu-tools                      7.1.0-150500.49.9.2 -> 7.1.0-150500.49.15.1
  qemu-ui-curses                  7.1.0-150500.49.9.2 -> 7.1.0-150500.49.15.1
  qemu-ui-gtk                     7.1.0-150500.49.9.2 -> 7.1.0-150500.49.15.1
  qemu-ui-opengl                  7.1.0-150500.49.9.2 -> 7.1.0-150500.49.15.1
  qemu-ui-spice-app               7.1.0-150500.49.9.2 -> 7.1.0-150500.49.15.1
  qemu-ui-spice-core              7.1.0-150500.49.9.2 -> 7.1.0-150500.49.15.1
  yast2-country                   4.5.5-150500.1.1 -> 4.5.6-150500.3.3.2
  yast2-country-data              4.5.5-150500.1.1 -> 4.5.6-150500.3.3.2
  yast2-logs                      4.5.25-150500.1.1 -> 4.5.27-150500.3.6.2
  yast2-network                   4.5.22-150500.3.8.1 -> 4.5.24-150500.3.14.1
  yast2-packager                  4.5.17-150500.3.3.1 -> 4.5.20-150500.3.11.4
  yast2-pkg-bindings              4.5.3-150500.3.5.11 -> 4.5.3-150500.3.7.17
  yast2-theme                     4.5.0-lp155.2.2.1 -> 4.5.0-lp155.2.4.1
  zypper                          1.14.71-150400.3.45.2 -> 1.14.73-150500.6.2.1
  zypper-log                      1.14.68-150400.3.40.2 -> 1.14.73-150500.6.2.1
  zypper-needs-restarting         1.14.68-150400.3.40.2 -> 1.14.73-150500.6.2.1
  
The following 2 NEW packages are going to be installed:
  libabsl2401_0_0     20240116.1-150500.13.7.8
  libsolv-tools-base  0.7.29-150400.3.22.4

Partial log of the installation is as below;



Retrieving: zypper-1.14.73-150500.6.2.1.x86_64 (Update - SLE Repo)                                                                                                                           (19/42),   1.6 MiB    
Retrieving: zypper-1.14.73-150500.6.2.1.x86_64.rpm

Retrieving: zypper-log-1.14.73-150500.6.2.1.noarch (Update - SLE Repo)                                                                                                                       (12/42),  58.0 KiB    
Retrieving: zypper-log-1.14.73-150500.6.2.1.noarch.rpm 

Retrieving: zypper-needs-restarting-1.14.73-150500.6.2.1.noarch (Update - SLE Repo)                                                                                                          (25/42),  56.7 KiB    
Retrieving: zypper-needs-restarting-1.14.73-150500.6.2.1.noarch.rpm

Retrieving: libzypp-17.34.1-150500.6.2.1.x86_64 (Update - SLE Repo)                                                                                                                          (15/42),   3.1 MiB    
Retrieving: libzypp-17.34.1-150500.6.2.1.x86_64.rpm 

Retrieving: libabsl2401_0_0-20240116.1-150500.13.7.8.x86_64 (Update - SLE Repo)                                                                                                               (3/42), 495.7 KiB    
Retrieving: libabsl2401_0_0-20240116.1-150500.13.7.8.x86_64.rpm .................................................................................................................................[done (1.1 MiB/s)]
Retrieving: libsolv-tools-base-0.7.29-150400.3.22.4.x86_64 (Update - SLE Repo)                                                                                                                (4/42), 238.7 KiB    
Retrieving: libsolv-tools-base-0.7.29-150400.3.22.4.x86_64.rpm ...............................................................................................................................[done (1017.8 KiB/s)]
Retrieving: libsolv-tools-0.7.29-150400.3.22.4.x86_64 (Update - SLE Repo)                                                                                                                     (5/42), 567.1 KiB    
Retrieving: libsolv-tools-0.7.29-150400.3.22.4.x86_64.rpm



( 3/42) Installing: libabsl2401_0_0-20240116.1-150500.13.7.8.x86_64
( 4/42) Installing: libsolv-tools-base-0.7.29-150400.3.22.4.x86_64 
( 5/42) Installing: libsolv-tools-0.7.29-150400.3.22.4.x86_64
(12/42) Installing: zypper-log-1.14.73-150500.6.2.1.noarch
(19/42) Installing: zypper-1.14.73-150500.6.2.1.x86_64
(25/42) Installing: zypper-needs-restarting-1.14.73-150500.6.2.1.noarch 


After the update, when I run any zypper command, I get the following error - symbol lookup error - as below ;

# zypper -v ref

zypper: symbol lookup error: /usr/lib64/libzypp.so.1734: undefined symbol: _ZN6google8protobuf8internal14UntypedMapBase12TransferTreeEPN4absl12lts_202401169btree_mapINS1_10VariantKeyEPNS1_8NodeBaseESt4lessIS6_ENS1_12MapAllocatorISt4pairIKS6_S8_EEEEEPFS6_S8_E

Fyi - the zypper packages are ( after the update ) ;

$ rpm -qa | grep -i zypp

zypper-1.14.73-150500.6.2.1.x86_64
zypper-log-1.14.73-150500.6.2.1.noarch
zypper-needs-restarting-1.14.73-150500.6.2.1.noarch
zypper-lifecycle-plugin-0.6.1601367426.843fe7a-1.60.noarch
libzypp-17.34.1-150500.6.2.1.x86_64
PackageKit-backend-zypp-1.2.4-150400.3.17.10.x86_64

I rebooted the server and got the same result.
What can I do now ?
Pls advise.

https://bugzilla.opensuse.org/show_bug.cgi?id=1227202

I have the following from updating Friday afternoon and no problems from zypper:

# cat /usr/local/bin/zypsei
#!/bin/bash
zypper --no-refresh se -s -i $*  | grep -Ev 'debug|devel|srcp|openSUSE-20' | grep -E 'x86|noarch'| sort
# zypsei zypp absl f-lite
i  | libabsl2308_0_0        | package | 20230802.1-150400.10.4.1 | x86_64 | UpdateSLE
i  | libabsl2401_0_0        | package | 20240116.1-150500.13.7.8 | x86_64 | UpdateSLE
i  | libprotobuf-lite20     | package | 3.9.2-150200.4.21.1      | x86_64 | UpdateSLE
i  | libprotobuf-lite25_1_0 | package | 25.1-150500.12.2.2       | x86_64 | UpdateSLE
i+ | libzypp                | package | 17.34.1-150500.6.2.1     | x86_64 | UpdateSLE
i+ | zypper                 | package | 1.14.73-150500.6.2.1     | x86_64 | UpdateSLE
i+ | zypper-log             | package | 1.14.73-150500.6.2.1     | noarch | UpdateSLE
# egrep 'absl|f-lite' /var/log/zypp/history
2024-01-22 21:17:19|install|libprotobuf-lite20|3.9.2-150200.4.19.2|x86_64||openSUSE-Leap-15.5-1|8a2bf2df5aed462da115f7e31568455a70b0cba45e9f973c49c3ad2a0dbc9892|
2024-01-23 22:31:27|install|libprotobuf-lite20|3.9.2-150200.4.21.1|x86_64||UpdateSLE|3e36d9fbf8a5482764e73f7f1999c480e3a4f4831f6ea6706354dfc703e8d600|
2024-03-09 00:55:41|install|libabsl2308_0_0|20230802.1-150400.10.4.1|x86_64||UpdateSLE|218ac726dd655e61d5658c3ac169cbc46f939e241d7459e5200e029aadb5dc82|
2024-03-09 00:55:53|install|libprotobuf-lite25_1_0|25.1-150400.9.3.1|x86_64||UpdateSLE|99accaea3c59a4a07bffda5e37a3c4707d3f1569410b652dc80312dc90888640|
2024-05-19 12:44:40|install|libprotobuf-lite25_1_0|25.1-150400.9.6.1|x86_64||UpdateSLE|1d90755daf7158375888e94bc554277c9d6733764f191907c9ff368064a11025|
2024-06-28 16:41:22|install|libabsl2401_0_0|20240116.1-150500.13.7.8|x86_64||UpdateSLE|35c94c3357dc1bd05d38e7bd3650a2f00fb222ff7baf99b853adbaa19f95c328|
2024-06-28 16:41:30|install|libprotobuf-lite25_1_0|25.1-150500.12.2.2|x86_64||UpdateSLE|76dc5887e633b7eb8018c987b80ace9f1b28f8e72958a91ce0f6a5f302e91f3c|

Did you last update prior to March or January? If yes, you could be missing an older version of libprotobuf-lite* or libabsl. Another PC with 15.5 I just did updates on yesterday and its zypper is fine too. If you are missing what I have installed, download manually, and install using rpm, and if necessary, using --oldpackage switch.

As described in the bug the issue is fixed with libzypp-17.35.0 which no longer requires libprotobuf (which can be seen in the errror message in the first post).

That means, when libzypp-17.35.0 shows up on the update servers, the OP can update his system starting from an older snapshot. Or install the package manually via rpm -ivh directly in the broken snapshot

I don’t see the retracted version in OP’s list of installed packages.

# zypse zypp | grep 17.35
#

17.35 hasn’t hit mirrors yet. In the mean time, conforming his installed packages to mine should carry him until it does hit.

As described in the bug the issue is fixed with libzypp-17.35.0

Hi.

The solution is to wait a few days and then download libzypp-17.35.0 and install manually ? Which update repo do I dowloand it from ?

My repo list;

repo-oss-non.repo
repo-oss.repo
repo-update-backports.repo
repo-update-non-oss.repo
repo-update-oss.repo
repo-update-sle.repo

Hi … What about
zypper-lifecycle-plugin-0.6.1601367426.843fe7a-1.60.noarch
Is that on your system ?

It’s an option I don’t have use for. It exists to report to you when support life ends and should stop waiting to upgrade to 15.6.

You can do as I wrote and sync your package versions to mine (ignore lifecycle-plugin) to have fix currently, or you can wait until 17.35.0 hits the mirrors. How many hours or days that will be I have no idea. It’s still not there yet.

libzypp-17.35.0 is expected to be coming from update/leap/15.5/sle/.

When had you last updated? Long time, or recent? If long time, IMO your problem was likely caused by absence on your system of older versions of the libabsl or libprotobuf-lite packages that the upcoming fix makes obsolete. This happened to me with 15.6 some weeks ago. My fix at the time was to reinstall the older versions of libzypp and/or zypper to get around problems with an unreliable libprotobuf-lite dependency chain, similar to bug 1227202 but for 15.6 instead of 15.5.

Hi. My replies below.

So. I can just remove the pkg from my server once I get zypper working again ?

Yes. How do I ‘sync’ to u ? U have a repo where I can download the rpm from ? Sorry If I dont understand the process.

Noted.

About 2+ weeks ago ? That + could also be ++

Is this the bugreport link ?
https://bugzilla.suse.com/show_bug.cgi?id=1227202

Thanks mate.

SOLVED via;

# wget http://download.opensuse.org/update/leap/15.5/sle/x86_64/libprotobuf-lite25_1_0-25.1-150500.12.2.2.x86_64.rpm

# rpm -Uvh libprotobuf-lite25_1_0-25.1-150500.12.2.2.x86_64.rpm

Thanks guys !!!

It shouldn’t matter if or when you remove it.

http://download.opensuse.org/update/leap/15.5/ contains all the updates repositories that your /etc/zypp/repos.d/*.repo files point to and include the rpms you’ll need. To sync simply means install or upgrade from these repo directories the package names and versions that match mine in comment #3. From my list, the first is http://download.opensuse.org/update/leap/15.5/sle/x86_64/libabsl2308_0_0-20230802.1-150400.10.4.1.x86_64.rpm

To install probably requires the --oldpackage switch, so from within the download directory you used, do:

sudo rpm -Uvh --oldpackage libabsl2308_0_0-20230802.1-150400.10.4.1.x86_64.rpm

The link intended for openSUSE users to prefer in public is this. They’re both the same content and use identical credentials, but the lot of fun Geeko theme is obviously different.

For downloading rpms, cdn.opensuse.org and mirrorcache.opensuse.org and download.opensuse.org are all functional equivalents, but with slightly differing behavior in web browsers.

Thanks mate !!!

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