Error when I selfupdate

Erwan David erwan at rail.eu.org
Mon Oct 4 01:39:55 PDT 2010


On 04/10/10 10:32, Michael Curtis wrote:
> Hi,
> 
> I have just installed version 1.9.1 on my Snow Leopard machine (10.6.4)
> when I do a selfupdate I get the following errors. If this something to
> worry about?
> 
> Best wishes
> 
> Michael
> 
> port -d selfupdate
> 
> --->  Updating the ports tree
> DEBUG: Synchronizing ports tree(s)
> Synchronizing local ports tree
> from rsync://rsync.macports.org/release/ports/
> DEBUG: /usr/bin/rsync -rtzv --delete-after
> '--exclude=/PortIndex*' rsync://rsync.macports.org/release/ports/ /opt/local/var/macports/sources/rsync.macports.org/release/ports
> receiving file list ... done
> rsync: failed to set times on
> "/opt/local/var/macports/sources/rsync.macports.org/release/ports/.":
> Operation not permitted (1)
> ./
> rsync: failed to set times on
> "/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xdpyinfo":
> Operation not permitted (1)
> x11/xdpyinfo/
> rsync: mkstemp
> "/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xdpyinfo/.Portfile.zBZx1T"
> failed: Permission denied (13)
> rsync: failed to set times on
> "/opt/local/var/macports/sources/rsync.macports.org/release/ports/.":
> Operation not permitted (1)
> rsync: failed to set times on
> "/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/xdpyinfo":
> Operation not permitted (1)
> 
> sent 99 bytes  received 478249 bytes  41595.48 bytes/sec
> total size is 26496417  speedup is 55.39
> rsync error: some files could not be transferred (code 23) at
> /SourceCache/rsync/rsync-40/rsync/main.c(1400) [generator=2.6.9]
> shell command "/usr/bin/rsync -rtzv --delete-after
> '--exclude=/PortIndex*' rsync://rsync.macports.org/release/ports/ /opt/local/var/macports/sources/rsync.macports.org/release/ports"
> returned error 23
> Error: Synchronization of the local ports tree failed doing rsync
> DEBUG: Couldn't sync the ports tree: Synchronization of 1 source(s) failed
>    while executing
> "macports::selfupdate [array get global_options] base_updated"
> Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the
> ports tree: Synchronization of 1 source(s) failed

humm. sudo port -d selfupdate should work better :
here all the messages tell you you do not have the credentials for
doingthe operation.


More information about the macports-users mailing list