You are not logged in.
Pages: 1
Problem: Cuurently yaourt does not work with basic auth http proxy (squid for example), though pacman works well (when issued from root account). When both apps are stated with sudo, they both fail. The proxy itself is set via .bashrc
export http_proxy='http://user:password@proxyhost:8080'
Reason: Sudo does not keep environment variables, that can be easily be tested by issuing sudo env.
Solution: Add to /etc/sudoers the following line:
Defaults env_keep += "http_proxy"
Now yaourt should work
P.S.: thanks to tuxce (original solution from bugtacker http://bugs.archlinux.fr/task/188)
Offline
Pages: 1