List of problems in pkgdb, which makes it slow:

  • In auto mode, the fix_cycles() still checks for cycles. However, it only outputs the results and does not fix them. Since the auto mode is usually called by portupgrade, this wastes time.
   Solution: skip this stage in auto mode.