On Mon, 2024-11-04 at 09:20 +1100, Stephen Morris wrote:
How did you do this before? The only difference between dnf4 and dnf5 is that dnf4 will actually tell you that there's no package called "needs-restarting" where dnf5 just says there's nothing to do. You also showed that the "needs-restarting" command is also working, so there's no issue here.
In dnf4 I was using the tracer plugin, which seems to not work in dnf5, so in dnf4 the needs-restarting was not required, although in dnf4 I don't remember seeing needs-restarting as a command when issuing dnf --help.
AFAIK 'dnf --help' only lists builtin commands, not plugins. Plugins are listed on the dnf man page (i.e. there is a fixed set available).
With the plugins not working I was expecting to be able to issue both commands at once and get the equivalent functionality to the tracer plugin.
Prior to F41 I used to use both the 'tracer' plugin and the separate 'tracer' command. IIRC the 'needs-restarting' command was an earlier version of a similar idea, but in F41 we now have 'dnf5-needs- restarting', which can also be invoked as a plugin (the --needs- restarting option).
The 'tracer' command does exist in F41, but doesn't work, and there is apparently no longer a 'tracer' plugin. The needs-restarting plugin doesn't work either.
poc