-
Notifications
You must be signed in to change notification settings - Fork 143
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
libdnf5 (python): TransactionItem.get_reason_change_group_id()
is always empty?
#1608
Comments
The field
|
Understood. I'm looking for a way to ask DNF 'I added install How does libdnf when doing an install know how to mark the packages? E.g. if I run the transaction it seems that the packages are marked correctly, I'd like to find that information without running the transaction. My usecase is that I'm doing depsolving for a list of (user-requested) installs and excludes, resolving this to a set of RPMs, installing those through RPM. I then need to fix up the dnf state database after that. This works 'ok' so for |
Hi, I have the following code snippet which looks up some groups/packages; stuffs them into a transaction and then needs the reason for installation:
Call with
python3 script.py '@core'
. The output is (abbreviated):I would have expected the transaction items that have a
get_reason()
ofGROUP
to have a filled inget_reason_change_group_id()
. Perhaps I have set upbase
incorrectly?Similary, this has the same behavior in
dnf(4)
:The text was updated successfully, but these errors were encountered: