Hello,  

I do use sudo, but I think that environment variables are passed. I
tested sudo with the following example and it knows the variable. 

home:~$ export FOO=bar
home:~$ sudo echo $FOO
bar
home:~$

So I don't think that is the problem. 


-----Original Message-----
From: Thijs Kinkhorst [mailto:[EMAIL PROTECTED] 
Sent: vrijdag 9 maart 2007 15:44
To: Jansen - van de Vrie, Anneke; [EMAIL PROTECTED]
Subject: Re: Bug#413646: msttcorefonts: Fails to download fonts, works
withmanual wget

Hi,

> This happens when installing the package:
> 
> --12:15:06--
http://surfnet.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
>            => `./andale32.exe'
> Resolving surfnet.dl.sourceforge.net... failed: Name or service not
known.

> However, when I try to wget the file manually right after that, it
works fine:
> 
> s$ wget 
> http://switch.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
> --12:23:50--
http://switch.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
>            => `andale32.exe'
> Resolving cache-venlo.oce.nl... 134.188.4.10 Connecting to 
> cache-venlo.oce.nl|134.188.4.10|:81... connected.

> (Note that I'm using http_proxy stuff...)

That is strange. The msttcorefonts script just calls wget, and wget is
supposed to just obey any *_proxy variables that are set.

Are you sure that the http_proxy environment variable is actually set in
the same context that the package is installed in as that you use to
invoke wget?

Differences might be that you are running wget as a normal user while
the installation process runs as root. Or that you run it through sudo,
which I think strips environments variables out.


Thijs

This message and attachment(s) are intended solely for use by the addressee and 
may contain information that is privileged, confidential or otherwise exempt 
from disclosure under applicable law.

If you are not the intended recipient or agent thereof responsible for 
delivering this message to the intended recipient, you are hereby notified that 
any dissemination, distribution or copying of this communication is strictly 
prohibited.

If you have received this communication in error, please notify the sender 
immediately by telephone and with a 'reply' message.
  
Thank you for your co-operation.



Reply via email to