fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] wget


From: Rudiger Wolf
Subject: Re: [Fab-user] wget
Date: Fri, 03 Dec 2010 15:48:35 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6

On 02/12/10 17:53, Rudiger Wolf wrote:
> 
> I have fab file with
> 
> def install_awstats():
>         """ Install awstats for mypentland site """
>         apt_get('perl')
>         sudo('wget -q
> http://awstats.sourceforge.net/files/awstats-7.0.tar.gz',pty=True)
> 

> I get this
> 
> Fatal error: sudo() encountered an error (return code 4) while executing
> 'wget -q http://awstats.sourceforge.net/files/awstats-7.0.tar.gz'
> 

I sorted out this problem by commenting out the lines for IPv6 capable
hosts in /etc/hosts
and uncommenting the following in /etc/wgetrc

# You can set the default proxies for Wget to use for http, https, and ftp.
# They will override the value in the environment.
https_proxy = http://localhost:3128/
http_proxy = http://localhost:3128/
#ftp_proxy = http://proxy.yoyodyne.com:18023/

# If you do not want to use proxy at all, set this to off.
use_proxy = on






reply via email to

[Prev in Thread] Current Thread [Next in Thread]