[MacPorts] #27552: port -u upgrade doesn't uninstall if replaced_by

MacPorts noreply at macports.org
Fri Dec 3 04:50:23 PST 2010


#27552: port -u upgrade doesn't uninstall if replaced_by
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:                                       
Component:  base                     |     Version:  1.9.2                                
 Keywords:                           |        Port:                                       
-------------------------------------+--------------------------------------
 It seems "sudo port -u upgrade" doesn't uninstall the old version(s), if
 the port has been replaced_by another.

 {{{
 $ sudo port -u upgrade p5-xml-libxml-common
 --->  p5-xml-libxml-common is replaced by p5-xml-libxml
 --->  Computing dependencies for p5-xml-libxml
 --->  Fetching p5-xml-libxml
 --->  Attempting to fetch XML-LibXML-1.70.tar.gz from
 ftp://mirror.hiwaay.net/CPAN/modules/by-module/XML
 --->  Verifying checksum(s) for p5-xml-libxml
 --->  Extracting p5-xml-libxml
 --->  Configuring p5-xml-libxml
 --->  Building p5-xml-libxml
 --->  Staging p5-xml-libxml into destroot
 --->  Deactivating p5-xml-libxml-common @0.13_0+universal
 --->  Unable to uninstall/deactivate p5-xml-libxml-common
 @0.13_0+universal, the following ports depend on it:
 --->    p5-xml-libxml @1.69_0
 --->    p5-xml-libxml @1.69_0+universal
 Warning: Uninstall/deactivate forced.  Proceeding despite dependencies.
 --->  Computing dependencies for p5-xml-libxml
 --->  Installing p5-xml-libxml @1.70_0+universal
 --->  Deactivating p5-xml-libxml @1.69_0+universal
 --->  Activating p5-xml-libxml @1.70_0+universal
 --->  Cleaning p5-xml-libxml
 $ port installed name:p5-xml-libxml
 The following ports are currently installed:
   p5-xml-libxml @1.69_0
   p5-xml-libxml @1.69_0+universal
   p5-xml-libxml @1.70_0+universal (active)
   p5-xml-libxml-common @0.13_0
   p5-xml-libxml-common @0.13_0+universal
 $
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/27552>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list