pkg upgrade?
Matthew Seaman
matthew at FreeBSD.org
Mon Dec 3 06:33:05 UTC 2012
On 02/12/2012 21:51, Walter Hurry wrote:
> Copied from terminal and pasted here:
> --------------------------------------------------------------
> $ sudo pkg upgrade
> Updating repository catalogue
> Repository catalogue is up-to-date, no need to fetch fresh copy
> The following packages will be upgraded:
>
> Upgrading gcc: 4.6.4.20121102 -> 4.6.4.20121123
>
> The installation will free 1 GB
>
> 88 MB to be downloaded
>
> Proceed with upgrading packages [y/N]: y
> gcc-4.6.4.20121123.txz 100% 88MB 6.8MB/s 6.0MB/s
> 00:13
> Checking integrity... done
> Upgrading gcc from 4.6.4.20121102 to 4.6.4.20121123... done
> $
> --------------------------------------------------------------
> OK, fine. But what's this about 1GB being freed?
That's what pkg has calculated as the change in disk space usage
resulting from replacing one version by another. It certainly looks
suspicious on the face of it: given the package size of 88MB and
presuming the previous package wasn't orders of magnitude different in
size it's hard to see where that size of change would come from.
Do you still have the gcc-4.6.4.20121102 package around look in
/var/cache/pkg/All)? Can you try
pkg info -s -F gcc-4.6.4.20121102.txz
and
pkg info -s -F gcc-4.6.4.20121123.txz
please?
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 266 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20121203/93f94e01/attachment.sig>
More information about the freebsd-questions
mailing list