Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Sep 2012 15:38:00 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        freebsd-ports@freebsd.org
Subject:   Need a reality check: "portmaster --list-origins" misses entries?
Message-ID:  <20120914223800.GG3357@albert.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--TEyYHhObRMSWBg6q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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]=20

The machine in question was running:

FreeBSD g1-227.catwhisker.org 8.3-STABLE FreeBSD 8.3-STABLE #453 240462M: T=
hu Sep 13 04:25:26 PDT 2012     root@g1-227.catwhisker.org:/common/S1/obj/u=
sr/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 24=
0493M: Fri Sep 14 05:13:23 PDT 2012     root@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
--=20
David H. Wolfskill				david@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.

--TEyYHhObRMSWBg6q
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlBTsccACgkQmprOCmdXAD2SgACeMFPltUJjmJRP/FfTXQCSEt6q
6iUAnRlp26Y4+T4iDJzt1r8OLVZLUzQ2
=rHQa
-----END PGP SIGNATURE-----

--TEyYHhObRMSWBg6q--



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