On 2023-07-06 10:59:35 +0200, Andreas Beckmann wrote: > On 05/07/2023 21.52, Vincent Lefevre wrote: > > What you said is that the upgrade to 6.3.0-2-* is expected to break > > dkms module building for everyone still having linux-headers-6.3.0-1-* > > installed (which is exactly my case), and 6.3.0-1 was indeed the > > currently running kernel in my case. > > > > This means that you expect the upgrade to 6.3.0-2-* to rebuild the > > kernel modules for 6.3.0-1 (otherwise, i.e. if the 6.3.0-1 modules > > are not rebuilt, there are no bugs at all). But this is not what > > happened. > > Right. The installation of 6.3.0-2-* won't trigger a rebuild of 6.3.0-1-*. > But the upgrade (or new installation) of any *-dkms package will.
In this case, the user can safely ignore the error, as it doesn't make the upgrade fail. The old kernel should still work: it will just lack new features provided by the new kernel modules. This should be no worse than removing the *working* modules for the old kernel, as you suggested in bug 1040178: "[...] that the headers for the older kernel are going to be removed and as a consequence all dkms modules will be removed for this old kernel, which may make the system unbootable into this old kernel." -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)