From owner-freebsd-questions@FreeBSD.ORG Thu Dec 29 05:56:26 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 592631065670 for ; Thu, 29 Dec 2011 05:56:26 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id 2B6F08FC0A for ; Thu, 29 Dec 2011 05:56:25 +0000 (UTC) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.14.3/8.14.3) with ESMTP id pBT4wK2U004302 for ; Wed, 28 Dec 2011 22:58:20 -0600 (CST) Date: Wed, 28 Dec 2011 22:58:20 -0600 (CST) From: Scott Bennett Message-Id: <201112290458.pBT4wK5t004301@mp.cs.niu.edu> To: freebsd-questions@freebsd.org Subject: "portmaster --list-origins" question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 05:56:26 -0000 [N.B. Please reply directly or Cc: me in any replies. I read -questions in the digest form, so there can be a delay of a day or more before I see replies posted only to the list. Thanks.] I was in the process of preparing to upgrade from 7.4 to 8.2 (at last!), when I encountered a possible problem. Following the portmaster man page's suggestion to use portmaster's --list-origins option to produce a list of installed ports in the form "category-dir/port-name-dir", I got a list that was much shorter than expected. I use windowmaker as a window manager and have quite a few windowmaker-related ports installed. Only one of those related ports appeared in the portmaster output, and windowmaker itself was absent, so I looked at the numbers next. Script started on Wed Dec 28 22:39:21 2011 [hellas] 101 % nice +20 portmaster --list-origins > /tmp/ports.list [hellas] 102 % wc -l /tmp/ports.list 782 /tmp/ports.list [hellas] 103 % ls /var/db/pkg|wc -l 2035 [hellas] 104 % exit exit Script done on Wed Dec 28 22:41:27 2011 As you can see above, 1253 ports, or ~62% of those installed, are missing from the portmaster output, whereas I had expected that *all* installed ports would be listed. Did I misunderstand something about the --list-origins option? Or have I run into a bug? Any suggestions of how to proceed would be welcome. Thanks! Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * **********************************************************************