amazon-linux-2023 icon indicating copy to clipboard operation
amazon-linux-2023 copied to clipboard

[Package Request] - python3-dnf-plugin-pre-transaction-actions

Open stetskevych opened this issue 9 months ago • 1 comments

What package is missing from Amazon Linux 2023? Please describe and include package name. python3-dnf-plugin-pre-transaction-actions This provides a hook to run scripts before executing package operations. Please note that the companion post-transaction package is included in Amazon Linux 2023 under the name python3-dnf-plugin-post-transaction-actions I suppose the one I'm requesting here was an honest omission as it seems to come standard in Fedora and other DNF4-based systems.

Is this an update to existing package or new package request? This is a new package request.

Is this package available in Amazon Linux 2? If it is available via external sources such as EPEL, please specify. Amazon Linux 2 shipped a similar yum plugin, but not this exact package. It is available in Fedora, as can be seen here: https://packages.fedoraproject.org/pkgs/dnf-plugins-core/python3-dnf-plugin-pre-transaction-actions/

Any additional information you'd like to include. (use-cases, etc) My use case is to allow DNF to automatically suspend a proprietary daemon that locks the RPM database and breaks DNF.

stetskevych avatar Mar 17 '25 17:03 stetskevych

@stetskevych in Fedora pre-transaction plugin was added to dnf-plugins-core-4.6.0. AL2023 is using dnf-plugins-core-4.3.0 so it's a few version behind. What we need is an updated dnf-plugins-core package.

zcobol avatar Mar 18 '25 05:03 zcobol