X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lists.alpinelinux.org (Postfix) with ESMTP id 57829F8162F for ; Fri, 8 Mar 2019 15:49:07 +0000 (UTC) Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x28FY8vv110598 for ; Fri, 8 Mar 2019 10:49:07 -0500 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0a-001b2d01.pphosted.com with ESMTP id 2r3s7feu3a-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 08 Mar 2019 10:49:06 -0500 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 8 Mar 2019 15:49:05 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Fri, 8 Mar 2019 15:49:03 -0000 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x28Fn2Kj44957776 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 8 Mar 2019 15:49:02 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C00E7A4055 for ; Fri, 8 Mar 2019 15:49:02 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9D1A4A4051 for ; Fri, 8 Mar 2019 15:49:02 +0000 (GMT) Received: from oc7167334104.ibm.com (unknown [9.152.96.210]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP for ; Fri, 8 Mar 2019 15:49:02 +0000 (GMT) Subject: Re: [alpine-devel] Should `setup-apkrepos -f` if fails. To: alpine-devel@lists.alpinelinux.org References: From: Tuan Hoang Date: Fri, 8 Mar 2019 16:49:02 +0100 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 19030815-0020-0000-0000-0000032047C1 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19030815-0021-0000-0000-000021726279 Message-Id: <4794e0ed-092a-c051-d850-bef86b8bb475@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-03-08_13:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=3 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1903080109 Hello, Personally speaking, I like automated installation feature landed on Alpine. But for now, the installer scripts do not support it to my knowledge. Seems like you have already made some progress with that endeavor, would you mind sending a patch or opening an issue or pr and we can discuss about it ? Tuan On 3/3/19 6:35 AM, 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. > --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---