Opened 16 years ago

Closed 16 years ago

Last modified 14 years ago

#14816 closed defect (duplicate)

Uninstall dependency check broken

Reported by: febeling (Florian Ebeling) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.6.0
Keywords: Cc:
Port:

Description

The dependency check on uninstall is broken, it seems.

Here is an example output from an attempt to remove older versions, wich are inactive:

bash-3.2# port -v uninstall inactive
--->  Unable to uninstall apr 1.2.8_0, the following ports depend on it:
--->  	apr-util
--->  	subversion
--->  	subversion
--->  	apache2
--->  	subversion
--->  	subversion-perlbindings
--->  	apr-util
Error: port uninstall failed: Please uninstall the ports that depend on apr first.

I would say this made sense if there was no active apr port, but thats not the case:

bash-3.2# port installed apr
The following ports are currently installed:
  apr @1.2.12_1+darwin_9 (active)
  apr @1.2.8_0

And the port cannot use the not-active port anyway.

The same behaviour can be observed, when I try a different approach:

bash-3.2# port -vu uninstall
--->  Unable to uninstall apr 1.2.8_0, the following ports depend on it:
--->  	apr-util
--->  	subversion
--->  	subversion
--->  	apache2
--->  	subversion
--->  	subversion-perlbindings
--->  	apr-util
Error: port uninstall failed: Please uninstall the ports that depend on apr first.

So I assume the check of dependencies is not working, or am I missing something here?

Change History (3)

comment:1 Changed 16 years ago by afb@…

Resolution: duplicate
Status: newclosed

Duplicate, #12344

Not missing something, but known shortcoming.

comment:2 Changed 15 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

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

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