- Red Hat Enterprise Linux (RHEL) 8
- YUM v4 based on DNF technology
- Is the
yum-plugin-post-transaction-actionspackage not available in Red Hat Enterprise Linux 8?
- When using the Red Hat Enterprise Linux 8 package manager, I cannot find a way to execute post-transaction actions
The upstream community is evaluating the possibility of porting the
yum-plugin-post-transaction-actions functionality from the Legacy YUM v3 compatible codebase to a YUM v4 revision. This is being tracked within the following upstream bug report:
To indicate additional interest for this plugin should it become available in future, please open a support case and provide this knowledgebase article.
Support of the yum-plugin-post-transaction-actions in previous releases
yum-plugin-post-transaction-actions package available in previous releases was available within the Optional channel. As such, it was not supported in previous releases, but provided as a courtesy. For further information related to the Optional channel, please see the following:
Availability in Red Hat Enterprise Linux 8
The package manager introduced in RHEL 8, YUM v4 based on DNF technology, includes a new stable API base where the previous YUM v3 revision did not. As a result, each plugin which is YUM v3 compatible must be evaluated for future development efforts and inclusion.
This is discussed further in the Considerations in Adopting RHEL 8 - 6.1.2. How to use YUM v4 section as the following:
Availability of plug-ins
Legacy YUM v3 plug-ins are incompatible with the new version of YUM v4. Selected yum plug-ins and utilities have been ported to the new DNF back end, and can be installed under the same names as in RHEL 7. They also provide compatibility symlinks, so the binaries, configuration files and directories can be found in usual locations.
In the event that a plug-in is no longer included, or a replacement does not meet a usability need, please reach out to Red Hat Support to request a Feature Enhancement as described in How do I open and manage a support case on the Customer Portal?
1) On a Red Hat Enterprise Linux 8 system, verify that it is not possible to install post-transaction actions plugins:
# yum search yum-plugin-post-transaction-actions Updating Subscription Management repositories. Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 1.3 MB/s | 7.1 MB 00:05 Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 709 kB/s | 3.7 MB 00:05 Last metadata expiration check: 0:00:01 ago on Tue 04 Jun 2019 09:49:29 AM CEST. No matches found.
2) With a Red Hat Enterprise Linux 7 system, or earlier, verify that it is possible to install the post-transaction actions plugin from
# subscription-manager repos --enable=rhel-7-server-optional-rpms Repository 'rhel-7-server-optional-rpms' is enabled for this system. # yum search yum-plugin-post-transaction-actions rhel-7-server-optional-rpms | 3.2 kB 00:00 rhel-7-server-rpms | 3.5 kB 00:00 (1/3): rhel-7-server-optional-rpms/7Server/x86_64/group | 28 kB 00:01 (2/3): rhel-7-server-optional-rpms/7Server/x86_64/updatein | 2.3 MB 00:03 (3/3): rhel-7-server-optional-rpms/7Server/x86_64/primary_ | 7.6 MB 00:02 =============== N/S matched: yum-plugin-post-transaction-actions =============== yum-plugin-post-transaction-actions.noarch : Yum plugin to run arbitrary ...: commands when certain pkgs are acted on
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.