dnf wants to update a package that isn't even installed.. What to do?
Hi, I am encountering a weird situation where dnf tries to update kernel-debug-modules but complains that it is not installed. The latter one is right, it's not installed, and it doesn't need updating, but why does dnf think it should find an update for that package?
sudo dnf update --refresh --enablerepo=updates-testing kernel*
(the command I use to install kernels from testing repo) says:
Last metadata expiration check: 0:00:00 ago ...
Package kernel-debug-modules not installed, cannot update it.
No match for argument: kernel-debug-modules-4.18.10-200.fc28.x86_64.rpm
Error: No packages marked for upgrade.
rpm -qa kernel-debug-modules
does not return anything. dnf list installed | grep debug
does not return anything.
I thought rebuilding the RPM database may help. So after backing it up, I ran
sudo rpm --rebuilddb
but that didn't help either
How can I fix this?