On 8/30/12 6:40 AM, Viv Kendon wrote:
> I have set up one of my macs to serve binary packages for 
> the rest, to save recompiling the same thing over again.
> 
> I've been using apt-get {upgrade/dist-update} and that works 
> with the appropriate lines added to /sw/etc/apt/source.list
> 
> However, I turned on the "UseBinaryDist" flag in fink.conf, 
> and that doesn't work:
> 
> Downloading the indexes of available packages in the binary 
> distribution.
> /sw/bin/apt-get-lockwait -q update
> Err http://quince.leeds.ac.uk stable/main Packages
>    Cannot initiate the connection to 3128:80 (0.0.12.56). - 
> connect (65 No route to host)
> Err http://quince.leeds.ac.uk stable/main Release
>    Cannot initiate the connection to 3128:80 (0.0.12.56). - 
> connect (65 No route to host)
> Err http://quince.leeds.ac.uk stable/crypto Packages
>    Cannot initiate the connection to 3128:80 (0.0.12.56). - 
> connect (65 No route to host)
> 
> I have "ProxyHTTP" set using port 3128, and clearly 
> something isn't parsing this correctly.  Everything else 
> works as it should, so I don't think it is the proxy 
> setting, which in full is:
> 
> ProxyHTTP: http://www-cache.leeds.ac.uk:3128
> 
> Running sudo /sw/bin/apt-get-lockwait -q update
> 
> by hand does work as expected.  I think this only broke 
> recently, but I'm not sure when.
> 
> Obviously I can live without it and keep using apt-get 
> directly, but I thought I'd report it in case it is easy to 
> fix.
> 
> -- Viv
> ________________________________________________
> Dr Viv Kendon    http://quantum.leeds.ac.uk/~viv
> tel: +44 113 343 4864      Physics and Astronomy
> Quantum Information Group    University of Leeds
> 
> 

What, literally, is your setting for the ProxyHTTP flag in fink.conf?
According to the fink.conf manpage:

    ProxyHTTP: url
           If you use a HTTP proxy then you should enter its address
here, for example:
                 ProxyHTTP: http://yourhost.com:3128/
           Leave if blank if you do not use a HTTP proxy.


The error message above suggests that the host portion is missing and
only the port is getting passed along to apt-get, which therefore
assumes that this is a hostname.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to