From owner-freebsd-questions@FreeBSD.ORG Fri Oct 12 12:16:00 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 675292A3 for ; Fri, 12 Oct 2012 12:16:00 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 258FF8FC1C for ; Fri, 12 Oct 2012 12:15:59 +0000 (UTC) Received: from r56.edvax.de (port-92-195-110-131.dynamic.qsc.de [92.195.110.131]) by mx02.qsc.de (Postfix) with ESMTP id 1CCAD33302; Fri, 12 Oct 2012 14:15:52 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q9CCFqhE002208; Fri, 12 Oct 2012 14:15:52 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 12 Oct 2012 14:15:52 +0200 From: Polytropon To: jb Subject: Re: portmaster options Message-Id: <20121012141552.58f2b1dd.freebsd@edvax.de> In-Reply-To: References: <20121012131638.1683e516.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Oct 2012 12:16:00 -0000 On Fri, 12 Oct 2012 11:34:17 +0000 (UTC), jb wrote: > Polytropon edvax.de> writes: > > > > > On Fri, 12 Oct 2012 04:35:43 +0000 (UTC), jb wrote: > > > Hi, > > > what is the diff between > > > --index > > > and > > > --index-only > > ... > > --index > > use INDEX-[7-9] exclusively to check if a port is up to date > > ... > > --index-only > > do not try to use /usr/ports. For updating ports when no /usr/ports > > directory is present the -PP|--packages-only option is required. See > > the ENVIRONMENT section below for additional requirements. > > > > This means --index-only is to be used when using portmaster for > > binary installs without an installed ports collection. > > > > Well, yes, BUT they seem to be redundant (that's why I asked). > > # portmaster -L --index-only | egrep '(ew|ort) version|total install' > ===>>> New version available: smartmontools-5.43_1 > ===>>> 618 total installed ports > ===>>> 1 has a new version available > > # portmaster -L --index | egrep '(ew|ort) version|total install' > ===>>> New version available: smartmontools-5.43_1 > ===>>> 618 total installed ports > ===>>> 1 has a new version available > # Did you test this with or _without_ an actually installed ports collection? If you don't have one installed, --index probably won't work. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...