linaro blocking issue
zygmunt.krynicki at linaro.org
Thu Feb 16 16:10:52 UTC 2012
On Thu, Feb 16, 2012 at 5:07 PM, Dechesne, Nicolas <n-dechesne at ti.com> wrote:
> On Thu, Feb 16, 2012 at 10:32 AM, Amit <Amit.Bag at tieto.com> wrote:
>> gpg: directory `/home/bagggami/.gnupg' created
>> gpg: new configuration file `/home/bagggami/.gnupg/gpg.conf' created
>> gpg: WARNING: options in `/home/bagggami/.gnupg/gpg.conf' are not yet
>> active during this run
>> gpg: keyring `/home/bagggami/.gnupg/secring.gpg' created
>> gpg: keyring `/home/bagggami/.gnupg/pubring.gpg' created
>> gpg: requesting key 7BE1F97B from hkp server keyserver.ubuntu.com
>> gpgkeys: HTTP fetch error 7: couldn't connect to host
>> gpg: no valid OpenPGP data found.
>> gpg: Total number processed: 0
>> Can you tell me whats going wrong here.
> looks like you might be behind a corporate firewall, and 'sudo' is not
> passing the env variables properly.
> the reliable way I usually do it is:
> $ sudo su -
> $ export http_proxy='XXX'
> $ export https_proxy='XXX'
> $ add-apt-repository ppa:xxx
You should set the proxy for apt via /etc/apt.conf or /etc/apt/apt.conf.d/
The line you need is:
> that should work with sudo -E as well, but I didn't try that.
> linaro-dev mailing list
> linaro-dev at lists.linaro.org
More information about the linaro-dev