On 4/6/20 1:14 PM, Florian Weimer wrote:
Installation fails like this:
Running transaction
Preparing : 1/1
Installing : perf-debuginfo-5.5.15-200.fc31.x86_64 1/1
Error unpacking rpm package perf-debuginfo-5.5.15-200.fc31.x86_64
Verifying : perf-debuginfo-5.5.15-200.fc31.x86_64 1/1
The RPM headers look okay, but the payload seems to be missing
completely.
perf-debuginfo-5.5.9-200.fc31.x86_64 seems to be affected as well, so
this might be a deterministic issue. 8-(
As corrupt rpm packages tend to get people edgy, here's the short
summary of what this was about:
kernel-tools.spec had inherited a manual perf-debuginfo sub-package from
the kernel.spec, but unlike the kernel itself it has automatic debuginfo
generation enabled. These silently clash and cause said debuginfo
package tobe written twice, the result being a timing dependent coin-toss.
So the rpm bug is that it doesn't cleanly error out on this situation,
but it's nothing more serious than a funny little corner-case with
packages doing their own debuginfo sub-packaging.
- Panu -