Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#38939 closed defect (invalid)

selfupdate fails

Reported by: hunglun.junk@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.1.3
Keywords: Cc:
Port:

Description (last modified by larryv (Lawrence Velázquez))

bash-3.2$ sudo  port selfupdate
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.1.1 installed,
MacPorts base version 2.1.3 downloaded.
--->  Updating the ports tree
--->  MacPorts base is outdated, installing new version 2.1.3
Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl

Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: command execution failed

Attachments (1)

port.log (18.9 KB) - added by hunglun.junk@… 12 years ago.
Log for the command "sudo port -d selfupdate"

Download all attachments as: .zip

Change History (7)

comment:1 Changed 12 years ago by hunglun.junk@…

Cc: hunglun.junk@… added

Cc Me!

comment:2 Changed 12 years ago by hunglun.junk@…

Cc: hunglun.junk@… removed

Cc Me!

comment:3 Changed 12 years ago by larryv (Lawrence Velázquez)

Component: portsbase
Description: modified (diff)
Keywords: selfupdate removed
Type: updatedefect

Can you attach the output of sudo port -d selfupdate?

Changed 12 years ago by hunglun.junk@…

Attachment: port.log added

Log for the command "sudo port -d selfupdate"

comment:4 Changed 12 years ago by hunglun.junk@…

Thank you for your response. Please find the log file in the attachment.

comment:5 Changed 12 years ago by neverpanic (Clemens Lang)

Resolution: invalid
Status: newclosed

You seem to have a (partial/broken?) copy of readline in /usr/local/lib/libreadline.6.2.dylib. We cannot easily prevent files in /usr/local to be used. Please move /usr/local aside while trying to upgrade MacPorts.

comment:6 in reply to:  5 Changed 12 years ago by hunglun.junk@…

Replying to cal@…:

You seem to have a (partial/broken?) copy of readline in /usr/local/lib/libreadline.6.2.dylib. We cannot easily prevent files in /usr/local to be used. Please move /usr/local aside while trying to upgrade MacPorts.

Reinstalling readline solves the problem. Thank you for pointing me to the right direction.

Note: See TracTickets for help on using tickets.