Open tdewolff opened 1 month ago
What OS does this happen on? And what version of dnf?
Most likely I must have missed a configuration for this to work? Examples are scarce.
# hostnamectl
...
Operating System: CentOS Stream 8
Kernel: Linux 4.18.0-553.6.1.el8.x86_64
...
# dnf --version
4.7.0
Installed: dnf-0:4.7.0-20.el8.noarch at Wed 17 Jan 2024 02:24:17 AM GMT
Built : builder@centos.org at Mon 16 Oct 2023 01:48:29 PM GMT
Installed: rpm-0:4.14.3-31.el8.x86_64 at Wed 17 Jan 2024 02:23:59 AM GMT
Built : builder@centos.org at Wed 13 Dec 2023 02:00:08 PM GMT
On CentOS Stream 8, this will work if you install the python3-dnf-plugin-post-transaction-actions. I just confirmed it locally.
I've added the following line to
/etc/dnf/dnf.conf
:I've create the file
/etc/dnf/plugins/post-transaction-actions.conf
:I've created
/etc/dnf/plugins/post-transaction-actions.d/test.action
:But the action is never executed. I'm running CentOS Stream 8 and
dnf-plugin-extras
is installed. What could be wrong here?