Need a reality check: "portmaster --list-origins" misses entries?

David Wolfskill david at catwhisker.org
Fri Sep 14 22:38:02 UTC 2012


I am tentatively planning on rebuilding the installed ports on my laptop
under stable/9 (vs. their current stable/8) on Sunday, to take advantage
of several hours of travel time expected.

In preparation for this, I was reviewing the steps listed at the end of
portmaster(8) "Using portmaster to do a complete reinstallation of all
your ports" (which I have used to good effect in the past -- e.g., in
the migration from 7-STABLE to 8-STABLE).

As a reality check, I created the output of "portmaster --list-origins",
with the intent to re-order the entries (and remove several that were
brought in merely as dependencies -- and that I'd happily do without,
were it feasible).

I was thus surprised to fail to find "subversion" listed; a further
reality check showed that the output was (only) 181 lines long; compare:

d134(9.1-P)[8] portmaster --list-origins | wc -l
     181
d134(9.1-P)[9] ls /var/db/pkg/ | wc -l
     796
d134(9.1-P)[10] find /var/db/pkg -type f -name +CONTENTS -print0 | xargs -0 grep -hw ORIGIN | sed -e 's/^@comment ORIGIN://' | wc -l
     796
d134(9.1-P)[11] 

The machine in question was running:

FreeBSD g1-227.catwhisker.org 8.3-STABLE FreeBSD 8.3-STABLE #453 240462M: Thu Sep 13 04:25:26 PDT 2012     root at g1-227.catwhisker.org:/common/S1/obj/usr/src/sys/CANARY  i386

when the ports were last updated, and is presently running:

FreeBSD g1-227.catwhisker.org 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #245 240493M: Fri Sep 14 05:13:23 PDT 2012     root at g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY  i386


My ports tree is at r304266; the installed ports are all up-to-date
with respect to that.

Aam I doing something obviously silly or stupid?

Thanks....

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20120914/b2d6985a/attachment.pgp


More information about the freebsd-ports mailing list