You are not logged in.

#1 2024-10-27 10:04:24

dr1fter
Member
From: Germany
Registered: 2022-01-21
Posts: 39

[solved] circular dependency between python-twisted, python-increm..?

I sometimes read through installed/updates packages (which already lead me to very interesting projects :-)) + I sometimes track "Required-By" to find why / through which "root-package" a certain package was installed

Today I found packages `python-twisted`, `python-incremental` seem to have a circular dependency:

pacman -Qi python-twisted python-incremental 
Name            : python-twisted
Version         : 24.3.0-2
Required By     : python-incremental
Install Reason  : Installed as a dependency for another package
...

Name            : python-incremental
Version         : 22.10.0-5
Required By     : python-twisted
Install Reason  : Installed as a dependency for another package

So I am curious: Is it common / an "okay" practise to have circular dependencies? Also, as I did not install any of those packages (see install reason), and there does not seem to be any package depending on those two, is there an explanation as to how those packages might have been installed (I can say for sure I never changed install-reason for any packages on my machine)? My guess is I once installed a package that _did_ have a dependency on any (or both) of those packages, and uninstalled it again, leaving those two packages in place. Is there some easy way to detect similar cases (for cleanup)?

Last edited by dr1fter (2024-10-27 21:14:34)

Offline

#2 2024-10-27 12:02:12

mpan
Member
Registered: 2012-08-01
Posts: 1,332
Website

Re: [solved] circular dependency between python-twisted, python-increm..?

Yes, it’s both okay and normal.

To detect stray cyclic dependencies use this solution.


Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

#3 2024-10-27 21:15:37

dr1fter
Member
From: Germany
Registered: 2022-01-21
Posts: 39

Re: [solved] circular dependency between python-twisted, python-increm..?

thanks a lot for clarification + reference to cleanup-solution

Offline

Board footer

Powered by FluxBB