Zypper patch fails with "requirement cannot be provided"

Hi all,

since a pretty long while zypper patch and KDE/Plasma “Updates” Plasmoid are failing with

# zypper patch && zypper ps -s
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: 1: the installed python2-deltarpm-3.6.1-3.19.x86_64 requires 'deltarpm = 3.6.1', but this requirement cannot be provided
 Solution 1: Following actions will be done:
  do not install patch:openSUSE-SLE-15.6-2024-3123-1.noarch
  do not install patch:openSUSE-SLE-15.6-2024-3479-1.noarch
 Solution 2: deinstallation of python2-deltarpm-3.6.1-3.19.x86_64
 Solution 3: break python2-deltarpm-3.6.1-3.19.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/3/c/d/?] (c): c

FYI:

# zypper info deltarpm
Loading repository data...
Reading installed packages...


Information for package deltarpm:
---------------------------------
Repository     : Update repository with updates from SUSE Linux Enterprise 15
Name           : deltarpm
Version        : 3.6.5-150000.5.6.3
Arch           : x86_64
Vendor         : SUSE LLC <https://www.suse.com/>
Installed Size : 836.4 KiB
Installed      : Yes (automatically)
Status         : out-of-date (version 3.6.1-3.19 installed)
Source package : deltarpm-3.6.5-150000.5.6.3.src
Upstream URL   : https://github.com/rpm-software-management/deltarpm/
Summary        : Tools to Create and Apply deltarpms
Description    : 
    This package contains tools to create and apply deltarpms. A deltarpm
    contains the difference between an old and a new version of an RPM,
    which makes it possible to recreate the new RPM from the deltarpm and
    the old one. You do not need to have a copy of the old RPM, because
    deltarpms can also work with installed RPMs.

Usually these types of error disappearing are after a while, and frequent hint here in forum was “just wait until fixed”. But this time it’s pretty sticky. And as I myself don’t use deltarpm pkgs, but seems to be needed for zypper etc. itself, no idea how to fix, as just uninstall might be not a good idea…

Any hints?

Can you perform a zypper up?
And btw why do you still have the package python2-deltarpm? It is not available for Leap 15.6 or even 15.5. It seems like a really old package from a former Leap version (15.3?). So solution 2 (deinstallation) is the right choice.

Also check that you don’t have any package locks…

@hui is right. Did you update 15.1 → 15.2 → 15.3 → 15.4 → 15.5 → 15.6? (no all versions are needed). Updated 5 PCs a few weeks ago from 15.5 → 15.6 and
Solution 2: deinstallation of python2-deltarpm-3.6.1-3.19.x86_64
was the right solution.

@hui and @Kieltux THANKS for answering!!

Deinstalled as advised, “zypper patch” now running fine again.

@Kieltux Yes, zypper dup(ed) in a row, but started with even 13.1 or 13.2 in 2015 +/-…
I know that my barebone for sure after 10 years isn’t a gaming PC, but haven’t ever been, was a bloody slow but SILENT as passively cooled box even when bought that time… ISN’T THIS a remarkable example how well designed and ressource saving LINUX is???

:slight_smile: Michael

1 Like

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