Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#30811 closed defect (fixed)

p5-error 0.170.160_2 port upgrade fails

Reported by: derek.frye@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc: sal@…, maccheck@…
Port: p5-error git-core

Description

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?

Attachments (1)

main.log (2.7 KB) - added by derek.frye@… 13 years ago.
main.log

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by derek.frye@…

Attachment: main.log added

main.log

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Cc: sal@… maccheck@… added
Port: p5-error git-core added
Resolution: fixed
Status: newclosed

The conflict should be fixed in r82578. However git-core was also updated to depend on p5.12-error directly rather than p5-error, so that's another reason you should selfupdate again.

comment:2 Changed 13 years ago by derek.frye@…

Thanks, fixed.

Note: See TracTickets for help on using tickets.