Opened 2 years ago

Last modified 18 months ago

#65198 closed defect

Macports selfupdate error — at Initial Version

Reported by: ivanavb (Ivana Bukvin) Owned by:
Priority: Normal Milestone:
Component: base Version:
Keywords: Cc:
Port:

Description

Hi,

I have a problem updating macports, and I'm not sure how to fix it. I tried running sudo port -d selfupdate, this is the output:

DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs ---> Updating MacPorts base sources using rsync DEBUG: system: /usr/bin/rsync -rtzvl --delete-after rsync://rsync.macports.org/macports/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs rsync: getaddrinfo: rsync.macports.org 873: nodename nor servname provided, or not known rsync error: error in socket IO (code 10) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-52.200.2/rsync/clientserver.c(106) [receiver=2.6.9] Command failed: /usr/bin/rsync -rtzvl --delete-after rsync://rsync.macports.org/macports/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs Exit code: 10 DEBUG: Error synchronizing MacPorts sources: command execution failed

while executing

"error "Error synchronizing MacPorts sources: $eMessage""

invoked from within

"try -pass_signal {

system "$rsync_path $rsync_options rsync://${rsync_server}/$rsync_dir $mp_source_path"

} catch {{*} eCode eMessage} {

..."

(procedure "selfupdate::main" line 30) invoked from within

"selfupdate::main {options_global_order {} options_selfupdate_order {}} base_updated"

("uplevel" body line 1) invoked from within

"uplevel [list selfupdate::main $optionslist $updatestatusvar]"

(procedure "macports::selfupdate" line 2) invoked from within

"macports::selfupdate [array get options] base_updated" Error: Error synchronizing MacPorts sources: command execution failed Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed

I understand the problem is with rsync, but I don't know how to solve it. Could you please help me?

Thank you!

Best wishes, Ivana

Change History (0)

Note: See TracTickets for help on using tickets.