-
Notifications
You must be signed in to change notification settings - Fork 93
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
dnf5daemon: Session caching can be harmful #1653
Comments
This issue prevents gnome software from re-using the same dnf5daemon session. Bumping priority. |
Proposed PR #1678 which re-sets the goal automatically after the do_transaction() execution. Also adds a new D-Bus API call to reset the goal manually. |
Now I'm thinking about the second part (the is_installed flag), this would require re-reading the system repo. Let me explore what options there are. |
I see these options here:
|
When using only a single session a package install followed by the same package uninstall results into:
rpm transaction failed with code 5
and the package is not uninstalled, while using a different session for the uninstall works fine.The package flags are also affected by this, because starting a new session and removing the package and immediately after that using the same session to get the package attributes keeps the
is_installed
flag of the package ontrue
, while using two different sessions provides accurate information to the dnf5daemon client.I believe both things are closely related, thus I filled them as a single issue.
This is with dnf5-5.2.5.0-20240826005752.50.gb1f839cd
The text was updated successfully, but these errors were encountered: