Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2012 12:28:02 +0000 (UTC)
From:      jb <jb.1234abcd@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: portmaster options
Message-ID:  <loom.20121012T142114-671@post.gmane.org>
References:  <loom.20121012T063245-859@post.gmane.org> <20121012131638.1683e516.freebsd@edvax.de> <loom.20121012T133039-471@post.gmane.org> <20121012141552.58f2b1dd.freebsd@edvax.de>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Polytropon <freebsd <at> edvax.de> writes:

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

# mv /usr/ports /usr/ports-saved

# portmaster -L --index-only | egrep '(ew|ort) version|total install'
/tmp/d-85964-index/INDEX-9.bz2                100% of 1619 kB  185 kBps
	===>>> 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'
/tmp/d-87852-index/INDEX-9.bz2                100% of 1619 kB  125 kBps 00m00s
Terminated
#

Well, the second entry outcome (with --index option) looks like a bug to me.
jb









Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?loom.20121012T142114-671>