Re: Kernel headers version mismatch?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Qiyu Yan,

   Thanks; you are correct. I tried a fresh F34 install. The rpm was pulling in kernel-debug-devel not kernel-devel. It then spat:

DKMS: add completed.
Error! echo
Your kernel headers for kernel 5.11.12-300.fc34.x86_64 cannot be found at
/lib/modules/5.11.12-300.fc34.x86_64/build or /lib/modules/5.11.12-300.fc34.x86_64/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.

If I install kernel-devel first it works (well actually it doesn't work but for a quite separate, old, reason which I was hoping F34 might have fixed)

Sounds like an issue with the rpm dependencies. But its also a rather unhelpful error message.

    Bill


   

On 22/04/2021 13:11, Qiyu Yan wrote:
在 2021-04-22星期四的 12:30 +0100,William John Murray写道:
   Dear all,

     I wanted to test openafs on Fedora 34 RC1, using jsbillings
repo, 
relying on dkms.

The problem is the kernel is 5.11.12, but the kernel-headers is
5.11.11.
kernel-headers don't need to exactly match kernel version.
I enabled updates-testing and upgraded, to get kernel is 5.11.15, but
the kernel-headers is 5.11.14!

   So dkms cannot build. I don't seem to be able to find matching
kernel 
I think you may need kernel-devel, just dnf install kernel would be
fine.
& header versions. I can bodge it with a softlink which works, but
this 
may cause others trouble?

       Bill


-- 
Bill Murray
STFC-RAL / Warwick University
Sent from my laptop
Skype william.john.murray             Tel +44 7826 486185
_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/test@lists.fedoraprojec
t.org
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure

      
_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/test@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
-- 
Bill Murray
STFC-RAL / Warwick University
Sent from my laptop
Skype william.john.murray             Tel +44 7826 486185
_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/test@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux