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 Sun, 26 Jul 2020 23:26:05 +0530
Sreyan Chakravarty <sreyan32@xxxxxxxxx> wrote:

> Running the following command I get the output:
> 
> $ dnf list installed kernel-* | grep -i 5.7
> 
> kernel-core.x86_64 5.7.10-201.fc32
> kernel-devel.x86_64 5.7.10-201.fc32
> kernel-headers.x86_64 5.7.10-200.fc32
> kernel-modules.x86_64 5.7.10-201.fc32
> kernel-modules-extra.x86_64 5.7.10-201.fc32
> 
> How on earth do I now remove these ?
> 
> Could you just give me a sample DNF remove command for these ?
> 
> Thanks so much.

That is the problem with the dnf technique, it doesn't give the actual
package name, you have to put it together manually.

On my system I ran the following convoluted command in order to isolate
a single kernel.
rpm -qa | grep ^kernel | grep 5\.8 | grep rc5 | less

The results:
kernel-modules-5.8.0-0.rc5.20200717git07a56bb875af.1.20200719.fc31.x86_64
kernel-tools-libs-5.8.0-0.rc5.20200717git07a56bb875af.1.20200719.fc31.x86_64
kernel-modules-extra-5.8.0-0.rc5.20200717git07a56bb875af.1.20200719.fc31.x86_64
kernel-modules-internal-5.8.0-0.rc5.20200717git07a56bb875af.1.20200719.fc31.x86_64
kernel-devel-5.8.0-0.rc5.20200717git07a56bb875af.1.20200719.fc31.x86_64
kernel-tools-libs-devel-5.8.0-0.rc5.20200717git07a56bb875af.1.20200719.fc31.x86_64
kernel-headers-5.8.0-0.rc5.20200717git07a56bb875af.1.20200719.fc31.x86_64
kernel-core-5.8.0-0.rc5.20200717git07a56bb875af.1.20200719.fc31.x86_64
kernel-5.8.0-0.rc5.20200717git07a56bb875af.1.20200719.fc31.x86_64
kernel-tools-5.8.0-0.rc5.20200717git07a56bb875af.1.20200719.fc31.x86_64 

Notice that rpm returns the actual package name. So, I would just
create a command like
dnf remove \
kernel-core-5.8.0-0.rc5.20200717git07a56bb875af.1.20200719.fc31.x86_64 \
kernel-5.8.0-0.rc5.20200717git07a56bb875af.1.20200719.fc31.x86_64 \
etc. until all of them are listed.

In an actual shell instead of an email message, the backslash escape is
not needed, just a space between them.  Double click to select, paste
using middle mouse button, space, double click to select, paste using
middle mouse button, space, etc.
_______________________________________________
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