On Sun, 2020-04-19 at 01:21 +0200, Christoph Anton Mitterer wrote: > On Sat, 2020-04-18 at 22:54 +0100, Ben Hutchings wrote: > > No, it does not. It removes kmod's index files > I probably should have better checked the code I've copy&pased ^^ > > > > This is a known bug but I don't know how to fix it. > > Maybe I'm thinking way to simple... but if depmod fixes that... > couldn't one install e.g. a trigger, that runs it in the end? > > Or alternatively, simply call depmod unconditonally in the postrm, > after the files were (potentially) removed? > > Maybe one could even check in e.g. the postrm of the -unsigned whether > the -signed version of the same name is now installed and only invoke > depmod then (and vice versa for the postrm of the -signed version). I came up with a simpler alternative: https://salsa.debian.org/kernel-team/linux/-/commit/67fa568149b985f73b333acdec4481acf667192f But I haven't found time to test it yet. Ben. -- Ben Hutchings I say we take off; nuke the site from orbit. It's the only way to be sure.
Attachment:
signature.asc
Description: This is a digitally signed message part