Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2012 14:15:52 +0200
From:      Polytropon <freebsd@edvax.de>
To:        jb <jb.1234abcd@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: portmaster options
Message-ID:  <20121012141552.58f2b1dd.freebsd@edvax.de>
In-Reply-To: <loom.20121012T133039-471@post.gmane.org>
References:  <loom.20121012T063245-859@post.gmane.org> <20121012131638.1683e516.freebsd@edvax.de> <loom.20121012T133039-471@post.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 12 Oct 2012 11:34:17 +0000 (UTC), jb wrote:
> Polytropon <freebsd <at> 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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121012141552.58f2b1dd.freebsd>