Opened 13 years ago

Closed 13 years ago

#33845 closed defect (invalid)

I don't exec sudo port -v selfupdate in lion

Reported by: amatasc@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port:

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

amatasc:~ amatasc$ sudo port -v selupdate
Password:
Warning: xcodebuild exists but failed to execute
Unrecognized action "selupdate"
amatasc:~ amatasc$ echo $PATH
/opt/local/bin:/opt/local/sbin:/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
amatasc:~ amatasc$ sudo port install gcc
Warning: xcodebuild exists but failed to execute
Error: Port gcc not found
To report a bug, see <http://guide.macports.org/#project.tickets>
amatasc:~ amatasc$ port -nR upgrade --force foo
Error: Insufficient privileges to write to MacPorts install prefix.
amatasc:~ amatasc$ sudo port -nR upgrade --force foo
Warning: xcodebuild exists but failed to execute
Error: foo is not installed
To report a bug, see <http://guide.macports.org/#project.tickets>
amatasc:~ amatasc$ 

Change History (1)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Priority: HighNormal
Resolution: invalid
Status: newclosed
  1. You misspelled "selfupdate"
  2. There is no port called "gcc"
  3. There is no port called "foo"

And most importantly, there is something wrong with your xcodebuild command, which could be because you did not install Xcode, or did not install it correctly.

None of this suggests any problem in MacPorts, but rather a problem in the configuration of your system or your understanding of how to use MacPorts. Please write to the macports-users mailing list if you require assistance sorting this out.

Note: See TracTickets for help on using tickets.