开发者

MacPorts / Terminal: `Unrecognized action "sudo"`

I'm trying to install Image Magick on MAMP. And I'm seriously out of my depth.

I've installed MacPorts, and opened the terminal. I've typed in sudo port -v selfupdate per the instructions on http://www.macports.org/install.php#pkg

But the response I get from the Terminal is Unrecognized action "sudo"

I've googled and googled, but can't开发者_如何学运维 find anything that makes a slab of sense.

Any clever people feeling generous?


You are running ports on interactive mode, and you are not in your system shell. The port program won't recognize sudo as one of its commands, and I am guessing you didn't run your port command with sudo so you won't be able to do much, try the following:

  • Click on your terminal.
  • Press command + Q (command is the key left of your space bar)
  • Open your terminal once again and do not run anything on else but the command suggested:

    sudo port -v selfupdate

If you get the same thing, you are still or again in Macports interactive session, type CTRL + C, or type quit.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜