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

doc: Note transient transactions will appear in history #2197

Merged

Conversation

evan-goode
Copy link
Member

We should mention that dnf4 history list includes transient transactions. Requested by @ppisar.

@ppisar ppisar self-assigned this Jan 20, 2025
Copy link
Contributor

@ppisar ppisar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The text is good.

@ppisar
Copy link
Contributor

ppisar commented Jan 20, 2025

Something is fishy in the bootc branch of DNF. The CI-tested DNF crashes on installing a package with:

2025-01-20T06:40:53.3608073Z       Traceback (most recent call last):
2025-01-20T06:40:53.3608162Z         File "/usr/bin/dnf", line 57, in <module>
2025-01-20T06:40:53.3608264Z           main.user_main(sys.argv[1:], exit_code=True)
2025-01-20T06:40:53.3608453Z         File "/usr/lib/python3.12/site-packages/dnf/cli/main.py", line 208, in user_main
2025-01-20T06:40:53.3608525Z           errcode = main(args)
2025-01-20T06:40:53.3608591Z                     ^^^^^^^^^^
2025-01-20T06:40:53.3608761Z         File "/usr/lib/python3.12/site-packages/dnf/cli/main.py", line 67, in main
2025-01-20T06:40:53.3608887Z           return _main(base, args, cli_class, option_parser_class)
2025-01-20T06:40:53.3608968Z                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-20T06:40:53.3609193Z         File "/usr/lib/python3.12/site-packages/dnf/cli/main.py", line 106, in _main
2025-01-20T06:40:53.3609310Z           return cli_run(cli, base)
2025-01-20T06:40:53.3609375Z                  ^^^^^^^^^^^^^^^^^^
2025-01-20T06:40:53.3609549Z         File "/usr/lib/python3.12/site-packages/dnf/cli/main.py", line 130, in cli_run
2025-01-20T06:40:53.3609628Z           ret = resolving(cli, base)
2025-01-20T06:40:53.3609691Z                 ^^^^^^^^^^^^^^^^^^^^
2025-01-20T06:40:53.3609879Z         File "/usr/lib/python3.12/site-packages/dnf/cli/main.py", line 183, in resolving
2025-01-20T06:40:53.3609977Z           base.do_transaction(display=displays)
2025-01-20T06:40:53.3610173Z         File "/usr/lib/python3.12/site-packages/dnf/cli/cli.py", line 243, in do_transaction
2025-01-20T06:40:53.3610275Z           elif self.conf.persistence == "transient":
2025-01-20T06:40:53.3610343Z                ^^^^^^^^^^^^^^^^^^^^^
2025-01-20T06:40:53.3610543Z         File "/usr/lib/python3.12/site-packages/dnf/conf/config.py", line 67, in __getattr__
2025-01-20T06:40:53.3610629Z           option = getattr(self._config, name)
2025-01-20T06:40:53.3610704Z                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-20T06:40:53.3614557Z       AttributeError: 'ConfigMain' object has no attribute 'persistence'. Did you mean: 'persistdir'?

@ppisar ppisar merged commit 742f1cd into rpm-software-management:bootc Jan 20, 2025
5 of 9 checks passed
@evan-goode
Copy link
Member Author

Something is fishy in the bootc branch of DNF.

You also need libdnf built from the bootc branch.

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

Successfully merging this pull request may close these issues.

2 participants