X-Original-To: alpine-user@lists.alpinelinux.org Delivered-To: alpine-user@mail.alpinelinux.org Received: from mail-qg0-f54.google.com (mail-qg0-f54.google.com [209.85.192.54]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id E3C8CDC06C8 for ; Thu, 12 Mar 2015 14:09:40 +0000 (UTC) Received: by qgfl89 with SMTP id l89so18201532qgf.11 for ; Thu, 12 Mar 2015 07:09:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=D868AuaiiK5LpECzv48uvXdsfebhtzJCZAHwOpeJs5E=; b=AFe8clL2qSYiHOcnB64bM3KNdfZOxTiSCLTaZSeLb7iw8QzBhPfpy8FGL5xtzIp3AF nmUZH/RxM+2QFHmUnbcDmwVsh09hS69aJvvTJjTgPzQMA5vkh3djz/FULxegBfujK0lv v1OnRnPkmn2+RLA+Oiiqw021aoCS0A4CGcj9CnkI2QhOxHk5v7P24p2+W/v9CQgEsXU8 S37nWZTahN2nrdoBm2TYlaaoxN3COB4zHNCEarewRnPSDrFhmkG9qwZa/HKldiXQ7n4r wCTKlzi5WG0pdgfgE4U6NTAZhSsXy3yCRzyLglF++amGF6fFPCvdsWhwUUjwcWx0RagE 2BhQ== X-Mailinglist: alpine-user Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 X-Received: by 10.140.165.76 with SMTP id l73mr54554219qhl.16.1426169380166; Thu, 12 Mar 2015 07:09:40 -0700 (PDT) Received: by 10.140.88.241 with HTTP; Thu, 12 Mar 2015 07:09:40 -0700 (PDT) In-Reply-To: References: Date: Thu, 12 Mar 2015 10:09:40 -0400 Message-ID: Subject: Re: [alpine-user] apk-install behind proxy From: Jeff Bilyk To: Manuel Holzleitner Cc: alpine-user@lists.alpinelinux.org Content-Type: multipart/alternative; boundary=001a1134ef8c4b605a051117ef91 --001a1134ef8c4b605a051117ef91 Content-Type: text/plain; charset=UTF-8 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 --001a1134ef8c4b605a051117ef91 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Yes, it respects http_proxy.

On Thu, Mar 12, 2015 at 9:58 AM, Manuel H= olzleitner <manuel.holzleitner@gmail.com> wrote:<= br>
Hello,

I would like to know if the apk-tools (i.e. apk-install) respect the http= _proxy/https_proxy environment variables?=C2=A0

I = get the following error:=C2=A0
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 directo= ry

This looks like the http request is not i= ssues through the proxy, even though the environment variables are configur= ed. A "wget www.go= ogle.com" on the other hand, works just fine by connecting to thro= ugh the proxy as expected.

In case the apk-tools d= o not respect these environment variables, is there any other way to config= ure proxy settings?

Kind Regards,
Manuel=



--
Jeff
--001a1134ef8c4b605a051117ef91-- --- Unsubscribe: alpine-user+unsubscribe@lists.alpinelinux.org Help: alpine-user+help@lists.alpinelinux.org ---