pkg upgrade?
Matthew Seaman
matthew at freebsd.org
Mon Dec 3 15:50:08 UTC 2012
On 03/12/2012 15:34, Walter Hurry wrote:
> $ sudo pkg info -s -F gcc-4.6.4.20121102.txz
> gcc-4.6.4.20121102 flat size is: 0 B
> gcc-4.6.4.20121102 package size is: 0 B
Ah. It turns out that querying any pkgng package directly for its
installed size always returns 0 at the moment. You'ld need to use the
repo catalogue to get some sort of reasonable answer. I can't remember
off hand if pkgs are meant to know what their installed size is; will
look into that tonight after work.
Recommend to use pkg search for querying repo catalogues rather than
using sqlite directly, but whatever.
Seems there is clearly a bug in calculating the change in disk space
usage -- looks like it's added the 500MB flatsize of both package
versions together rather than subtracting.
Cheers,
Matthew
More information about the freebsd-questions
mailing list