~alpine/users

1

[alpine-user] apk-install behind proxy

Manuel Holzleitner <manuel.holzleitner@gmail.com>
Details
Message ID
<CADE24oiz_i3nq6CEV=bwNFitZ41se_+sZA3PaABKOi6X9vdkVA@mail.gmail.com>
Sender timestamp
1426168734
DKIM signature
missing
Download raw message
Hello,

I would like to know if the apk-tools (i.e. apk-install) respect the
http_proxy/https_proxy environment variables?

I get the following error:
fetch http://dl-4.alpinelinux.org/alpine/v3.1/main/x86_64/APKINDEX.tar.gz
ERROR: http://dl-4.alpinelinux.org/alpine/v3.1/main: IO ERROR
WARNING: Ignoring APKINDEX.689bb31a.tar.gz: No such file or directory

This looks like the http request is not issues through the proxy, even
though the environment variables are configured. A "wget www.google.com" on
the other hand, works just fine by connecting to through the proxy as
expected.

In case the apk-tools do not respect these environment variables, is there
any other way to configure proxy settings?

Kind Regards,
Manuel
Jeff Bilyk <jbilyk@gmail.com>
Details
Message ID
<CAHwjr37jEEF2s1NNKLQCCrJENATtk=sbSf2uyuq9MJzjMj_+aw@mail.gmail.com>
In-Reply-To
<CADE24oiz_i3nq6CEV=bwNFitZ41se_+sZA3PaABKOi6X9vdkVA@mail.gmail.com> (view parent)
Sender timestamp
1426169380
DKIM signature
missing
Download raw message
Yes, it respects http_proxy.

On Thu, Mar 12, 2015 at 9:58 AM, Manuel Holzleitner <
manuel.holzleitner@gmail.com> wrote:

> Hello,
>
> I would like to know if the apk-tools (i.e. apk-install) respect the
> http_proxy/https_proxy environment variables?
>
> I get the following error:
> fetch http://dl-4.alpinelinux.org/alpine/v3.1/main/x86_64/APKINDEX.tar.gz
> ERROR: http://dl-4.alpinelinux.org/alpine/v3.1/main: IO ERROR
> WARNING: Ignoring APKINDEX.689bb31a.tar.gz: No such file or directory
>
> This looks like the http request is not issues through the proxy, even
> though the environment variables are configured. A "wget www.google.com"
> on the other hand, works just fine by connecting to through the proxy as
> expected.
>
> In case the apk-tools do not respect these environment variables, is there
> any other way to configure proxy settings?
>
> Kind Regards,
> Manuel
>



-- 
Jeff
Reply to thread Export thread (mbox)