From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 22:10:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 89792409 for ; Mon, 3 Dec 2012 22:10:30 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 39DF38FC1E for ; Mon, 3 Dec 2012 22:10:29 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TfeDn-00082r-6V for freebsd-questions@freebsd.org; Mon, 03 Dec 2012 23:10:39 +0100 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Dec 2012 23:10:39 +0100 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Dec 2012 23:10:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: pkg upgrade? Date: Mon, 3 Dec 2012 22:10:10 +0000 (UTC) Lines: 28 Message-ID: References: <50BC4790.5010707@FreeBSD.org> <50BCCA1C.7010800@freebsd.org> <50BD10EF.3000601@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 22:10:30 -0000 On Mon, 03 Dec 2012 20:51:59 +0000, Matthew Seaman wrote: > Curious. I can't reproduce the problem on my dev system: > > worm:...cache/pkg/All:# pkg info -s -F git-1.7.11.5.txz git-1.7.11.5 > 10 MB > > I wonder... I'm using portmaster to build packages on my dev box, and > poudriere on my work machine. Could poudriere be at fault? > I think there's a problem with 'pkg info' irrespective of how the package is built. $ pkg info -s -F gcc-4.6.4.20121123.txz gcc-4.6.4.20121123 flat size is: 0 B gcc-4.6.4.20121123 package size is: 0 B $ pkg query -F gcc-4.6.4.20121123.txz %sh 567 MB $ It seems that 'pkg info' is looking at one measure, while 'pkg query' is looking at another. Maybe portmaster is populating both correctly, but poudriere is only doing one of the two. I'm using a straightforward 'pkg create' to build my package files, by the way. But why should there be two (apparently discrete) measures?