From owner-freebsd-current@freebsd.org Wed Apr 20 06:54:19 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E530B15F58 for ; Wed, 20 Apr 2016 06:54:19 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0D2C512BF; Wed, 20 Apr 2016 06:54:18 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-252-92.lns20.per4.internode.on.net [121.45.252.92]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id u3K6sDZY021685 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 19 Apr 2016 23:54:16 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: [CFT] packaging the base system with pkg(8) To: Daniel Eischen , Allan Jude References: <20160302235429.GD75641@FreeBSD.org> <57152CE5.5050500@FreeBSD.org> <9D4B9C8B-41D7-42BC-B436-D23EFFF60261@ixsystems.com> <20160418191425.GW1554@FreeBSD.org> <571533B8.6090109@freebsd.org> <20160418194010.GX1554@FreeBSD.org> <57153E80.4080800@FreeBSD.org> <571551AB.4070203@freebsd.org> <5715772A.3070306@freebsd.org> <571588BB.2070803@orthanc.ca> <201604190201.u3J216NQ054020@orthanc.ca> <5715968B.303@orthanc.ca> <5715A338.5060009@freebsd.org> <57165C91.7070005@freebsd.org> <57166870.5060104@FreeBSD.org> <201604191755.u3JHtbfS020358@l.mx.sonic.net> <5716775A.2000401@freebsd.org> <5d0fa087-e04a-f775-676c-cc81fdf6c0ab@pinyon.org> <5717140F.7040808@freebsd.org> Cc: freebsd-current@freebsd.org From: Julian Elischer Message-ID: <5717278F.7030507@freebsd.org> Date: Wed, 20 Apr 2016 14:54:07 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2016 06:54:19 -0000 On 20/04/2016 2:25 PM, Daniel Eischen wrote: > On Wed, 20 Apr 2016, Allan Jude wrote: > >> On 2016-04-20 01:12, Daniel Eischen wrote: >>> >>> For one of our Solaris 11 boxes, which also serves as a VNC >>> thin client server and NFS server, we have: >>> >>> [sol11] $ pkg list | wc -l >>> 968 >>> >>> That server includes the gnome desktop, firefox, thunderbird, >>> perl, python, wireshark, CDR tools, etc. So arguably, it is >>> comparable to my FreeBSD desktop at home with KDE, firefox, >>> thunderbird, and similar tools. For that FreeBSD box, and >>> just for ports packages (since I don't have base pkg'd): >>> >>> [freebsd11] $ pkg info | wc -l >>> 865 >>> >>> [And it really bothers me that FreeBSD 'pkg list' behaves >>> like 'pkg files' or similar should. It seems intuitive >>> that 'pkg list' should list the packages, not all the files >>> in all the packages.] >>> >>> If you add in 750+ FreeBSD base packages (1600+), that seems >>> like a very large number of packages. And upgrading ports >>> packages is not always painless. For the 865 FreeBSD packages >>> I have installed, only 27 of them are explicit - the rest are >>> dependencies. I do not look forward to updating my packages, >>> even with poudriere. There is usually manual intervention >>> required. So it is with this experience that I do sort of >>> cringe at having 750+ FreeBSD base packages. >>> >>> I do like maintaining Solaris 11 boxes much better with their >>> pkg management, much better than the old patchadm. >>> >> >> does 'pkg prime-list' give you watch you are looking for? (pkgs you >> explicitly installed) > > pkg prime-list does show the explicitly installed packages, > not sure how one would know to use 'prime-list' since it > doesn't appear in any of the man pages (looking at FreeBSD > 10-stable right now). And it doesn't show version information, > nor other option arguments that I can tell. pkg help prime-list > says it's just an alias for "query -e '%a = 0' '%n'". Seems > like "query -e '%a = 0' '%n\t%v\t%o'" is a little nicer, > though I'm not sure how to get all the columns to line up > nicely. equally missing from help is 'pkg leaf' These show that information needed is available.. it just needs to be presented right.