Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package python3-dnf-plugin-post-transaction-actions is break #5

Open
hgmiguel opened this issue Oct 22, 2024 · 1 comment
Open

package python3-dnf-plugin-post-transaction-actions is break #5

hgmiguel opened this issue Oct 22, 2024 · 1 comment

Comments

@hgmiguel
Copy link

Hi, the smart-restart app depends on python3-dnf-plugin-post-transaction-actions that are currently broken.
I tried configuring a simple post-script and got the following output.

This is a known issue on AL2023 amazonlinux/amazon-linux-2023#732

Can you please upgrade the python3-dnf-plugin-post-transaction-actions package?

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/dnf/plugin.py", line 104, in _caller
    getattr(plugin, method)()
  File "/usr/lib/python3.9/site-packages/dnf-plugins/post-transaction-actions.py", line 146, in transaction
    command = self._replace_vars(ts_item, a_command)
  File "/usr/lib/python3.9/site-packages/dnf-plugins/post-transaction-actions.py", line 104, in _replace_vars
    result = libdnf.conf.ConfigParser_substitute(command, vardict)
AttributeError: module 'libdnf.conf' has no attribute 'ConfigParser_substitute'
@ThatStasGuy
Copy link
Contributor

Hi hgmiguel,

Thanks for raising this issue with us. smart-restart depends on the latest version of python3-dnf-plugin-post-transaction-actions which is an external dependency coming from the package repos. Unfortunately, we need to wait until python3-dnf-plugin-post-transaction-actions is fixed and made public.

Until then, I'll keep the issue open to keep track.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants