Fwd: Re: Help needed: pkg_add dropps connections

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Fwd: Re: Help needed: pkg_add dropps connections

Stefan Wollny-2
Ooops - overlooked to cc: to misc@

-------- Weitergeleitete Nachricht --------
Betreff: Re: Help needed: pkg_add dropps connections
Datum: Tue, 17 Feb 2015 23:14:51 +0100
Von: Stefan Wollny <[hidden email]>
An: Gene <[hidden email]>

Am 02/17/15 um 22:54 schrieb Gene:

> Squid can work as an FTP proxy, and I imagine in your case it
> probably does.  Try setting it and trying the pkg_add command
> again.
> Additionally, you'll want to make sure that your proxy environment
> variables are being passed through sudo.  If sudo is configured to
> use env_reset and env_keep and it isn't retaining those variables
> then the proxy won't be used at all.
> -Eugene

Hi Eugene,

thank you for your time - really appreciate it!

Of course I gave your suggestion a try, even though I was shure it would
not make a difference: I have described the situation right now at home
- but the very same behaviour could be reported while being in a hotel
using their WLAN.

(this is not a server but my personal laptop to this seems to be OK)

~ $ cat .profile | grep proxy

export http_proxy=
export  ftp_proxy=

~ $ sudo pkg_add -ui
quirks-2.52 signed on 2015-02-17T13:51:20Z
g++-4.8.4p1->4.8.4p1: ok
gcj-4.8.4p1->4.8.4p1: ok
hpijs-3.15.2->3.15.2: ok
Error from
ftp: connect: No route to host

Boooom! Connection lost again.
(As I had a 'pkg_add'-run before we reached letter 'h' this time...)

I think 'ftp_proxy' can be ruled out.

Nevertheless it was worth trying.

Thank you and have a nice day!