From Newsgroup: alt.os.linux.fedora
I pasted that command into the terminal command line,
nothing seemed to happen.
One of the greps is waiting for input, probably the last one.
Run this instead:
sudo dnf erase $(rpm -q -a | grep "^kernel" | grep -v -e $(uname -r) -e headers -e macros
After this the only kernel rpms in your system should be the one for the running kernel. If you're updating via "dnf upgrade" then you'll need
to run the "refresh" step again, if not using "dnf upgrade" upgrade the
same way you tried before.
Or you could try deleting the offending rpm directly:
sudo dnf erase kernel-modules-6.3.4-201.fc38.x86_64
-- HASM
--- Synchronet 3.21d-Linux NewsLink 1.2