a problem using macPort

Xianghui Xue xuexh at ustc.edu.cn
Mon Jul 5 02:51:26 PDT 2010


Hi all,
    I have installed the macport (.pkg) on my Mac OS 10.6.3.
    But when I used it (sudo port -v selfupdate Or just sudo port installl
***), it showed that:

Warning: /opt/local/etc/macports/sources.conf specifies invalid source '
rsync://rsync.macports.org/release/ports/ [default]', ignored.
Warning: No default port source specified in
/opt/local/etc/macports/sources.conf, using last source as default
can't read "sources": no such variable
    while executing
"lindex $sources end"
    (procedure "mportinit" line 167)
    invoked from within
"mportinit ui_options global_options global_variations"
Error: /opt/local/bin/port: Failed to initialize MacPorts, can't read
"sources": no such variable

    How to fix this problem?
    Thanks!
---------------------------------------------------
Xianghui XUE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20100705/3e8296b9/attachment.html>


More information about the macports-users mailing list