[Bug 1187383] New: Leap 15.3: can't remove kernel-default-5.3.18 without also removing other kernel
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1187383 Bug ID: 1187383 Summary: Leap 15.3: can't remove kernel-default-5.3.18 without also removing other kernel Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.3 Hardware: x86-64 OS: openSUSE Leap 15.3 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: arcasinky@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I have a Leap system that I've configured to pull kernels from Kernel:/stable:/Backport/standard because I have need to test against recent stable kernels. Today I upgraded this machine to from 15.2 to 15.3 and, in the process, a number of 5.3.18 kernel packages were re-installed. I was able to manually remove all but one: kernel-default-5.3.18. Attempts to remove that package results in some unexpected behavior: /tmp # uname -r 5.12.10-lp152.5.g332b26c-default So we're currently running the kernel from Kernel:stable repo... /tmp # rpm -qa | grep kernel-default kernel-default-5.12.10-lp152.5.1.g332b26c.x86_64 kernel-default-5.3.18-59.5.2.x86_64 So there are presently 2 kernels installed. I only ever want this machine to run kernels from Kernel:stable so let's delete that 5.3.18 kernel... /tmp # zypper remove kernel-default-5.3.18 Reading installed packages... Resolving package dependencies... The following 2 packages are going to be REMOVED: kernel-default-5.3.18-59.5.2 kernel-default-5.12.10-lp152.5.1.g332b26c 2 packages to remove. For some reason, using zypper to delete 5.3.18 would also delete 5.12.10 (which would leave me with no kernels installed). For giggles, let's try to use 'rpm' to delete that 5.3.18 package the old way... /tmp # rpm -e kernel-default-5.3.18 error: Failed dependencies: (kmod(dm_multipath.ko) if kernel) is needed by (installed) multipath-tools-0.8.5+80+suse.73c50f5-3.3.1.x86_64 (kmod(msr.ko) if kernel) is needed by (installed) fwupd-1.5.8-1.13.x86_64 (kmod(scsi_dh_alua.ko) if kernel) is needed by (installed) multipath-tools-0.8.5+80+suse.73c50f5-3.3.1.x86_64 (kmod(scsi_dh_emc.ko) if kernel) is needed by (installed) multipath-tools-0.8.5+80+suse.73c50f5-3.3.1.x86_64 (kmod(scsi_dh_rdac.ko) if kernel) is needed by (installed) multipath-tools-0.8.5+80+suse.73c50f5-3.3.1.x86_64 (kmod(sg.ko) if kernel) is needed by (installed) suse-module-tools-15.3.6-1.1.x86_64 I'm not sure what to make of this.. Upshot seems to be that I cannot remove kernel-default-5.3.18 without also removing kernel-default-5.12.10 -- You are receiving this mail because: You are the assignee for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1187383
https://bugzilla.suse.com/show_bug.cgi?id=1187383#c1
Takashi Iwai
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1187383
https://bugzilla.suse.com/show_bug.cgi?id=1187383#c2
--- Comment #2 from Michal Suchanek
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1187383
https://bugzilla.suse.com/show_bug.cgi?id=1187383#c3
--- Comment #3 from Michal Suchanek
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1187383
https://bugzilla.suse.com/show_bug.cgi?id=1187383#c4
--- Comment #4 from Michal Suchanek
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1187383
https://bugzilla.suse.com/show_bug.cgi?id=1187383#c5
--- Comment #5 from Martin Wilck
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1187383
https://bugzilla.suse.com/show_bug.cgi?id=1187383#c6
--- Comment #6 from Michal Suchanek
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1187383
https://bugzilla.suse.com/show_bug.cgi?id=1187383#c7
--- Comment #7 from Michal Suchanek
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1187383
https://bugzilla.suse.com/show_bug.cgi?id=1187383#c8
--- Comment #8 from Jimmie Mayfield
yes, you probably need
kernel-default-5.12.10-lp153.5.1.g332b26c
rather than
kernel-default-5.12.10-lp152.5.1.g332b26c
Where might one find kernel-default-*-lp153-*? Is there a separate backports repo for 15.3? I didn't see one when I looked this morning. -- You are receiving this mail because: You are the assignee for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1187383
https://bugzilla.suse.com/show_bug.cgi?id=1187383#c9
--- Comment #9 from Michal Suchanek
(In reply to Michal Suchanek from comment #4)
yes, you probably need
kernel-default-5.12.10-lp153.5.1.g332b26c
rather than
kernel-default-5.12.10-lp152.5.1.g332b26c
Where might one find kernel-default-*-lp153-*? Is there a separate backports repo for 15.3? I didn't see one when I looked this morning.
There isn't which is the problem. As said in the previous comment I set a repo to build against 15.3 and installing e kernel from there should fix the issue. -- You are receiving this mail because: You are the assignee for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1187383
https://bugzilla.suse.com/show_bug.cgi?id=1187383#c11
--- Comment #11 from Martin Wilck
It seems that also at least correct syms and default-base are missing when installing linux kernel development.
Please be more specific. -- You are receiving this mail because: You are the assignee for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1187383
https://bugzilla.suse.com/show_bug.cgi?id=1187383#c13
--- Comment #13 from Martin Wilck
zypper in kernel-default-devel-5.13~rc6-2.1.gb5e23d2 Loading repository data... Reading installed packages... Resolving package dependencies...
Problem: nothing provides 'libc.so.6(GLIBC_2.33)(64bit)' needed by the to be installed kernel-default-devel-5.13~rc6-2.1.gb5e23d2.x86_64
The standard choice of kernels on my Leap 15.3 system looks like this (somewhat confusing indeed):
# zypper se -s kernel-default-devel Loading repository data... Reading installed packages...
S | Name | Type | Version | Arch | Repository --+----------------------+---------+-------------------+--------+------------------------------------------------------------- i | kernel-default-devel | package | 5.3.18-lp152.75.1 | x86_64 | (System Packages) v | kernel-default-devel | package | 5.3.18-59.5.2 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15 i | kernel-default-devel | package | 5.3.18-57.3 | x86_64 | leap v | kernel-default-devel | package | 5.3.18-24.67.3 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15 v | kernel-default-devel | package | 4.12.14-197.92.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15 v | kernel-default-devel | package | 4.12.14-197.89.2 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
-- You are receiving this mail because: You are the assignee for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1187383
https://bugzilla.suse.com/show_bug.cgi?id=1187383#c14
--- Comment #14 from Michal Suchanek
These repos aren't made for Leap. I can't install kernel-default-devel on Leap at all:
zypper in kernel-default-devel-5.13~rc6-2.1.gb5e23d2 Loading repository data... Reading installed packages... Resolving package dependencies...
Problem: nothing provides 'libc.so.6(GLIBC_2.33)(64bit)' needed by the to be installed kernel-default-devel-5.13~rc6-2.1.gb5e23d2.x86_64
That's not a kernel built on leap so it's not installable. That's a known problem. You should be able to install a kernel built on Leap from the repo mentioned above. -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com