[MacPorts] #65198: Macports selfupdate error

MacPorts noreply at macports.org
Thu May 19 11:28:28 UTC 2022


#65198: Macports selfupdate error
---------------------+--------------------
 Reporter:  ivanavb  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:
---------------------+--------------------
 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

-- 
Ticket URL: <https://trac.macports.org/ticket/65198>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list