Opened 13 years ago

Closed 12 years ago

Last modified 11 years ago

#14846 closed defect (worksforme)

Couldn't sync the ports tree: Synchronization of the local ports tree failed doing rsync

Reported by: macports.users@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.7.0
Keywords: Cc:
Port:

Description

$ sudo port -fvds selfupdate
DEBUG: Synchronizing ports tree(s)
Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/
DEBUG: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/ports/ /opt/local/var/macports/sources/rsync.macports.org/release/ports
receiving file list ... done
rsync: readlink "/opt/local/var/macports/sources/rsync.macports.org/release/ports/editors/TeXmacs/work" failed: Invalid argument (22)
rsync: readlink "/opt/local/var/macports/sources/rsync.macports.org/release/ports/editors/vim/work" failed: Invalid argument (22)
rsync: readlink "/opt/local/var/macports/sources/rsync.macports.org/release/ports/net/wget/work" failed: Invalid argument (22)

sent 74 bytes  received 298589 bytes  14568.93 bytes/sec
total size is 17706822  speedup is 59.29
rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-24.1/rsync/main.c(1161)
DEBUG: Couldn't sync the ports tree: Synchronization of the local ports tree failed doing rsync
    while executing
"macports::selfupdate [array get global_options]"
Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization of the local ports tree failed doing rsync
$ uname -a
Darwin Mac.local 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
$

Change History (6)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Cc: macports.users@… removed

The -f and -s options don't do anything useful for selfupdate, so don't use them. The -d option implies -v, so you only need to use one or the other (or neither) depending on how much information you want to see.

What happens if you first clean the three ports whose work symlinks are mentioned?

(And BTW, you no longer need to cc yourself on tickets you report.)

comment:2 in reply to:  1 Changed 13 years ago by macports.users@…

Replying to jmr@macports.org:

The -f and -s options don't do anything useful for selfupdate, so don't use them. The -d option implies -v, so you only need to use one or the other (or neither) depending on how much information you want to see.

What happens if you first clean the three ports whose work symlinks are mentioned?


Solves the problem. Thanks and please close this ticket.

(And BTW, you no longer need to cc yourself on tickets you report.)

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Was there something unusual about those links? If you're unable to sync whenever there are work directories present, that's a genuine bug.

comment:4 Changed 12 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

comment:5 Changed 12 years ago by jmroot (Joshua Root)

Component: portsbase
Resolution: worksforme
Status: newclosed

comment:6 Changed 11 years ago by jmroot (Joshua Root)

Milestone: MacPorts Future
Note: See TracTickets for help on using tickets.