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/ +------------------------------------------------------------+
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
On 16 Jun 2022 at 15:24, Eyal Lebedinsky wrote:
Date sent: Thu, 16 Jun 2022 15:24:01 +1000 Subject: Re: error messages during dnf update?? To: users@lists.fedoraproject.org From: Eyal Lebedinsky fedora@eyal.emu.id.au Send reply to: Community support for Fedora users users@lists.fedoraproject.org
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
Don't have that installed? /usr/src/kernels/5.17.11-200.fc35.x86_64 is the directory directory that has all the stuff, and it isn't one of the 3 kernels in boot??
kernel-headers-5.17.11-200.fc35.x86_64 is the only package that has the 5.17.11, but if I tell it to remove that it wants to remove 84 other packages??
On two other machines the /usr/src/kernels only has the 3 active kernels listed.
So not sure why this one got left over, or why there isn't a newer kernel-headers for the active kernels.
Thanks for info.
-- Eyal Lebedinsky (fedora@eyal.emu.id.au) _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
+------------------------------------------------------------+ 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/ +------------------------------------------------------------+
On Thu, 16 Jun 2022 19:22:12 +1000 "Michael D. Setzer II via users" users@lists.fedoraproject.org wrote:
So not sure why this one got left over, or why there isn't a newer kernel-headers for the active kernels.
The kernel-headers is a separate package, and it is only updated if the header files actually change. So, the kernel can be newer than the headers package.