On recent kernel updates with dnf
, hundreds of messages appear in the terminal of the form:
hardlink: cannot link /usr/src/kernels/5.15.8-200.fc35.x86_64+debug/./sound/aoa/soundbus/Makefile to /usr/src/kernels/5.15.7-200.fc35.x86_64+debug/./sound/aoa/soundbus/Makefile.hardlink-temporary: File exists
hardlink: cannot link /usr/src/kernels/5.15.8-200.fc35.x86_64+debug/./sound/aoa/soundbus/Makefile to /usr/src/kernels/5.15.6-200.fc35.x86_64+debug/./sound/aoa/soundbus/Makefile.hardlink-temporary: File exists
hardlink: cannot link /usr/src/kernels/5.15.7-200.fc35.x86_64+debug/./sound/aoa/soundbus/Makefile to /usr/src/kernels/5.15.6-200.fc35.x86_64+debug/./sound/aoa/soundbus/Makefile.hardlink-temporary: File exists
No problems have been noticed. Is this normal, or is there something to investigate or resolve?
A mailing list user reported the same thing: Re: Hundreds of These on Recent F35 Kernel Updates — Fedora Linux Users
It is mentioned that it may be due to having debug kernels installed, which I do. I checked what depends on the debug kernel package on my system and it seems I should keep it:
$ sudo repoquery -q --installed --whatrequires kernel-debug-devel
akmods-0:0.5.6-28.fc35.noarch
dkms-0:3.0.2-1.fc35.noarch