[MacPorts] #67272: Port selfupdate is NOT working on macOS Catalina version 10.15.7

MacPorts noreply at macports.org
Thu Apr 20 18:23:17 UTC 2023


#67272: Port selfupdate is NOT working on macOS Catalina version 10.15.7
---------------------+--------------------
  Reporter:  FCruz2  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  base    |    Version:  2.7.2
Resolution:          |   Keywords:
      Port:          |
---------------------+--------------------
Changes (by jmroot):

 * priority:  High => Normal
 * keywords:  selfupdate =>
 * port:  selfupdate =>


Old description:

> Can someone please help with this issue ? When I run "sudo port -d
> selfupdate" I get a list of errors according to :
>
> sudo port -d selfupdate
>
> DEBUG: Copying
> /Users/fjalcruz/Library/Preferences/com.apple.dt.Xcode.plist to
> /opt/local/var/macports/home/Library/Preferences
> 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: failed to connect to rsync.macports.org: Operation timed out (60)
> rsync error: error in socket IO (code 10) at
> /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-54.120.1/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 [macports::shellescape
> rsync://${rsync_server}/$rsync_dir] [macports::shellescape $mp_so..."
>     (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

New description:

 Can someone please help with this issue ? When I run "sudo port -d
 selfupdate" I get a list of errors according to :
 {{{
 sudo port -d selfupdate

 DEBUG: Copying
 /Users/fjalcruz/Library/Preferences/com.apple.dt.Xcode.plist to
 /opt/local/var/macports/home/Library/Preferences
 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: failed to connect to rsync.macports.org: Operation timed out (60)
 rsync error: error in socket IO (code 10) at
 /AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-54.120.1/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 [macports::shellescape
 rsync://${rsync_server}/$rsync_dir] [macports::shellescape $mp_so..."
     (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
 }}}

--

Comment:

 See wiki:FAQ#selfupdatefails

-- 
Ticket URL: <https://trac.macports.org/ticket/67272#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list