Opened 10 years ago

Closed 10 years ago

#25270 closed defect (fixed)

replaced ports aren't removed unless they conflict with their replacement

Reported by: drkp (Dan Ports) Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 1.9.1
Component: base Version: 1.9.0
Keywords: Cc:
Port:

Description

If a port is replaced_by another, then it gets deactivated when its replacement is activated. But this only happens if the two ports conflict on some file. Ports that don't install the same files but otherwise shouldn't be installed together don't get deactivated.

Not sure whether this is a bug or intentional, but it certainly took me by surprise until I read through registry2.0/portimage.tcl. So it should at least be documented.

Change History (2)

comment:1 Changed 10 years ago by jmroot (Joshua Root)

Oops, I guess that broke because of r64627

comment:2 Changed 10 years ago by jmroot (Joshua Root)

Milestone: MacPorts 1.9.1
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.