Re: Various bugs with the new 5.7 kernel on Fedora 32

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

 





On Mon, Jul 27, 2020 at 8:09 PM Todd Zullinger <tmz@xxxxxxxxx> wrote:

The subsection "NEVRA Matching" lists the forms dnf accepts.
For kernel*-5.7.*, we're matching the name-[epoch:]version
form (the '[epoch:]' portion means it's optional to provide
the Epoch portion (that's the E in NEVRA¹).

So kernel* is the Name part and 5.7.* is the Version part in
the specification.  As both have globs in them, we look at
the Globs section which says:

    *      Matches any number of characters.

That's what allows the package-spec to match all the kernel
subpackages.  (In theory, you could list them all out using
the '{}' notation -- but I think that's either buggy or
incorrect documentation.  It likely relies on the shell's
brace expansion rather than dnf's.)

 
Ok I have a couple of questions:

1 ) 

I tried:
$ dnf repoquery --installed kernel*-5.6.*
kernel-0:5.6.10-300.fc32.x86_64
kernel-0:5.6.8-200.fc31.x86_64
kernel-core-0:5.6.10-300.fc32.x86_64
kernel-core-0:5.6.8-200.fc31.x86_64
kernel-devel-0:5.6.10-300.fc32.x86_64
kernel-devel-0:5.6.8-200.fc31.x86_64
kernel-headers-0:5.6.10-300.fc32.x86_64
kernel-modules-0:5.6.10-300.fc32.x86_64
kernel-modules-0:5.6.8-200.fc31.x86_64
kernel-modules-extra-0:5.6.10-300.fc32.x86_64
kernel-modules-extra-0:5.6.8-200.fc31.x86_64

Where is the extra 0 in " kernel-0 " coming from ? If you see the rpm -qa output the zero is not present there:

$ rpm -qa | grep ^kernel | grep '5\.6'

kernel-devel-5.6.10-300.fc32.x86_64
kernel-5.6.10-300.fc32.x86_64
kernel-headers-5.6.10-300.fc32.x86_64
kernel-core-5.6.10-300.fc32.x86_64
kernel-core-5.6.8-200.fc31.x86_64
kernel-modules-5.6.8-200.fc31.x86_64
kernel-5.6.8-200.fc31.x86_64

2) 

How do I know which is the epoch and the version and the release in NEVRA ? And are there any standard separators between them ?

  kernel-5.6.10-300.fc32.x86_64  

Which is what here ? I know the name is 'kernel' that one was easy. :-)



Thanks for your help. I want to use DNF wherever I can since it is the more standard way to do package queries.
 
--
Regards,
Sreyan Chakravarty
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-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/users@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux