Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2012 18:18:57 +0000 (UTC)
From:      Walter Hurry <walterhurry@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: pkg upgrade?
Message-ID:  <k9iqeg$toh$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> <k9ij4g$mr6$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 03 Dec 2012 16:14:08 +0000, Walter Hurry wrote:

>
> pkg query against the .txz file in the cache appears to work though
>
It seems to have got the difference calculation right this time:
---------------------------------------------------------------
$ sudo pkg upgrade
Updating repository catalogue
repo.txz                            100%  260KB 260.5KB/s 260.5KB/s   
00:00    
The following packages will be upgraded:

	Upgrading tcl-modules: 8.5.12_2 -> 8.5.13
	Upgrading tcl: 8.5.12_2 -> 8.5.13
	Upgrading tk: 8.5.12 -> 8.5.13

The installation will require 7 kB more space

1 MB to be downloaded

Proceed with upgrading packages [y/N]: y
tcl-modules-8.5.13.txz              100%   45KB  45.3KB/s  45.3KB/s   
00:00    
tcl-8.5.13.txz                      100%  902KB 901.8KB/s 901.8KB/s   
00:00    
tk-8.5.13.txz                       100%  904KB 904.4KB/s 904.4KB/s   
00:00    
Checking integrity... done
Upgrading tcl-modules from 8.5.12_2 to 8.5.13... done
Upgrading tcl from 8.5.12_2 to 8.5.13... done
Upgrading tk from 8.5.12 to 8.5.13... done
$ cd /var/cache/pkg
$ sudo pkg query -F tk-8.5.12.txz %sb
5052562
$ sudo pkg query -F tk-8.5.13.txz %sb
5058022
$ sudo pkg query -F tcl-modules-8.5.12_2.txz %sb
171187
$ sudo pkg query -F tcl-modules-8.5.13.txz %sb
173149
$ sudo pkg query -F tcl-8.5.12_2.txz %sb
5971408
$ sudo pkg query -F tcl-8.5.13.txz %sb
5971395
$ 
---------------------------------------------------------------
I wonder if there is some kind of overflow problem with the calculations 
on larger packages?




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