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 7/29/20 2:57 PM, Sreyan Chakravarty wrote:
I tried:
$ dnf repoquery --installed kernel*-5.6.*
kernel-0:5.6.10-300.fc32.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:

That seems like an odd command, but that "0:" is the epoch (0 is also no epoch). That command includes the epoch in the listing.

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

kernel-5.6.8-200.fc31.x86_64

rpm by default does not include the epoch info.  It's rarely relevant.

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. :-)

There's no epoch shown there.
Here's a fun command for you to try (all on one line):
rpm -q --qf "Name: %{NAME}\nEpoch: %{EPOCH}\nRelease: %{RELEASE}\nVersion: %{VERSION}\n" kernel

"rpm --querytags" will give you a list of all the tags you can use there.

Thanks for your help. I want to use DNF wherever I can since it is the more standard way to do package queries.

rpm is probably faster, but can only give you information about what is currently installed on your computer. dnf can look through all the repository files to get you info on anything that's available.
_______________________________________________
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