On Sun, 17 Feb 2019, 16:06:45 +0100, Andrei Borzenkov wrote:
17.02.2019 17:52, Stefan Brüns пишет:
On Sonntag, 17. Februar 2019 10:45:55 CET Manfred Hollstein wrote:
Hi there,
as per $SUBJECT, the most recent kernel from Kernel:stable obsoletes
drm-kmp-default <= 4.12
This drm-kmp-default is a *backport* of the drm stack from linux 4.9 to 4.4. When you run *any* recent kernel, you get a drm stack much more up-to-date, so the package *is* obsolete.
Sure but I understand the problem differently. I may want to *temporary* test the latest kernel (e.g. being told to do so on bugzilla) but I do not want to permanently switch to it; I want to keep default kernel that comes with openSUSE release. The above Obsolete makes it impossible because as soon as I install new kernel it deletes drm-kmp-default of *default* kernel, impacting its (default kernel) functionality.
This is *exactly* my scenario here!
Basically drm-kmp-default should only be removed if no kernel that requires it is present. I do not know whether this is possible to express using RPM dependencies.
The question to be asked should be, is there a reason to obsolete the drm-kmp-default package at all?!? For me this would only make sense if you're not running (in the sense of multiversion.kernels) any of the distro based kernel any more. For Leap 42.3 I'd reckon to leave drm-kmp-default installed, and remove the Obsoletes for 42.3 from the .spec files. Cheers. l8er manfred