macports through firewall

Dr. Madhurjya P. Bora mpbora at yahoo.com
Fri Oct 29 02:53:36 PDT 2010


Well, sudo port sync failed!

------
sudo port sync
Password:
Warning: No index(es) found! Have you synced your source indexes?
Error: updating PortIndex for 
file://opt/local/var/macports/sources/svn.macports.org/trunk/dports/ failed
------

I have followed the instructions from 
https://trac.macports.org/wiki/howto/SyncingWithSVN including changing the rsync 
command to file in the /opt/local/etc/macports/sources.conf. Is anything left. 
Any env variables? Regards,

--- Madhurjya



________________________________
From: Dr. Madhurjya P. Bora <mpbora at yahoo.com>
To: macports-users at lists.macosforge.org
Cc: Ryan Schmidt <ryandesign at macports.org>
Sent: Fri, October 29, 2010 3:13:02 PM
Subject: Re: macports through firewall


Much the same results.

--------
[Scarlett:~] mpbora% cd /opt/local/
[Scarlett:/opt/local] mpbora% find . -name dports
./var/db/dports
./var/macports/sources/svn.macports.org/trunk/dports
^C
[Scarlett:/opt/local] mpbora% cd var/db/dports/
[Scarlett:var/db/dports] mpbora% sudo portindex
Warning: No index(es) found! Have you synced your source indexes?
Creating port index in /opt/local/var/db/dports

Total number of ports parsed:    0 
Ports successfully parsed:    0 
Ports failed:            0 
Up-to-date ports skipped:    0

[Scarlett:var/db/dports]  mpbora%
[Scarlett:var/db/dports] mpbora% sudo port install xsane
Password:
Warning: No index(es) found! Have you synced your source indexes?
Error: Port xsane not found
To report a bug, see <http://guide.macports.org/#project.tickets>
[Scarlett:var/db/dports] mpbora%
[Scarlett:var/db/dports] mpbora% 
[Scarlett:var/db/dports] mpbora% 
[Scarlett:var/db/dports] mpbora% 
[Scarlett:var/db/dports] mpbora% cd 
/opt/local/var/macports/sources/svn.macports.org/trunk/dports/
[Scarlett:svn.macports.org/trunk/dports] mpbora% sudo portindex
Warning: No index(es) found! Have you synced your source indexes?
Creating port index in 
/opt/local/var/macports/sources/svn.macports.org/trunk/dports

Total number of ports parsed:    0 
Ports successfully parsed:    0 
Ports failed:             0 
Up-to-date ports skipped:    7461

[Scarlett:svn.macports.org/trunk/dports] mpbora% sudo port install xsane
Warning: No index(es) found! Have you synced your source indexes?
Error: Port xsane not found
To report a bug, see <http://guide.macports.org/#project.tickets>
[Scarlett:svn.macports.org/trunk/dports] mpbora%

--- Madhurjya



________________________________
From: Ryan Schmidt <ryandesign at macports.org>
To: Dr. Madhurjya P. Bora <mpbora at yahoo.com>
Cc: macports-users at lists.macosforge.org
Sent: Fri, October 29, 2010 2:26:05 PM
Subject: Re: macports through firewall


On Oct 29, 2010, at 03:36, Dr. Madhurjya P. Bora wrote:

> I have been trying to install the macports in my iMac running Leopard (10.5). 
>Following instructions from the macport guide section, I have successfully 
>installed the subversion

FYI, Subversion is already installed on Mac OS X 10.5 and later. It's part of 
Mac OS X.

> and synced with svn update instead of rsync update, as my school uses a 
>firewall.
> 
> Now, when I try to install something, say, xsane or anything, the following 
>errors come up.
> 
> ---------
> [Scarlett:~] mpbora% sudo port install xsane
> Password:
> Warning: No index(es) found! Have you synced your source indexes?
> Error: Port xsane not found
> To report a bug, see <http://guide.macports.org/#project.tickets>
> [Scarlett:~] mpbora%
>  ---------

You need to run "sudo port sync", which will update your ports (using 
Subversion, now that you've changed your sources.conf to point to the Subversion 
working copy of the dports tree that you checked out) and create the PortIndex 
by running the portindex program. Or you could run the portindex program 
manually if you wanted to. If you want to do that, you need to cd to the dports 
directory before doing so.


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20101029/d29138b4/attachment.html>


More information about the macports-users mailing list