https://bugzilla.suse.com/show_bug.cgi?id=1226812 Bug ID: 1226812 Summary: "zypper purge-kernels" did not work for me in Leap 15.5 or Leap 15.6 Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.6 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: l_pat_s@hotmail.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- My 64-bit, openSUSE, Leap, Linux operating systems reported here were "guest" operating systems in Oracle Corporation VM (Virtual "Machine") VirtualBox 7.0.18 r162988 (Qt5.15.2). In Leap 15.5 on June 19, 2024: linux-hdi0:/home/newbie # zypper purge-kernels Reading installed packages... Preparing to purge obsolete kernels... Configuration: latest,latest-1,running Running kernel release: 5.14.21-150500.55.65-default Running kernel arch: x86_64 Resolving package dependencies... The following 18 packages are going to be REMOVED: kernel-default-5.14.21-150500.55.49.1 kernel-default-5.14.21-150500.55.52.1 kernel-default-5.14.21-150500.55.59.1 kernel-default-devel-5.14.21-150500.55.49.1 kernel-default-devel-5.14.21-150500.55.52.1 kernel-default-devel-5.14.21-150500.55.59.1 kernel-default-extra-5.14.21-150500.55.49.1 kernel-default-extra-5.14.21-150500.55.52.1 kernel-default-extra-5.14.21-150500.55.59.1 kernel-default-optional-5.14.21-150500.55.49.1 kernel-default-optional-5.14.21-150500.55.52.1 kernel-default-optional-5.14.21-150500.55.59.1 kernel-devel-5.14.21-150500.55.49.1 kernel-devel-5.14.21-150500.55.52.1 kernel-devel-5.14.21-150500.55.59.1 kernel-source-5.14.21-150500.55.49.1 kernel-source-5.14.21-150500.55.52.1 kernel-source-5.14.21-150500.55.59.1 18 packages to remove. After the operation, 4.1 GiB will be freed. Backend: classic_rpmtrans Continue? [y/n/v/...? shows all options] (y): y error: package kernel-default-devel-5.14.21-150500.55.49.1.x86_64 is not installed ( 1/18) Removing kernel-default-devel-5.14.21-150500.55.49.1.x86_64 .....[error] Removal of (868)kernel-default-devel-5.14.21-150500.55.49.1.x86_64(@System) failed: Error: Subprocess failed. Error: RPM failed: Command exited with status 1. Abort, retry, ignore? [a/r/i] (a): a Problem occurred during or after installation or removal of packages: Installation has been aborted as directed. Please see the above error message for a hint. linux-hdi0:/home/newbie # linux-hdi0:/home/newbie # uname -a Linux linux-hdi0.site 5.14.21-150500.55.65-default #1 SMP PREEMPT_DYNAMIC Thu May 23 04:57:11 UTC 2024 (a46829d) x86_64 x86_64 x86_64 GNU/Linux linux-hdi0:/home/newbie # In Leap 15.6 on June 19 or 20, 2024: newbie@linux-hdi0:~> su Password: linux-hdi0:/home/newbie # zypper purge-kernels Reading installed packages... Preparing to purge obsolete kernels... Configuration: latest,latest-1,running Running kernel release: 6.4.0-150600.21-default Running kernel arch: x86_64 Resolving package dependencies... The following 24 packages are going to be REMOVED: kernel-default-5.14.21-150500.55.49.1 kernel-default-5.14.21-150500.55.52.1 kernel-default-5.14.21-150500.55.59.1 kernel-default-5.14.21-150500.55.62.2 kernel-default-devel-5.14.21-150500.55.49.1 kernel-default-devel-5.14.21-150500.55.52.1 kernel-default-devel-5.14.21-150500.55.59.1 kernel-default-devel-5.14.21-150500.55.62.2 kernel-default-extra-5.14.21-150500.55.49.1 kernel-default-extra-5.14.21-150500.55.52.1 kernel-default-extra-5.14.21-150500.55.59.1 kernel-default-extra-5.14.21-150500.55.62.2 kernel-default-optional-5.14.21-150500.55.49.1 kernel-default-optional-5.14.21-150500.55.52.1 kernel-default-optional-5.14.21-150500.55.59.1 kernel-default-optional-5.14.21-150500.55.62.2 kernel-devel-5.14.21-150500.55.49.1 kernel-devel-5.14.21-150500.55.52.1 kernel-devel-5.14.21-150500.55.59.1 kernel-devel-5.14.21-150500.55.62.2 kernel-source-5.14.21-150500.55.49.1 kernel-source-5.14.21-150500.55.52.1 kernel-source-5.14.21-150500.55.59.1 kernel-source-5.14.21-150500.55.62.2 24 packages to remove. After the operation, 5.5 GiB will be freed. Backend: classic_rpmtrans Continue? [y/n/v/...? shows all options] (y): y error: package kernel-default-devel-5.14.21-150500.55.49.1.x86_64 is not installed ( 1/24) Removing kernel-default-devel-5.14.21-150500.55.49.1.x86_64 .....[error] Removal of (877)kernel-default-devel-5.14.21-150500.55.49.1.x86_64(@System) failed: Error: Subprocess failed. Error: RPM failed: Command exited with status 1. Abort, retry, ignore? [a/r/i] (a): a Problem occurred during or after installation or removal of packages: Installation has been aborted as directed. Please see the above error message for a hint. linux-hdi0:/home/newbie # uname -a Linux linux-hdi0.site 6.4.0-150600.21-default #1 SMP PREEMPT_DYNAMIC Thu May 16 11:09:22 UTC 2024 (36c1e09) x86_64 x86_64 x86_64 GNU/Linux linux-hdi0:/home/newbie # -- You are receiving this mail because: You are on the CC list for the bug.