Opened 19 years ago

Closed 19 years ago

#7565 closed defect (invalid)

selfupdate and sync fail with rsync error

Reported by: bks@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.2
Keywords: Cc: julian@…
Port:

Description

NEW

Darwin brig4.widgets.acme.com 8.5.0 Darwin Kernel Version 8.5.0: Sun Jan 22 10:38:46 PST 2006; root:xnu-792.6.61.obj~1/RELEASE_PPC Power Macintosh powerpc

port Version: 1.200 rsync version 2.6.3 protocol version 28

sudo port -v update fails:

DEBUG: Rebuilding the darwinports base system if needed. Synchronizing from rsync://rsync.darwinports.org/dpupdate/dports receiving file list ... done ./ aqua/ aqua/BiggerSQL/ ... zope/zope-plonewebmail/ zope/zope-portaltransforms/ x11/xorg/Portfile rsync: delete_one: unlink "/opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/x11/qt3/files/qt.patch" failed: Unknown error: 0 (0) rsync: delete_one: unlink "/opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/textproc/msort/files/patch-msort.c" failed: Invalid argument (22) rsync: delete_one: unlink "/opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/kde/kdelibs3/files/kdelibs3.patch" failed: Invalid argument (22) rsync: delete_one: unlink "/opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/kde/kdebase3/files/kdebase3.patch" failed: Invalid argument (22) rsync: delete_one: unlink "/opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/kde/kdeaccessibility3/files/kttsdrc" failed: Invalid argument (22)

sent 115 bytes received 204953 bytes 31548.92 bytes/sec total size is 11463036 speedup is 55.90 rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-23/rsync/main.c(1161) DEBUG: Couldnt sync dports tree: sync failed doing rsync

while executing

"darwinports::selfupdate [array get global_options]" Error: /opt/local/bin/port: selfupdate failed: Couldnt sync dports tree: sync failed doing rsync

Change History (3)

comment:1 Changed 19 years ago by julian@…

Have you installed the recent Apple security update? I think this is an issue with the rsync binary that came with the update. Try it again with rsync from darwinports.

comment:2 Changed 19 years ago by julian@…

Cc: julian@… added

comment:3 Changed 19 years ago by bks@…

Resolution: invalid
Status: newclosed

you're right, apple seems to have broken the --delete flag for rsync with the march 2006 security update. work around: use rm to delete the problematic files by hand, then install darwinports rsync and change path to use it. i also touched the problematic files to replace them, and a subsequent port sync successfully deleted them.

Note: See TracTickets for help on using tickets.