[MacPorts] #62751: base: Error: Unable to open port: wrong # args: should be "set varName ?newValue?" on random ports

MacPorts noreply at macports.org
Sun Apr 25 14:40:03 UTC 2021


#62751: base: Error: Unable to open port: wrong # args: should be "set varName
?newValue?"  on random ports
------------------------+--------------------
  Reporter:  snowflake  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  base       |    Version:  2.6.99
Resolution:             |   Keywords:
      Port:             |
------------------------+--------------------

Old description:

> Using macports-base commit
> changeset:8f4b9e5830479427e1ae09e3d87089c37cb3442b/macports-base
> 2021/4/17 and the latest version as of now, which is
> changeset:85d5e10e1fbfc30ad7f7214f2d0b277023213820/macports-base
> 2021-04-23 12:57:43 +0100 I get this error ```Error: Unable to open port:
> wrong # args: should be "set varName ?newValue?"```
>
> This is happening on both macOS 10.11.6 and 11.2
>
> Attempting to install the port command with older checkouts of macports-
> base  results in this error: ```Version number in metadata table is newer
> than expected```

New description:

 Using macports-base commit
 changeset:8f4b9e5830479427e1ae09e3d87089c37cb3442b/macports-base 2021/4/17
 and the latest version as of now, which is
 changeset:85d5e10e1fbfc30ad7f7214f2d0b277023213820/macports-base
 2021-04-23 12:57:43 +0100 I get this error `Error: Unable to open port:
 wrong # args: should be "set varName ?newValue?"`

 This is happening on both macOS 10.11.6 and 11.2

 Attempting to install the port command with older checkouts of macports-
 base  results in this error: `Version number in metadata table is newer
 than expected`

--

Comment (by ryandesign):

 > I get this error `Error: Unable to open port: wrong # args: should be
 "set varName ?newValue?"`

 When doing what? With what port(s)?

 > Attempting to install the port command with older checkouts of macports-
 base  results in this error: `Version number in metadata table is newer
 than expected`

 That's expected; you can't use a MacPorts registry with an older version
 of MacPorts once it has been upgraded to the new format.

-- 
Ticket URL: <https://trac.macports.org/ticket/62751#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list