X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-ua1-f50.google.com (mail-ua1-f50.google.com [209.85.222.50]) by lists.alpinelinux.org (Postfix) with ESMTP id 51BC7F84CD5 for ; Sun, 3 Mar 2019 05:37:40 +0000 (UTC) Received: by mail-ua1-f50.google.com with SMTP id j7so1592374uak.8 for ; Sat, 02 Mar 2019 21:37:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=GyPsjtKmEMjTTPEG4wshP/Kh8Bb+1aRMoMm0M8P1Wl4=; b=ej/ejAyyStt4WIgLvKmQvSFEFr7DC58uGq87G7ktrKEsiSdkcu73t+jeL2EUUpjeAH 2fEF3sXWnD9qwezp34U2D5ivRGbTMcx6k5kfuHNcWb2VZuAexqZvKYSBTLwIUL3XHAlf DSPz/eG2CQnuRYQrlSJwr0Y0LRWBJbll9SSFUZ+JkxLGTgJOBc+XjWvxiKj2GUlAgBN2 Y0UnUKmis+d5TDkSA9xALIxNSpwSN03jBtJOBo0VDlZapksewvCoznG8yInt/RU7OMVZ p8KBnsa3cACUYjSquPrbo8/kKrXzsWlm6+qJ+ck1hn9jnDlup90Gwl/OoK8FCZNOiJKS vlAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=GyPsjtKmEMjTTPEG4wshP/Kh8Bb+1aRMoMm0M8P1Wl4=; b=ZmCJ0risF/OZfDtELqg8S3fDuD3YV9ZqTaAkfHTnPHKW47qd5Lrw1D7WljUBi5aKXH OC7jbvf0AfoIe/BKp9t3+0Wf7Cx6xRKystJR/jpH4zc7mqSnLG5GECRzRJPcsmPsSar2 Bq3oUgzvy9BRgQ78vU4FUKR6Lf1XhGUxv1yoJOjXNDyPUsD1dHGQFGdf6+aPn3B3Mq9p Gb8K1Eh6XtZWl8Z4tke/X7P1PYGVRkZBsyzi8KbC49aN4euoZV/Y3ZB9XvRHmhanz3Zy AOIZuSR3qPdb3FgTp4kDwSAQnxl05fbWRuRpeDVaSYiLw/SvCAcigI7YmpD0KTcCPNAS dy5Q== X-Gm-Message-State: APjAAAWBO929OV6GP3e/EtdTR30s/Q0xUPkJ0FpcDTe91lt0KXZcQjzi 3egRsZqxFuwV3FcXlSNkwBORB7p4Gn5FsnyH943eYA== X-Google-Smtp-Source: APXvYqz/nGcG9aqjUYlnk7ZPSxr6F9O2ENbL4YPn/WjEKDB44oZ64/Z2cXFbq8dn8LpKxfe2K8bebyqq6oLOSbSdqoQ= X-Received: by 2002:ab0:2650:: with SMTP id q16mr6675553uao.120.1551591459684; Sat, 02 Mar 2019 21:37:39 -0800 (PST) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 From: Magicloud Magiclouds Date: Sun, 3 Mar 2019 13:35:58 +0800 Message-ID: Subject: [alpine-devel] Should `setup-apkrepos -f` if fails. To: alpine-devel@lists.alpinelinux.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, While working on automatically setup an alpinelinux, I found that, `setup-apkrepos -f` falls back to interactive mode if something is wrong when retrieving mirror list. I think this is unexpected. One, headless or unattended setup hangs because this step is waiting for user. Two, it does not exit with error, so the automation script cannot detect the error easily and patch things up. I did not submit this as a bug since I'd like to have your opinion. Thanks. --=20 =E7=AB=B9=E5=AF=86=E5=B2=82=E5=A6=A8=E6=B5=81=E6=B0=B4=E8=BF=87 =E5=B1=B1=E9=AB=98=E5=93=AA=E9=98=BB=E9=87=8E=E4=BA=91=E9=A3=9E And for G+, please use magiclouds#gmail.com. --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---