[MacPorts] #52303: `port uninstall --follow-dependents` uninstalls more ports than `port rdependents` reports

MacPorts noreply at macports.org
Mon Oct 2 12:02:36 UTC 2023


#52303: `port uninstall --follow-dependents` uninstalls more ports than `port
rdependents` reports
---------------------+--------------------------------
  Reporter:  ksze    |      Owner:  macports-tickets@…
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  base    |    Version:  2.3.4
Resolution:          |   Keywords:
      Port:          |
---------------------+--------------------------------

Comment (by jmroot):

 The issue may have been that this loop assumes that the identifiers refer
 to the same registry entries across the uninstall operation, which
 potentially deletes and opens multiple entries:
 https://github.com/macports/macports-
 base/blob/v2.3.4/src/registry2.0/portuninstall.tcl#L123

 That assumption should actually hold after
 [fc212a0b550ed961d07c261c715ca83580deac56/macports-base], so this may have
 been fixed incidentally.

-- 
Ticket URL: <https://trac.macports.org/ticket/52303#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list