On 16/06/2022 15.04, Michael D. Setzer II via users wrote:
Just did a dnf update and notice a whole lot of messages like this.
hardlink: cannot link ./include/net/devlink.h to /usr/src/kernels/5.17.11-200.fc35.x86_64/./include/net/de vlink.h.hardlink-temporary: File exists
+------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mikes@guam.net mailto:msetzerii@gmail.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+
See thread from two keeks ago "hardlink" errors during weekly "dnf upgrade" The conclusion there was that it is a packaging error, and to remove the kernel debug packages: $ sudo dnf remove 'kernel-debug-devel*' Worked for me.
HTH