Opened 10 years ago

Last modified 10 years ago

#43066 closed defect

ports "mapm3" meets an unhanded internal error, and macports can't be updated — at Version 1

Reported by: 474403670@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.2.1
Keywords: Cc:
Port:

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

Several months ago, i installed a port "mapm3" through Mac Ports, but now when i load data into MAPMAKER/QTL, it always show:

error: unable to load data from file
line -200938496:
data file not loaded
*** Drats! An unhandled internal error occured. ***
Error message #24 (bad quant data file) was sent.

i think it must be a internal error, so i want to update the Mac Ports, but it alway show:

~ Sophia$ port
MacPorts 2.2.1
Entering interactive mode... ("help" for help, "quit" to quit)
[Users/Sophia] > sudo port selfupdate
Error: Unrecognized action "port sudo"
[Users/Sophia] > 
[Users/Sophia] > port
Can't map the URL 'file://.' to a port description file ("Could not find Portfile in /Users/Sophia").
Please verify that the directory and portfile syntax are correct.
To use the current port, you must be in a port's directory.
[Users/Sophia] > 

what was the matter?

Change History (1)

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

Description: modified (diff)

Please use WikiFormatting when writing in Trac.

The correct way to update MacPorts is to run

sudo port selfupdate

at the shell prompt. Do not run "port" by itself first, because that puts you into the MacPorts interactive mode, which as you've discovered, does not know any command named "sudo". To exit the MacPorts interactive mode, you can type "quit" and press Return.

Note: See TracTickets for help on using tickets.