#40169: Error: Unable to open port: invalid command name "port::run_callbacks" -----------------------+-------------------------------- Reporter: guivho@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.0 Resolution: | Keywords: Port: | -----------------------+-------------------------------- Comment (by ryandesign@…): Replying to [comment:2 cal@…]:
I think this might happen when the `PortSystem 1.0` is missing in the Portfile, or when the installed version of port1.0 doesn't match the version of macports1.0.
How do you mean? The only versions of port1.0 and macports1.0 that have ever existed are 1.0. Replying to [comment:3 guivho@…]:
Each and every one of the outdated packages gives the same problem:
Then we appear to be dealing not with a bug in a specific port but with a problem with the way MacPorts is installed on your system. Was your MacPorts originally built from source or using one of our prebuilt installer packages? You said the problem began after running selfupdate one day? Presumably that was when you upgraded to MacPorts 2.2? When selfupdate updates to a new version of MacPorts, it is necessary to run selfupdate a second time to properly index the new ports. A message telling you to do that should have appeared at the time. If you don't remember if you did that, run selfupdate a second time now. -- Ticket URL: <https://trac.macports.org/ticket/40169#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X