Kernel Update: Getting several file or directory not found errors

,

Hey all,

first of all, the kernel updates work fine and the system is acting normally.

I’m just wondering what causes these errors as I’m getting this with EVERY kernel update since kernel 6.17.x

[RPM] Datei /lib/modules/7.0.13-200.fc44.x86_64/weak-updates: remove failed: Datei oder Verzeichnis nicht gefunden
[RPM] Datei /lib/modules/7.0.13-200.fc44.x86_64/updates: remove failed: Datei oder Verzeichnis nicht gefunden
[RPM] Datei /lib/modules/7.0.13-200.fc44.x86_64/systemtap: remove failed: Datei oder Verzeichnis nicht gefunden
[RPM] Datei /lib/modules/7.0.13-200.fc44.x86_64/kernel/sound: remove failed: Datei oder Verzeichnis nicht gefunden
[RPM] Datei /lib/modules/7.0.13-200.fc44.x86_64/kernel/net/wireless: remove failed: Datei oder Verzeichnis nicht gefunden
[RPM] Datei /lib/modules/7.0.13-200.fc44.x86_64/kernel/net/sunrpc/xprtrdma: remove failed: Datei oder Verzeichnis nicht gefunden
[RPM] Datei /lib/modules/7.0.13-200.fc44.x86_64/kernel/net/smc: remove failed: Datei oder Verzeichnis nicht gefunden
[RPM] Datei /lib/modules/7.0.13-200.fc44.x86_64/kernel/net/sctp: remove failed: Datei oder Verzeichnis nicht gefunden
[RPM] Datei /lib/modules/7.0.13-200.fc44.x86_64/kernel/net/rose: remove failed: Datei oder Verzeichnis nicht gefunden
[RPM] Datei /lib/modules/7.0.13-200.fc44.x86_64/kernel/net/rfkill: remove failed: Datei oder Verzeichnis nicht gefunden
[RPM] Datei /lib/modules/7.0.13-200.fc44.x86_64/kernel/net/rds: remove failed: Datei oder Verzeichnis nicht gefunden
[RPM] Datei /lib/modules/7.0.13-200.fc44.x86_64/kernel/net/nfc: remove failed: Datei oder Verzeichnis nicht gefunden
[RPM] Datei /lib/modules/7.0.13-200.fc44.x86_64/kernel/net/netrom: remove failed: Datei oder Verzeichnis nicht gefunden

As my system works normally, I’m guessing it’s just an information and nothing really serious.

Would love to hear if I can keep ignoring it.

Regards,
Andreas

On my system I see that the directories /lib/modules/7.0.13-200.fc44.x86_64/{weak-updates,updates,systemtap} and /lib/modules/7.0.13-200.fc44.x86_64/kernel/sound do exist. I also see that the directory /lib/modules/7.0.13-200.fc44.x86_64/kernel/net does not exist.

However, I wonder why a kernel update would be trying to remove those files/directories right now since the 7.0.13 kernel is very new and only the 7.0.14 and 7.1.3 kernels are newer. If you were booted with the 7.0.13 kernel when those messages were seen the removal should be blocked with dnf or the gui package manager since the system is never supposed to remove anything for the running kernel.

Where did those messages even come from? Are you doing kernel updates using some non-standard tools?

I never see any messages that are structured like that and I use dnf on the command line to perform all my updates and have never seen such [RPM] messages in journalctl or the logs under /var/log or with dmesg.

I have seen these messages on occasions, but not on the latest kernel update. Years ago the/usr/lib/modules was left not entry when the corresponding kernel packages was removed. Maybe to fix that there were extra command to try to properly clean this up, and thereby some remove commands were done twice.

I only use dnf to update system packages including the kernel. Today I did the update from 7.1.3-200 to 7.1.3-201 and these messages appeared again. This messages are an output while dnf deletes the packages of an old kernel.

I’ve been getting these messages for so long, and I’ve wondered if there might be directories involved that no longer exist.

Is it possible that this is just some kind of debug info? Is there a way to set the debug level for dnf?

Are you manually using the kernel-install command as indicated in the tags, or are those messages appearing when running dnf?

Those messages appear when running dnf.

Same here, upgraded to 7.1.4.-200. I only use dnf and this is the first time I’ve received these messages, it hasn’t happened in the past.