unable to selfupdate port and install any packages on Snow Leopard

Shashwat Anand anand.shashwat at gmail.com
Fri Feb 12 18:26:32 PST 2010


I installed macports-1.8.2 from dmg
since rsync does not play well with my proxy, I followed instructions from
here: http://trac.macports.org/wiki/howto/SyncingWithSVN
I installed the initial copy.
The last two lines of the file /opt/local/etc/macports/sources.conf
#      rsync://rsync.macports.org/release/ports/ [default]
file:////opt/local/var/macports/sources/svn.macports.org/trunk/dports/[default]

Shashwat-Anands-MacBook-Pro:dports l0nwlf$ pwd
/opt/local/var/macports/sources/svn.macports.org/trunk/dports
Shashwat-Anands-MacBook-Pro:dports l0nwlf$ ls
PortIndex       databases       gnome           net             security
PortIndex.quick devel           gnustep         news            shells
_resources      editors         graphics        office          sysutils
aqua            emulators       irc             palm            tex
archivers       erlang          java            perl            textproc
audio           finance         kde             php             www
benchmarks      fuse            lang            print           x11
cad             games           mail            python          xfce
comms           genealogy       math            ruby            zope
cross           gis             multimedia      science

Shashwat-Anands-MacBook-Pro:dports l0nwlf$ sudo port -d sync
Password:
DEBUG: Synchronizing ports tree(s)
Synchronizing local ports tree from file:///opt/local/var/macports/sources/
svn.macports.org/trunk/dports/
DEBUG: /usr/bin/svn update --non-interactive
/opt/local/var/macports/sources/svn.macports.org/trunk/dports
DEBUG: changing euid/egid - current euid: 0 - current egid: 0
At revision 63709.

Shashwat-Anands-MacBook-Pro:dports l0nwlf$ sudo port -v selfupdate
Password:
--->  Updating the ports tree
Synchronizing local ports tree from file:////opt/local/var/macports/sources/
svn.macports.org/trunk/dports/
U    /opt/local/var/macports/sources/
svn.macports.org/trunk/dports/audio/portmidi/Portfile
Updated to revision 63709.
--->  Updating MacPorts base sources using rsync
rsync: failed to connect to rsync.macports.org: Operation timed out (60)
rsync error: error in socket IO (code 10) at
/SourceCache/rsync/rsync-37.3/rsync/clientserver.c(105) [receiver=2.6.9]
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing
MacPorts sources: shell command "/usr/bin/rsync -rtzv --delete-after
rsync://rsync.macports.org/release/base/ /opt/local/var/macports/sources/
rsync.macports.org/release/base" returned error 10

Shashwat-Anands-MacBook-Pro:dports l0nwlf$ sudo port install
Can't map the URL 'file://.' to a port description file ("Could not find
Portfile in /opt/local/var/macports/sources/svn.macports.org/trunk/dports").
Please verify that the directory and portfile syntax are correct.
To use the current port, you must be in a port's directory.
(you might also see this message if a pseudo-port such as
outdated or installed expands to no ports).

Shashwat-Anands-MacBook-Pro:dports l0nwlf$ sudo port install bpython
Error: Port bpython not found
Before reporting a bug, first run the command again with the -d flag to get
complete output.

How to selfupdate and install packages ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20100213/d0737984/attachment.html>


More information about the macports-users mailing list