When I install an updated kernel - as part of regular updates - it takes a lot longer than any other update. (I'm talking about a few minutes - not a really long time.) There are no error messages. I'm talking about successful, routine updates.
I have noticed this for years. It doesn't matter which specific kernel it is.
I have a fast connection. The time to download it isn't long and I'm not counting it. I'm also not counting the time to reboot after the kernel is installed.
I'd just like to know what its doing that takes so long.
It also takes pretty long to uninstall an old kernel version although it's a little faster than installing a new one.
Part of it is probably because it has to run grub update a couple of times, which is time consuming. From some messages I've seen, it looks like this always runs twice. I don't know why.
What does a kernel update actually do?
(I know what kernels are and what they do. I'm asking specifically about the update process itself.)