X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id E7B4CDC00D4 for ; Fri, 30 Nov 2012 15:38:42 +0000 (UTC) Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 7F2A0218AE for ; Fri, 30 Nov 2012 10:38:42 -0500 (EST) Received: from frontend2.nyi.mail.srv.osa ([10.202.2.161]) by compute2.internal (MEProxy); Fri, 30 Nov 2012 10:38:42 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:subject:message-id :references:mime-version:content-type:in-reply-to; s=smtpout; bh=U8kUFHq0BOyBmZv/BR2qtcRx76I=; b=E1ms9tNCV/YCJEVfUtMikNOh9Qyb d0VHFJ1UTRdIPx06Mk5urxKVsVMiIG8/3/cSNLp5XmQHI0Jxpzuf1AmLc4aaux+r zzNk3qJiTZ2oIMPul8nJER5m+p7KT/qGRa1ZNuALRGNqT9eGjIog7ukj/KBXbqtg VANKP+P0eaYfHNg= X-Sasl-enc: FZDwOCmNvldpyg0UNMJRnHpOVya0FAx+PsoXsEmgGwcU 1354289922 Received: from localhost (unknown [69.86.161.244]) by mail.messagingengine.com (Postfix) with ESMTPA id 3A5C84827C1 for ; Fri, 30 Nov 2012 10:38:42 -0500 (EST) Date: Fri, 30 Nov 2012 10:36:33 -0500 From: Dubiousjim To: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Some questions about apk-tools Message-ID: <20121130153633.GJ2390@vaio.jimpryor.net> References: <20121128234406.GD2390@vaio.jimpryor.net> <20121129084044.29515fc1@vostro> <20121129124028.GE2390@vaio.jimpryor.net> <20121130154404.68b4de2a@vostro> <20121130151417.GI2390@vaio.jimpryor.net> 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-Disposition: inline In-Reply-To: <20121130151417.GI2390@vaio.jimpryor.net> User-Agent: Mutt/1.5.21 (2010-09-15) On Fri, Nov 30, 2012 at 10:14:17AM -0500, Dubiousjim wrote: > > Thanks so much for these explanations. Things are a lot clearer now. > > On Fri, Nov 30, 2012 at 03:44:04PM +0200, Timo Teras wrote: > > with "fix" -r is actually reinstall, the default behaviour. with -d you > > get the fix action propagated to all dependencies. With -d it would > > reinstall the named package and all it's dependencies. > > So the -r flag on fix is a noop? >From quickly peeking at the source, it looks like: * `apk fix foo` and `apk fix -r foo` behave the same. Can I assume that it's always the current version that's re-installed, even if an upgrade is available? And that if foo isn't currently installed, these commands do nothing? * `apk fix -u foo` won't reinstall foo, but will install an upgrade for foo if one is available. * `apk fix -r -u foo` will install an upgrade for foo if one is available, else will reinstall the current version. Is that right? -- Dubiousjim dubiousjim@gmail.com --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---