Opened 10 years ago

Closed 10 years ago

#45841 closed defect (worksforme)

Error synchronizing MacPorts sources

Reported by: beltran.maite@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.3.2
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

After updating to Yosemite I have many problems running several programs. I was trying to install them again with MacPorts but:

Trying to run 'ports update'

--->  Updating MacPorts base sources using rsync
receiving file list ... done
rsync: mkstemp "/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/.base.tar.UZFbxb" 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 

Change History (5)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Component: portsbase
Description: modified (diff)

"Permission denied"... what are the permissions of that directory?

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Here are the permissions from my working system:

$ ls -ld /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
drwxr-xr-x  9 root  admin  306 Nov  8 14:38 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs

What do yours look like?

comment:3 in reply to:  2 Changed 10 years ago by beltran.maite@…

Hi,

my permissions are like yours:

drwxr-xr-x 10 root admin 340 Nov 12 2013 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs

In the end, I have decided to downgrade Yosemite and go back to Mavericks. My programs (specially those needing X11) work well with Maverick. Curiously, now that I'm back with Mavericks it doesn't find 'ports' ... I guess it got lost in the downgrade and I will need to re-install it.

Version 0, edited 10 years ago by beltran.maite@… (next)

comment:4 Changed 10 years ago by fred.macias@…

It looks like you ran the command with your standard user. Don't forget to execute it as root:

sudo port selfupdate

comment:5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.