[Rpm-maint] [rpm-software-management/rpm] Is there a way to handle Requires(Pretrans) dependency in a single transaction (#1337)
Keerthana K
notifications at github.com
Thu Aug 20 07:22:08 UTC 2020
I have a package A with package B as Requires(pretrans) dependency. While trying to install pkg A if B is not already installed on the system it gives "error: Failed dependencies". Even though I add package B as part of the installation.
```
#] $ rpm -ivh B-1.0-1.x86_64.rpm A-1.1-1.x86_64.rpm
error: Failed dependencies:
B is needed by A
```
I verified the same in dnf and it gives the same dependency error.
Does RPM provide any API to query the Requires(pretrans) dependencies and create two transactions in package managers instead of a single transaction?
--
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/1337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200820/830866da/attachment.html>
More information about the Rpm-maint
mailing list