X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) by lists.alpinelinux.org (Postfix) with ESMTP id EB1F15C4D4A for ; Mon, 4 Dec 2017 18:40:01 +0000 (GMT) Received: from cotinga.riseup.net (unknown [10.0.1.164]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 601A61A08B9; Mon, 4 Dec 2017 10:40:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1512412801; bh=cOJZDLl2xpr11aoZihOePm9aM/F/3IDjuVn582tFDpQ=; h=Subject:To:From:Date:From; b=Yqiut8PReLLASo3GC/NoWsYv7KoEiPcAOVMa6ncUUpCZkDfqWhCAYJULOKrHrUtuZ DAtO0+MAnoRm6j9GArY/Gu/po3nF7PS3+03FW+SYEHt4KyECd4k4pA3Z7n8/+rqBz1 HvN2IMZVvir1Oyc4R5Z5v0Du5z0Ec4o7qSQnCLQQ= X-Riseup-User-ID: 038A2F7A7AD23E3D2846B858F7D41426A90E03AE24EE11E08C233B662B4D7C4C Received: from [127.0.0.1] (localhost [127.0.0.1]) by cotinga.riseup.net with ESMTPSA id 3720F53B1D; Mon, 4 Dec 2017 10:40:00 -0800 (PST) Subject: Re: [alpine-devel] apk fetch --recursive broken in >= v3.7 To: Dean , Alpine-devel From: Roger Newman Message-ID: <6dab720f-84a7-756a-c6f7-e0a9686536c1@riseup.net> Date: Mon, 4 Dec 2017 19:39:57 +0100 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=utf-8 Content-Transfer-Encoding: 7bit Hi Dean, without "--recursive" you will not fetch the packages dependencies. Take a look at an example from v3.6 where it works as expected. I choose docker this time because of its dependencies. ## without --recursive / # apk fetch --keys-dir /etc/apk/keys --repositories-file /etc/apk/repositories --output /tmp/ docker Downloading docker-17.05.0-r0 ## with --recursive / # apk fetch --keys-dir /etc/apk/keys --repositories-file /etc/apk/repositories --output /tmp/ -R docker Downloading device-mapper-libs-2.02.168-r3 Downloading libressl2.5-libcrypto-2.5.5-r0 Downloading libseccomp-2.3.2-r0 Downloading musl-1.1.16-r14 Downloading busybox-1.26.2-r9 Downloading ca-certificates-20161130-r2 Downloading iptables-1.6.1-r0 Downloading libmnl-1.0.4-r0 Downloading libnftnl-libs-1.0.7-r0 As you can see, only docker it self get fetched. / # apk fetch --help ... Fetch options: -L, --link Create hard links if possible -R, --recursive Fetch the PACKAGE and all its dependencies --simulate Show what would be done without actually doing it -s, --stdout Dump the .apk to stdout (incompatible with -o, -R, --progress) -o, --output DIR Directory to place the PACKAGEs to -- Roger Newman --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---