Comment # 43 on bug 1182666 from
(In reply to B from comment #41)
> I did some testing myself, removed all kernel 5.11.4 packages, installed
> 5.11.4-1.2 from RPMs then installed 1.3 from repo but couldn't reproduce the
> problem.
> 
> One observation I made is that when kernel-default is installed the broken
> links in weak-updates/updates/ are generated, then later when
> kernel-default-devel is being installed those links are removed and the
> proper modules are generated in updates/ and it looks like the packages are
> always installed in the same correct order:
>     1. kernel-default
>     2. kernel-devel
>     3. kernel-default-devel
> so cause from random installation order doesn't seem possible. There seems
> to be some other weird fairly rare fault during kernel-default-devel
> installation that happens.

Actually this makes sense. The rebuild of the nvidia kernel module on TW is
triggered by an update of kernel-default-devel and
at this time broken weak-updates symlinks are removed as well.

# get rid of broken weak-updates symlinks created in some %post apparently;
# either by kmp itself or by kernel package update
for i in $(find /lib/modules/*/weak-updates -type l 2> /dev/null); do
  test -e $(readlink -f $i) || rm $i
done
[...] (build and install kernel module)

So it seems users are updating kernel-default, but not kernel-default-devel.
Not sure why. kernel-default-devel is simply needed
to (re)build the kernel module.


You are receiving this mail because: