[MacPorts] #14816: Uninstall dependency check broken

MacPorts trac at macosforge.org
Thu Mar 27 01:55:53 PDT 2008


#14816: Uninstall dependency check broken
---------------------------------------+------------------------------------
 Reporter:  florian.ebeling at gmail.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                     |      Status:  new                                  
 Priority:  Normal                     |   Milestone:  MacPorts base bugs                   
Component:  base                       |     Version:  1.6.0                                
 Keywords:                             |  
---------------------------------------+------------------------------------
 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?

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14816>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list