[Rpm-maint] [rpm-software-management/rpm] Allow additional data parameter for ts.addErase(name) (#1213)

Jaroslav Mracek notifications at github.com
Fri May 15 07:36:23 UTC 2020


But the same issue is with a single remove step. Try:
dnf install acpi -y
dnf remove acpi # wait till rpm -e acpi is performed in another terminal, then approve it.

At the time of creation of remove operation for rpm ('dnf/db/group.py:_populate_rpm_ts()') the package i already gone, but rpm do not complain. And it was removed by another process before creation rpm transaction.

>From the discussion I see that the problem is much wider.

We 100% depend on synchronization rpm transaction with our internal database. The synchronization is required to ensure that we correctly requested operation on rpm. Also we use it to track problems. When transaction failed we would like to know which elements failed and which elements succeed. In case than some element disappeared, we have no idea why and what they status. Any suggestion in this case is not a good idea.

I am looking for a solution of the problem in Python and Fedora 31/RHEL8.




-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1213#issuecomment-629081538
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200515/bfc3b7fd/attachment-0001.html>


More information about the Rpm-maint mailing list