Opened 5 years ago

Closed 5 years ago

#43066 closed defect (invalid)

macports can't be updated

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 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 (3)

comment:1 Changed 5 years ago by ryandesign (Ryan 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.

comment:2 in reply to:  1 Changed 5 years ago by 474403670@…

Replying to ryandesign@…:

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.

Thank u for ur help, i have updated MacPorts. But now the first question still exist, 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.

what should i do with an internal error?

Last edited 5 years ago by ryandesign (Ryan Schmidt) (previous) (diff)

comment:3 Changed 5 years ago by ryandesign (Ryan Schmidt)

Component: portsbase
Resolution: invalid
Status: newclosed
Summary: ports "mapm3" meets an unhanded internal error, and macports can't be updatedmacports can't be updated

Since you filed a second ticket about this, #43069, let's handle this there.

Note: See TracTickets for help on using tickets.