portmaster options
jb
jb.1234abcd at gmail.com
Fri Oct 12 12:28:14 UTC 2012
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
More information about the freebsd-questions
mailing list