Changes between Initial Version and Version 2 of Ticket #48165


Ignore:
Timestamp:
Jun 25, 2015, 12:05:30 AM (9 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

The replaced_by keyword was added in MacPorts 1.8.0, released August 2009. The error message indicates you are running a version of MacPorts older than that. Before attempting to reinstall ports, you should upgrade to the latest version of MacPorts.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #48165

    • Property Component changed from ports to base
  • Ticket #48165 – Description

    initial v2  
    1 I'm on Yosemite (10.10.3) and was trying to upgrade my MacPorts installation. I followed the instructions at https://trac.macports.org/wiki/Migration. For the sudo port clean all command I ran into an error:
     1I'm on Yosemite (10.10.3) and was trying to upgrade my MacPorts installation. I followed the instructions at wiki:Migration. For the `sudo port clean all` command I ran into an error:
    22
    3 "--->  Cleaning capstone
    4 Error: Unable to open port: can't read "replaced_by": no such variable"
     3{{{
     4--->  Cleaning capstone
     5Error: Unable to open port: can't read "replaced_by": no such variable
     6}}}
    57
    68I then ran the clean explicitly on all installed packages and that completed without problems.
     
    810When trying to run restore_ports.tcl, however, the result was a failure:
    911
     12{{{
    1013> sudo ./restore_ports.tcl myports.txt
    1114can't read "replaced_by": no such variable
     
    3841"set operationList [sort_ports $portList]"
    3942    (file "./restore_ports.tcl" line 285)
     43}}}
    4044
    4145This was a bit too obscure an error for me.