Bug 1175810

Summary: kernel from kernel:stable can not installed
Product: [openSUSE] openSUSE Tumbleweed Reporter: Stephan Hemeier <Sauerlandlinux>
Component: KernelAssignee: openSUSE Kernel Bugs <kernel-bugs>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: Sauerlandlinux, tiwai
Version: Current   
Target Milestone: ---   
Hardware: 64bit   
OS: openSUSE Leap 15.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stephan Hemeier 2020-08-27 06:37:30 UTC
Hello

I use kernel from kernel:stable for years.
After building Kernel 5.8.4 in kernel:stable I get this in Yast:

Subprocess failed. Error: RPM fehlgeschlagen: Free diskspace below /boot: 198049984 blocks
error: unpacking of archive failed: cpio: Bad magic
error: kernel-default-5.8.4-1.1.g64fe492.x86_64: install failed

If I install with zypper:

The following package requires a system reboot:
  kernel-default-5.8.4-1.1.g64fe492

1 new package to install.
Overall download size: 0 B. Already cached: 82,2 MiB. After the operation, additional 175,5 MiB will be used.

    Note: System reboot required.
Continue? [y/n/v/...? shows all options] (y): 
In cache kernel-default-5.8.4-1.1.g64fe492.x86_64.rpm                                                                                                                         (1/1),  82,2 MiB (175,5 MiB unpacked)

Checking for file conflicts: ................................................................................................................................................................................[done]
(1/1) Installing: kernel-default-5.8.4-1.1.g64fe492.x86_64 .................................................................................................................................................[error]
Installation of kernel-default-5.8.4-1.1.g64fe492.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed: cpio: Bad magic
error: kernel-default-5.8.4-1.1.g64fe492.x86_64: install failed

And now with rpm:
rpm -Uv kernel-default-5.8.4-1.1.g64fe492.x86_64.rpm 
error: Failed dependencies:
        rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by kernel-default-5.8.4-1.1.g64fe492.x86_64
        kernel-uname-r = 5.8.3-1.gbad027a-default is needed by (installed) broadcom-wl-kmp-default-6.30.223.271_k5.8.3_1.gbad027a-125.4.x86_64
        kernel-uname-r = 5.8.3-1.gbad027a-default is needed by (installed) r8168-kmp-default-8.048.03_k5.8.3_1.gbad027a-67.4.x86_64

The last one I have searched for and I found that rpm is using zstd?
--enable-zstd \
https://build.opensuse.org/package/view_file/openSUSE:Factory/rpm/rpm.spec?expand=1
Comment 1 Stephan Hemeier 2020-08-27 06:40:11 UTC
Forgotten:
/boot has 94 GB of free disk space.

This problem affects also my kmps build for kernel:stable with the same errors.
They build fine but can not installed.

Stephan
Comment 2 Stephan Hemeier 2020-08-28 16:57:57 UTC
Its an Problem with rpm in Leap 15.1.
See:
https://lists.opensuse.org/opensuse-support/2020-08/msg00097.html
Comment 3 Takashi Iwai 2020-08-31 15:18:22 UTC
It's due to the recent RPM compression format change, and pesign couldn't deal with it.

*** This bug has been marked as a duplicate of bug 1175882 ***
Comment 4 Stephan Hemeier 2020-08-31 15:48:02 UTC
I upgraded to Leap 15.2 and all is now ok.....

Stephan