[MacPorts] #68680: port contents command doesn't work

MacPorts noreply at macports.org
Sun Nov 12 05:53:43 UTC 2023


#68680: port contents command doesn't work
---------------------+--------------------
  Reporter:  COOLak  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:          |
---------------------+--------------------

Old description:

> erik at MacBook-Pro-Erik Downloads % sudo port contents
>
> Password:
>
> Can't map the URL 'file://.' to a port description file ("Could not find
> Portfile in /Users/erik/Downloads").
> Please verify that the directory and portfile syntax are correct.
> To use the current port, you must be in a port's directory.
>

> I have no idea what it all means, please help?

New description:

 {{{
 erik at MacBook-Pro-Erik Downloads % sudo port contents
 Password:
 Can't map the URL 'file://.' to a port description file ("Could not find
 Portfile in /Users/erik/Downloads").
 Please verify that the directory and portfile syntax are correct.
 To use the current port, you must be in a port's directory.
 }}}

 I have no idea what it all means, please help?

--

Comment (by ryandesign):

 You haven't told MacPorts which port you want to see the contents of. For
 example, if you want to see the contents of zlib, type `port contents
 zlib`. No need to use `sudo` since you're not changing anything, just
 getting information.

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


More information about the macports-tickets mailing list