"file has vanished" error when running `sudo port -v selfupdate`

Got the following error when trying to initially run an update on Mac Ports after installing it:

~> sudo port -v selfupdate
Password:
--->  Updating the ports tree
Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/
receiving file list ... file has vanished: "/ports/sysutils/gcc_select/files/gcc33" (in release)
done
./
sysutils/coreutils/
sysutils/coreutils/files/
sysutils/count/
sysutils/count/files/
sysutils/createrepo/
sysutils/createrepo/files/
sysutils/createtorrent/
sysutils/createtorrent/files/
sysutils/cronolog-devel/
sysutils/cronolog/
sysutils/crswallow/
sysutils/cssh/
sysutils/cuetools/
sysutils/daemon/
sysutils/daemon/files/
sysutils/daemontools/
sysutils/daemontools/files/
sysutils/dc3dd/
sysutils/dcfldd/
sysutils/dcfldd/files/
sysutils/dd_rescue/
sysutils/dd_rescue/files/
sysutils/ddrescue/
sysutils/detach/
sysutils/detox/
sysutils/di/
sysutils/diffutils/
sysutils/diffutils/files/
sysutils/dirvish/
sysutils/dirvish/files/
sysutils/disktype/
sysutils/disktype/files/
sysutils/dmg2img/
sysutils/dmg2img/files/
sysutils/dnuos/
sysutils/doodle/
sysutils/dpkg/
sysutils/dpkg/files/
sysutils/dpkg/files/bsd/
sysutils/dtach/
sysutils/duff/
sysutils/duplicity/
sysutils/dvdrtools/
sysutils/dvdrtools/files/
sysutils/dvdrw-tools/
sysutils/dvdrw-tools/files/
sysutils/dvtm/
sysutils/dvtm/files/
sysutils/dwatch/
sysutils/dwatch/files/
sysutils/e2fsprogs/
sysutils/e2fsprogs/files/
sysutils/endian/
sysutils/erni/
sysutils/erni/files/
sysutils/etch/
sysutils/exec-wrapper/
sysutils/exec-wrapper/files/
sysutils/facter/
sysutils/faubackup/
sysutils/fcron/
sysutils/fcron/files/
sysutils/fdupes/
sysutils/fhist/
sysutils/file/
sysutils/file/files/
sysutils/findutils/
sysutils/foremost/
sysutils/freeradius/
sysutils/freeradius/files/
sysutils/fs-check/
sysutils/gcc_select/
sysutils/gcc_select/files/
file has vanished: "/ports/sysutils/gcc_select/files/.gcc33.G52TaJ" (in release)
IO error encountered -- skipping file deletion

sent 519 bytes  received 482625 bytes  138041.14 bytes/sec
total size is 26763626  speedup is 55.39
rsync warning: some files vanished before they could be transferred (code 24) 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 24
Error: Synchronization of the local ports tree failed doing rsync
Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization of 1 source(s) failed

The resolution was to apparently just re-run the command. I installed something after trying to update the first time, but I don’t think that should have affected anything. If anyone has additional insight into what causes this problem, please leave a comment below. Thanks!

Categories: development

« The command "cmd /c ""%VS100COMNTOOLS%vsvars32.bat" && sgen /nologo /assembly:"FOO" /force /type:BAR"" exited with code 255. `rake gems:install` fails with no such file to load »

Comments