[Rpm-maint] [rpm-software-management/rpm] `-e|--erase` option | Explain what sentences `Failed dependencies` and `(...) if (...)` attempt to express (Issue #2428)
Florian Festi
notifications at github.com
Thu Mar 16 12:12:04 UTC 2023
First, RPM does dependency checks for every type of operation. While the cli only offers certain operations updaters and other API users can do more complex operations. So matching the errors to the operation is not going to happen. This is a generic error than can be caused by any type of operation - including erases.
The "additional space" is an indentation that makes clear which lines belong to the `error: Failed dependencies:` message. While is may confuse you it is semantically significant and allows other people to make more sense of the error message.
The `if` is part of the dependency. This is indicated by the fact that the whole expression is surrounded by parenthesis. This is not meant to be a sentence but `Requires: (libdecor-0.so.0()(64bit) if libwayland-client)` is pretty close to proper English. See https://rpm-software-management.github.io/rpm/manual/boolean_dependencies.html for details.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2428#issuecomment-1471842125
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/2428/1471842125 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230316/1870434c/attachment.html>
More information about the Rpm-maint
mailing list