Fixing out of date nodebug kernels

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

 



https://dl.fedoraproject.org/pub/alt/rawhide-kernel-nodebug/

At time of writing the nodebug kernels have a lower NVR than the ones
in Koji and Rawhide.  In fact, this is quite often the case.

Now I understand why this happens, and I'm not complaining about that
process.  But I wonder if we could solve this with a technological
solution?  I think if you put:

  priority=98

into the .repo file, then it'll always prefer the nodebug kernels even
if they have a lower NVR.  See "priority" here:

https://dnf.readthedocs.io/en/latest/conf_ref.html

With no change:

$ sudo dnf update kernel
Last metadata expiration check: 4:18:46 ago on Thu 19 May 2022 11:30:26 BST.
Dependencies resolved.
================================================================================
 Package       Arch   Version              Repository                      Size
================================================================================
Installing:
 kernel        x86_64 5.18.0-0.rc7.54.fc37 rawhide                        247 k
 kernel-core   x86_64 5.18.0-0.rc7.54.fc37 rawhide                         48 M
 kernel-modules
               x86_64 5.18.0-0.rc7.54.fc37 rawhide                         56 M
Removing:
 kernel        x86_64 5.18.0-0.rc3.27.fc37 @fedora-rawhide-kernel-nodebug   0  
 kernel-core   x86_64 5.18.0-0.rc3.27.fc37 @fedora-rawhide-kernel-nodebug  91 M
 kernel-modules
               x86_64 5.18.0-0.rc3.27.fc37 @fedora-rawhide-kernel-nodebug  55 M

With priority=98 added:

$ sudo dnf update kernel
Rawhide kernels built without debugging turned  9.7 kB/s | 3.0 kB     00:00    
Dependencies resolved.
================================================================================
 Package       Arch   Version              Repository                      Size
================================================================================
Installing:
 kernel        x86_64 5.18.0-0.rc7.54.fc37 fedora-rawhide-kernel-nodebug  247 k
 kernel-core   x86_64 5.18.0-0.rc7.54.fc37 fedora-rawhide-kernel-nodebug   48 M
 kernel-modules
               x86_64 5.18.0-0.rc7.54.fc37 fedora-rawhide-kernel-nodebug   56 M
Removing:
 kernel        x86_64 5.18.0-0.rc3.27.fc37 @fedora-rawhide-kernel-nodebug   0  
 kernel-core   x86_64 5.18.0-0.rc3.27.fc37 @fedora-rawhide-kernel-nodebug  91 M
 kernel-modules
               x86_64 5.18.0-0.rc3.27.fc37 @fedora-rawhide-kernel-nodebug  55 M

I think if someone installed the repository, they've likely made a
choice that they don't want the debug kernels.  I know I have.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux