[MacPorts] #30811: p5-error 0.170.160_2 port upgrade fails

MacPorts noreply at macports.org
Mon Aug 15 15:25:39 PDT 2011


#30811: p5-error 0.170.160_2 port upgrade fails
----------------------------------+-----------------------------------------
 Reporter:  derek.frye@…          |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  2.0.1                                
 Keywords:                        |        Port:                                       
----------------------------------+-----------------------------------------
 I upgraded from macports 1.9.2 to 2.0.1 today (via {{{port selfupdate}}}).
 Then I tried {{{port upgrade outdate}}}, but received the following:

 {{{
 $ sudo port upgrade outdated
 --->  p5-error is replaced by p5.12-error
 --->  Computing dependencies for p5.12-error
 --->  Activating p5.12-error @0.170.160_2
 --->  Cleaning p5.12-error
 --->  Computing dependencies for git-core
 --->  Dependencies to be installed: p5-error
 --->  Activating p5-error @0.170.160_2
 Error: Target org.macports.activate returned: Image error:
 /opt/local/share/doc/
 p5-error/README is being used by the active p5.12-error port.  Please
 deactivate
  this port first, or use 'port -f activate p5-error' to force the
 activation.
 Error: Failed to install p5-error
 Log for p5-error is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sou
 rces_rsync.macports.org_release_ports_perl_p5-error/p5-error/main.log
 Error: The following dependencies were not installed: p5-error
 Error: Unable to upgrade port: 1
 }}}

 I've attached the log. Also, I tried:
 {{{
 $ sudo port deactivate p5-error
 Error: port deactivate failed: Image error: port p5-error is not active.
 $ sudo port deactivate p5.12-error
 --->  Deactivating p5.12-error @0.170.160_2
 --->  Cleaning p5.12-error
 $ sudo port upgrade outdated
 --->  p5-error is replaced by p5.12-error
 --->  Computing dependencies for p5.12-error
 --->  Activating p5.12-error @0.170.160_2
 --->  Cleaning p5.12-error
 --->  Computing dependencies for git-core
 --->  Dependencies to be installed: p5-error
 --->  Activating p5-error @0.170.160_2
 Error: Target org.macports.activate returned: Image error:
 /opt/local/share/doc/
 p5-error/README is being used by the active p5.12-error port.  Please
 deactivate
  this port first, or use 'port -f activate p5-error' to force the
 activation.
 Error: Failed to install p5-error
 Log for p5-error is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sou
 rces_rsync.macports.org_release_ports_perl_p5-error/p5-error/main.log
 Error: The following dependencies were not installed: p5-error
 Error: Unable to upgrade port: 1
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

 I'm afraid to try {{{ port -f activate p5-error }}} because I don't really
 want to ''force'' my way past errors. But, maybe that's a safe solution?

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


More information about the macports-tickets mailing list