Installed macports what to do next
Daniel J. Luke
dluke at geeklair.net
Thu Aug 25 14:05:19 PDT 2011
On Aug 25, 2011, at 4:48 PM, james collins wrote:
>
>> So you followed the instructions on the wiki and now 'port sync' works?
>
> I followed the instructions. Just re-ran the sync command no errors. My computer returned all 0's i.e.
>
> Total number of ports parsed: 0
> Ports successfully parsed: 0
That is an indication that there's a problem.
Most likely, you did not correctly update your macports/sources.conf file (I would even guess that you probably are missing a / after file:, there should be 3 as per the wiki).
The output from `port -d sync` might help determine what is going wrong.
> Here is what I got from terminal:
>
> sudo port -v selfupdate
>
> ----> 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-42/rsync/clientserver.c(105)
> [receiver=2.6.9]
> shell command "/usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/release/tarballs" returned error 10
> Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: shell command failed (see log for details)
As expected, that looks like a firewall or something is blocking your access.
> I have used the search command like
>
> Port search recoll with no luck
because as per the truncated output from your port sync, macports thinks there are 0 ports.
The output should look something like:
% sudo port -d sync
DEBUG: Synchronizing ports tree(s)
Synchronizing local ports tree from file:///path/to/where/you/put/your/macports/dports
DEBUG: /opt/local/bin/svn update --non-interactive /path/to/where/you/put/your/macports/dports
DEBUG: changing euid/egid - current euid: 0 - current egid: 0
At revision 83095.
Creating port index in /path/to/where/you/put/your/macports/dports
Total number of ports parsed: 0
Ports successfully parsed: 0
Ports failed: 0
Up-to-date ports skipped: 12143
and your sources.conf should have a line that matches:
% grep dports /opt/local/etc/macports/sources.conf
file:///path/to/where/you/put/your/macports/dports [default]
--
Daniel J. Luke
+========================================================+
| *---------------- dluke at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
| Opinions expressed are mine and do not necessarily |
| reflect the opinions of my employer. |
+========================================================+
More information about the macports-users
mailing list