Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2012 22:10:10 +0000 (UTC)
From:      Walter Hurry <walterhurry@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: pkg upgrade?
Message-ID:  <k9j802$nj8$1@ger.gmane.org>
References:  <k9gigp$uqo$1@ger.gmane.org> <50BC4790.5010707@FreeBSD.org> <k9igqr$1ll$1@ger.gmane.org> <50BCCA1C.7010800@freebsd.org> <50BD10EF.3000601@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?k9j802$nj8$1>