dnf5
dnf5 copied to clipboard
autocheck_running_kernel optoin is not implemented: Failed to find rpm package of a running kernel in sack.
I installed the kernel by source compilation and I removed the default kernel package (rpm).
I have added this option, will still try to find the kernel?
autocheck_running_kernel=False
I don't know if this is the right place for this question, and if it's likely to be fixed?
DEBUG Failed to find rpm package of a running kernel in sack
autocheck_running_kernel option is not yet implemented in DNF5. See dnf5.conf-todo(5) manual page. Currently, the option is parsed from a configuration file, but it has no effect.
I see why you see that debug message. DNF5 by default protects a currently running kernel from a removal. To do that it maps the running kernel to an RPM package. If that fails, e.g. because you are running a kernel which is not installed from an RPM package, then it logs it. It's just a debugging message. Feel free to ignore it.
@ppisar Thank you so much for describing how it works, I lacked some more in-depth programming thinking.
I'tried protect_running_kernel=False, It's working well so far.