Thanks a lot for the information.

How could I check the firewall setup. Is the firewall on my laptop or from
the internet provider? Originally, I thought I didn't have firewall on my
laptop.

I will try the mothod you provide to see if it works.

On Wed, Apr 27, 2011 at 7:09 AM, Alexander Hansen <
[email protected]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 4/27/11 1:42 AM, 罗曼 wrote:
> > Hi,
> > I am a newcomer to fink who come across a lot of problem with fink
> > package installation.
> > The current fink version on my mac is 0.29.21-51
> > What I wanted to do was to install the package rtf2latex2eUnix1.tar.gz.
> > I downloaded the file from http://distfiles.master.finkmirrors.net/ and
> > saved it in the default fink location as /sw/src/. Then I tried 'fink
> > install rtf2latex2eUnix1'
>
> That's the wrong way to do it.  We don't require people to download the
> source tarballs manually.
>
> The correct way to proceed is to use "fink install rtf2latex2e", which
> will download the source tarball automatically, or use the one you've
> downloaded already in this case.  You'll need actually to have package
> descriptions to do that, though.
>
> > The error information was list as following:
> > Information about 312 packages read in 0 seconds.
> > WARNING: unable to determine last selfupdate time. You should run 'fink
> > selfupdate' to get the latest package
> > descriptions.
> > Failed: no package found for specification 'rtf2latex2eUnix1'!
>
> And there won't be, because the package's name is "rtf2latex2e"
>
>
> > As it asked me to do the selfupdate for fink, I tried 'fink
> > selfupdate-rsync'. But it suggests looking for mirror sites and none of
> > them works. The error information was list as following:
> > rsync -az -q
> > rsync://distfiles.master.finkmirrors.net/finkinfo//TIMESTAMP
> > <http://distfiles.master.finkmirrors.net/finkinfo//TIMESTAMP>
> > /sw/fink/TIMESTAMP.tmp
> > rsync: failed to connect to distfiles.master.finkmirrors.net
> > <http://distfiles.master.finkmirrors.net>: Operation timed out (60)
> > rsync error: error in socket IO (code 10) at
> > /SourceCache/rsync/rsync-40/rsync/clientserver.c(105) [receiver=2.6.9]
> > ### execution of rsync failed, exit code 10
> > Failed to fetch the timestamp file from the rsync server:
> > rsync://distfiles.master.finkmirrors.net/finkinfo/
> > <http://distfiles.master.finkmirrors.net/finkinfo/>. Check the error
> > messages above.
> >
>
> ...
>
> Your rsync errors are characteristic of going through a firewall.
> There's nothing we can do for you there.
>
> > I also tried 'fink selfupdate-cvs' as well.
> > The error information is list as below:
> >
> > Fink has the capability to run the CVS commands as a normal user. That
> > has some advantages - it uses that user's
> > CVS settings files and allows the package descriptions to be edited and
> > updated without becoming root. Please
> > specify the user login name that should be used: [xian]
> >
> >
> > For Fink developers only: Enter your SourceForge login name to set up
> > full CVS access. Other users, just press
> > return to set up anonymous read-only access. [anonymous]
> >
> >
> > Checking to see if we can use hard links to merge the existing tree.
> > Please ignore errors on the next few lines.
> > Now logging into the CVS server. When CVS asks you for a password, just
> > press return (i.e. the password is
> > empty).
> > /usr/bin/su xian -c 'cvs
> > -d:pserver:[email protected]:/cvsroot/fink login'
> > Logging in to
> > :pserver:[email protected]:2401/cvsroot/fink
> > <http://pserver:[email protected]:2401/cvsroot/fink>
> > CVS password:
> > cvs [login aborted]: connect to fink.cvs.sourceforge.net
> > <http://fink.cvs.sourceforge.net>(216.34.181.110):2401 failed: Operation
> > timed out
> > ### execution of /usr/bin/su failed, exit code 1
> > Failed: Logging into the CVS server for anonymous read-only access failed
> >
>
> These errors are also characteristic of your firewall.
>
> > Now I really don't know how to proceed. Any help on the case would be
> > highly appreciated.
> >
> >
> >
>
> If your firewall has an HTTP proxy, we can help you with CVS updates.
>
> 1)  Download
>
>
> http://fink.cvs.sourceforge.net/viewvc/fink/fink/perlmod/Fink/SelfUpdate/CVS.pm?revision=1.14
>
> and save it as /sw/lib/perl5/Fink/SelfUpdate/CVS.pm
>
> 2) Edit /sw/lib/fink/mirror/postinstall.pl as a superuser and change the
> line that says
>
> if (/^(:\w+:\w+)@(.+)$/) {
>
> to
>
> if (/^(:\S+:\S+)@(.+)$/) {
>
>
> and change the line that says
>
> if (defined $method_user and $method_user eq ":pserver:anonymous") {
>
> to
>
> if (defined $method_user and $method_user =~ /^:pserver(.*):anonymous$/) {
>
> (that can be on one line).  Then save the changes.
>
> 3)  Run "fink configure" and make sure that you have HTTP proxy support
> turned on, and that it is using the proxy configuration required for
> your firewall.
>
> Let us know if you have any problems. Also, let us know if this works
> for you.  If there's positive feedback, I'll try to get these changes
> moved over into the regular Fink packages.
> - --
> Alexander Hansen, Ph.D.
> Fink User Liaison
> http://finkakh.wordpress.com/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk24B24ACgkQB8UpO3rKjQ+hqQCdEI7axbO8ZEVOKmKlUeJwKiWr
> o4sAn1xwaePHNrQPyC4vRp721ZXCvmVm
> =NTPM
> -----END PGP SIGNATURE-----
>
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to