[MacPorts] #35599: "port uninstall inactive" unable to remove p5-xml-parser

MacPorts noreply at macports.org
Wed Aug 8 15:39:43 PDT 2012


#35599: "port uninstall inactive" unable to remove p5-xml-parser
------------------------------------+---------------------------------------
 Reporter:  sam.halliday@…          |       Owner:  macports-tickets@…                   
     Type:  defect                  |      Status:  new                                  
 Priority:  Normal                  |   Milestone:                                       
Component:  ports                   |     Version:  2.1.2                                
 Keywords:                          |        Port:                                       
------------------------------------+---------------------------------------
 When running the above command, I get the following failure, which happens
 quite often (not always the same packages)

 ===================
 $ sudo port uninstall inactive
 --->  Unable to uninstall p5-xml-parser @2.400.0_4, the following ports
 depend on it:
 --->    policykit @0.103_1
 Error: org.macports.uninstall for port p5-xml-parser returned: Please
 uninstall the ports that depend on p5-xml-parser first.
 Please see the log file for port p5-xml-parser for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_p5
 -xml-parser_2.400.0_4/p5-xml-parser/main.log
 Warning: Failed to execute portfile from registry for p5-xml-parser
 @2.400.0_4
 --->  Unable to uninstall p5-xml-parser @2.400.0_4, the following ports
 depend on it:
 --->    policykit @0.103_1
 Error: port uninstall failed: Please uninstall the ports that depend on p5
 -xml-parser first.
 ===================

 I consider this to be a bug because nothing should be marked as "inactive"
 if it is actually being used by something else.

 In order to uninstall any other "inactive" ports (if there are any), I
 usually have to specify their version number, e.g. sudo port uninstall
 py27-lxml @2.3_0

 FYI...

 $sudo port list inactive
 p5-xml-parser                  @2.400.0        perl/p5-xml-parser

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


More information about the macports-tickets mailing list