Opened 10 months ago

Last modified 6 months ago

#68680 closed defect

port contents command doesn't work — at Version 2

Reported by: COOLak Owned by:
Priority: Normal Milestone:
Component: base Version:
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

erik@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?

Change History (2)

comment:1 Changed 10 months ago by COOLak

Description: modified (diff)

comment:2 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

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.

Note: See TracTickets for help on using tickets.