Error Update krb5 on SLES12 SP5

Hello,
when installing the latest krb5 package (1.16.3-46.6.1) I get the following error message:

rpm -Uvvh krb5-1.16.3-46.6.1.x86_64.rpm


D: %postun(krb5-1.16.3-46.3.1.x86_64): scriptlet start
D: %postun(krb5-1.16.3-46.3.1.x86_64): execv(/sbin/ldconfig) pid 1856
/sbin/ldconfig: relative path `1’ used to build cache
D: %postun(krb5-1.16.3-46.3.1.x86_64): waitpid(1856) rc 1856 status 100
warning: %postun(krb5-1.16.3-46.3.1.x86_64) scriptlet failed, exit status 1
D: — h# 1119 krb5-1.16.3-46.3.1.x86_64

Does anyone else have this? Is this known? Is the package defective?

Regards
Jens

Welcome!

I just installed a minimal test server with SLES12 SP5 which included krb5-1.12.5-40.37.7 and then upgraded the krb5 package as you did without any issues.

If it helps the SHA-256 checksum of the RPM I downloaded is
618d3683a7516459e046ea6ae4069e2dd434e6232aab7dc5b997162904c50a89

Thanks for the feedback and your test. My rpm-file has the same sha256sum.

I also get the error message when I run a krb5 downgrade from 1.16.3-46.6.1 to version 1.12.5-40.37.7.

Additional rpm output:
/sbin/ldconfig: relative path `1’ used to build cache
warning: %postun(krb5-1.16.3-46.6.1.x86_64) scriptlet failed, exit status 1

I did some more testing with all krb5 versions of the repos and found that the error message is generated by the %postun scriplet of the 1.16.x version, which is uninstalled on a version change. If a 1.12.x version is uninstalled, the error does not occur.

My original error occurred during the update from 1.16.3-46.3.1 to 1.16.3-46.6.1.

I have now compared the spec-files of versions krb5-1.12.5-40.x.x with krb5-1.16.3-46.x.x from the source RPMs.
The postun-scriplet was under krb5-1.12.5-40.x.x:
%postun
/sbin/ldconfig

As of krb5-1.16.3-46.3.1 it is:
%postun -p /sbin/ldconfig

The packages can all be installed, only the message is displayed. In other distros, this postun error message is also described as “Non-fatal”.