portmaster options

Polytropon freebsd at edvax.de
Fri Oct 12 12:16:00 UTC 2012


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, ...


More information about the freebsd-questions mailing list