X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mx1.tetrasec.net (mx1.tetrasec.net [74.117.190.25]) by lists.alpinelinux.org (Postfix) with ESMTP id 930C6F84D8A for ; Thu, 14 Mar 2019 13:46:48 +0000 (UTC) Received: from mx1.tetrasec.net (mail.local [127.0.0.1]) by mx1.tetrasec.net (Postfix) with ESMTP id 14BBC9E1E00; Thu, 14 Mar 2019 13:46:48 +0000 (UTC) Received: from ncopa-desktop.copa.dup.pw (67.63.200.37.customer.cdi.no [37.200.63.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: alpine@tanael.org) by mx1.tetrasec.net (Postfix) with ESMTPSA id 17EB79E00FA; Thu, 14 Mar 2019 13:46:46 +0000 (UTC) Date: Thu, 14 Mar 2019 14:46:41 +0100 From: Natanael Copa To: Magicloud Magiclouds Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Should `setup-apkrepos -f` if fails. Message-ID: <20190314144641.49614cc1@ncopa-desktop.copa.dup.pw> In-Reply-To: References: X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-alpine-linux-musl) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 3 Mar 2019 13:35:58 +0800 Magicloud Magiclouds wrote: > 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. > Yeah, I think this can be considered a bug. Please report it on https://bugs.alpinelinux.org -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---