Dnf5 Package Histories?

Hey All,

One thing I’m just noticing about the migration from dnf4 to dnf5 is that there is no longer an obvious (to me) way to do package histories.

Is there anyone out there who knows how to accomplish the same thing using some other dnf5 subcommand?

Isn’t the dnf5 history command reporting what you expect?

No. dnf5 history no longer accepts a <package-spec> as an argument like dnf4 did. It only takes a <transaction-spec>.

ugly, dnf history list --contains-pkgs=firefox | awk '!/ID/{print $1}' | xargs -l dnf history info | grep -iE 'time|description|firefox'

1 Like

Ha! Yeah, I think ugly understates things just a little bit. I’ll give it a try.

Thanks!