Summary: | sys-apps/portage - "emerge -g" doesn't respect no_proxy variable | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | sam, zmedico |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=740898 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 912589 |
Description
Lars Wendler (Polynomial-C) (RETIRED)
2010-10-04 14:58:50 UTC
Apparently python's urlopen() function doesn't support no_proxy. I guess we can implement it somehow, maybe be temporarily overriding the other *_proxy environment variable for the current protocol. I found this doc that says how it's supposed to work: http://www.w3.org/Daemon/User/Proxies/ProxyClients.html According to the python documentation, no_proxy is supported: http://docs.python.org/library/urllib.html#urllib.urlopen Maybe it's a formatting issue. You might try including the protocol. Including the protocol didn't help: # echo $no_proxy ftp://anaconda.myhost.de # emerge -uDpqv world !!! Error fetching binhost package info from 'ftp://portage:secretpassword@anaconda.myhost.de/' !!! [Errno url error] invalid proxy for ftp: 'http-proxy.myhost.de:8080' Fetching bininfo from ftp://portage:*password*@anaconda.myhost.de/ cache miss: '0' --- cache hit: '0' [ebuild U ] dev-lang/perl-5.12.2-r2 [5.12.2-r1] USE="berkdb -build -debug -doc gdbm -ithreads" [ebuild U ] dev-perl/HTML-Parser-3.67 [3.64] USE="-test" [ebuild U ] dev-perl/URI-1.55 [1.38] [ebuild U ] sys-apps/baselayout-1.12.14-r1 [1.12.13] USE="-bootstrap -build -static unicode" # The company I work for has moved an we're no longer behind a proxy. So I cannot do tests regarding this bug anymore. *** Bug 740898 has been marked as a duplicate of this bug. *** |