Date: Wed, 28 Dec 2011 22:58:20 -0600 (CST) From: Scott Bennett <bennett@cs.niu.edu> To: freebsd-questions@freebsd.org Subject: "portmaster --list-origins" question Message-ID: <201112290458.pBT4wK5t004301@mp.cs.niu.edu>
next in thread | raw e-mail | index | archive | help
[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 * **********************************************************************
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112290458.pBT4wK5t004301>