Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#21191 closed defect (duplicate)

replaced_by leaves the replaced port installed and says it cannot uninstall it

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.8.0
Keywords: Cc: jmroot (Joshua Root)
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

The new replaced_by keyword doesn't always seem to work completely. In this case, when I asked port to upgrade libmp4v2, it correctly installed mp4v2 as its replacement, but then left libmp4v2 installed (but deactivated) stating faac depended on it. port deps faac shows it depends on mp4v2 not libmp4v2, though faac may have depended on libmp4v2 at the time that I installed it.

$ port -u upgrade libmp4v2
--->  Computing dependencies for mp4v2
--->  Fetching mp4v2
--->  Verifying checksum(s) for mp4v2
--->  Extracting mp4v2
--->  Configuring mp4v2
--->  Building mp4v2
--->  Staging mp4v2 into destroot
--->  Deactivating libmp4v2 @1.5.0.1_1
--->  Computing dependencies for mp4v2
--->  Installing mp4v2 @1.9.1_1
--->  Activating mp4v2 @1.9.1_1
--->  Cleaning mp4v2
--->  Unable to uninstall libmp4v2 1.5.0.1_1, the following ports depend on it:
--->  	faac
$ port installed libmp4v2 mp4v2
The following ports are currently installed:
  libmp4v2 @1.5.0.1_1
  mp4v2 @1.9.1_1 (active)
$ port deps faac
Full Name: faac @1.28
Build Dependencies:   libtool, autoconf, automake, autoconf, automake, libtool
Library Dependencies: mp4v2

Change History (4)

comment:1 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jmr@… added

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:3 Changed 15 years ago by jmroot (Joshua Root)

Milestone: MacPorts 1.8.1MacPorts Future
Resolution: duplicate
Status: newclosed

Duplicate of #13054.

comment:4 Changed 15 years ago by jmroot (Joshua Root)

Milestone: MacPorts Future
Note: See TracTickets for help on using tickets.