Macos 在OSX 10.9上使用Macport

Macos 在OSX 10.9上使用Macport,macos,macports,xvfb,Macos,Macports,Xvfb,我按照指南安装了macport。 然而,当我试着跑的时候 sudo port upgrade 它有错误消息 Can't map the URL 'file://.' to a port description file ("Could not find Portfile in /Users"). Please verify that the directory and portfile syntax are correct. To use the current port, you mus

我按照指南安装了macport。

然而,当我试着跑的时候

sudo port upgrade
它有错误消息

Can't map the URL 'file://.' to a port description file ("Could not 
find Portfile in /Users").
Please verify that the directory and portfile syntax are correct.
To use the current port, you must be in a port's directory.
如何切换到正确的目录?

sudo port upgrade告诉MacPorts升级当前目录中Portfile定义的端口。它通常是只有开发人员在编写端口文件时才使用的命令。该指南可能意味着sudo端口升级过时,而不是升级所有非当前端口。如果这是您的第一次MacPorts安装,您没有安装任何端口,因此可以安全地跳过该命令

请注意,firefox-x11同时已从MacPorts中删除,因为它已损坏、过时,而且没有人来维护它