[MacPorts] #51540: selfupdate failed: command execution failed

MacPorts noreply at macports.org
Thu Jun 16 03:54:09 PDT 2016


#51540: selfupdate failed: command execution failed
-----------------------+--------------------------------
  Reporter:  zmotiv@…  |      Owner:  macports-tickets@…
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  base      |    Version:  2.3.4
Resolution:  invalid   |   Keywords:
      Port:            |
-----------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * resolution:   => invalid


Old description:

> Machine is Mac laptop running El Capitan 10.11.2
> '''Steps'''
> After initial install of Mac Ports, I opened XQuartz and  ran the command
> via sudo mode
>  port -d selfupdate
> '''Issue'''
> An error occurred: "command Execution failed"
> '''Steps'''
> I ran the command again in debug mode
> '''Issue'''
> DEBUG: Error synchronizing MacPorts sources: command execution failed
>     while executing
> "macports::selfupdate [array get global_options] base_updated"
> Error: Error synchronizing MacPorts sources: command execution failed
> ++
>
> '''Full terminal message error'''
> port -v selfupdate
> --->  Updating MacPorts base sources using rsync
> receiving file list ... done
> rsync: mkstemp
> "/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/.base.tar.QmfBdr"
> failed: Permission denied (13)
> inflate returned -3 (19 bytes)
> rsync error: error in rsync protocol data stream (code 12) at
> /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-47/rsync/token.c(419)
> [receiver=2.6.9]
> rsync: connection unexpectedly closed (31 bytes received so far)
> [generator]
> rsync error: error in rsync protocol data stream (code 12) at
> /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-47/rsync/io.c(453)
> [generator=2.6.9]
> Command failed: /usr/bin/rsync -rtzv --delete-after
> rsync://rsync.macports.org/release/tarballs/base.tar
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
> Exit code: 12
> Error: Error synchronizing MacPorts sources: command execution failed
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing
> MacPorts sources: command execution failed
>
> port -d selfupdate
> DEBUG: MacPorts sources location:
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
> --->  Updating MacPorts base sources using rsync
> receiving file list ... done
> rsync: mkstemp
> "/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/.base.tar.Pmphrh"
> failed: Permission denied (13)
> inflate returned -3 (19 bytes)
> rsync error: error in rsync protocol data stream (code 12) at
> /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-47/rsync/token.c(419)
> [receiver=2.6.9]
> rsync: connection unexpectedly closed (31 bytes received so far)
> [generator]
> rsync error: error in rsync protocol data stream (code 12) at
> /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-47/rsync/io.c(453)
> [generator=2.6.9]
> Command failed: /usr/bin/rsync -rtzv --delete-after
> rsync://rsync.macports.org/release/tarballs/base.tar
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
> Exit code: 12
> DEBUG: Error synchronizing MacPorts sources: command execution failed
>     while executing
> "macports::selfupdate [array get global_options] base_updated"
> Error: Error synchronizing MacPorts sources: command execution failed
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing
> MacPorts sources: command execution failed

New description:

 Machine is Mac laptop running El Capitan 10.11.2

 '''Steps'''

 After initial install of Mac Ports, I opened XQuartz and  ran the command
 via sudo mode
 {{{
 port -d selfupdate
 }}}

 '''Issue'''

 An error occurred: "command Execution failed"

 '''Steps'''

 I ran the command again in debug mode

 '''Issue'''

 {{{
 DEBUG: Error synchronizing MacPorts sources: command execution failed
     while executing
 "macports::selfupdate [array get global_options] base_updated"
 Error: Error synchronizing MacPorts sources: command execution failed
 }}}

 '''Full terminal message error'''

 {{{
 port -v selfupdate
 --->  Updating MacPorts base sources using rsync
 receiving file list ... done
 rsync: mkstemp
 "/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/.base.tar.QmfBdr"
 failed: Permission denied (13)
 inflate returned -3 (19 bytes)
 rsync error: error in rsync protocol data stream (code 12) at
 /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-47/rsync/token.c(419)
 [receiver=2.6.9]
 rsync: connection unexpectedly closed (31 bytes received so far)
 [generator]
 rsync error: error in rsync protocol data stream (code 12) at
 /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-47/rsync/io.c(453)
 [generator=2.6.9]
 Command failed: /usr/bin/rsync -rtzv --delete-after
 rsync://rsync.macports.org/release/tarballs/base.tar
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
 Exit code: 12
 Error: Error synchronizing MacPorts sources: command execution failed
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing
 MacPorts sources: command execution failed

 port -d selfupdate
 DEBUG: MacPorts sources location:
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
 --->  Updating MacPorts base sources using rsync
 receiving file list ... done
 rsync: mkstemp
 "/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/.base.tar.Pmphrh"
 failed: Permission denied (13)
 inflate returned -3 (19 bytes)
 rsync error: error in rsync protocol data stream (code 12) at
 /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-47/rsync/token.c(419)
 [receiver=2.6.9]
 rsync: connection unexpectedly closed (31 bytes received so far)
 [generator]
 rsync error: error in rsync protocol data stream (code 12) at
 /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-47/rsync/io.c(453)
 [generator=2.6.9]
 Command failed: /usr/bin/rsync -rtzv --delete-after
 rsync://rsync.macports.org/release/tarballs/base.tar
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
 Exit code: 12
 DEBUG: Error synchronizing MacPorts sources: command execution failed
     while executing
 "macports::selfupdate [array get global_options] base_updated"
 Error: Error synchronizing MacPorts sources: command execution failed
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing
 MacPorts sources: command execution failed
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/51540#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list