Installs via command_not_found handler not listed in DNF history

Fedora has a bit of configuration such that when I type a command that is not found by Bash, it automatically looks it up in the repositories and proposes me to install the package, which is very helpful. However, these package installations don’t show up in dnf history list. Is this a bug?

1 Like

There are seperate history llists for dnf 4 and dnf 5, so have a look at
dnf4 history list
dnf5 history list

1 Like

Right, that’s where those “command_not_found” installs show up, because that’s a PackageKit feature and PackageKit sill uses dnf4.

2 Likes