New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14846 (closed defect: worksforme)

Opened 5 years ago

Last modified 3 years ago

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

comment:1 follow-up: ↓ 2 Changed 5 years ago by jmr@…

  • 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 5 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 5 years ago by jmr@…

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 4 years ago by toby@…

  • Milestone changed from MacPorts base bugs to MacPorts Future

Milestone MacPorts base bugs deleted

comment:5 Changed 4 years ago by jmr@…

  • Status changed from new to closed
  • Component changed from ports to base
  • Resolution set to worksforme

comment:6 Changed 3 years ago by jmr@…

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