[MacPorts] #47750: Error port -v selfupdate

MacPorts noreply at macports.org
Sat May 16 16:34:31 PDT 2015


#47750: Error port -v selfupdate
------------------------+--------------------------------
  Reporter:  rickrvo@…  |      Owner:  macports-tickets@…
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  base       |    Version:  2.3.3
Resolution:  invalid    |   Keywords:
      Port:             |
------------------------+--------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)
 * resolution:   => invalid
 * status:  new => closed
 * component:  ports => base


Old description:

> User-Mac:sinf user$ 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.sxLvwa"
> failed: Permission denied (13)
> inflate returned -3 (3 bytes)
> rsync error: error in rsync protocol data stream (code 12) at
> /SourceCache/rsync/rsync-45/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
> /SourceCache/rsync/rsync-45/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

New description:

 {{{
 User-Mac:sinf user$ 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.sxLvwa"
 failed: Permission denied (13)
 inflate returned -3 (3 bytes)
 rsync error: error in rsync protocol data stream (code 12) at
 /SourceCache/rsync/rsync-45/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
 /SourceCache/rsync/rsync-45/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
 }}}

--

Comment:

 You don't have permission, because you didn't use "sudo". You need to use:

 {{{
 sudo port -v selfupdate
 }}}

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


More information about the macports-tickets mailing list