21 Aug
2024
21 Aug
'24
12:14
On Wed, Aug 21, 2024 at 2:54 PM Jan Engelhardt <jengelh@inai.de> wrote:
On Tuesday 2024-08-20 17:27, Xu Zhao wrote:
I recently ran a couple of dependency analysis on openSUSE RPM packages, and found it unintuitive that the RPM package dependency graph is not a DAG (Directed Acyclic Graph). Instead there are dependency cycles between them, for example:
``` $ rpm -q --requires terminfo-base | grep ncurses ncurses >= 6.5.20240713
$ rpm -q --requires libncurses6|grep terminfo terminfo-base ```
At least, it is not unexpected.
After all, these are run-time dependencies, not install-time dependencies.
Hmm ... to my best knowledge Requires in RPM defines install-time ordering. But there is no loop above - terminfo-base requires ncurses, not libncurses6.