pkg upgrade?

Walter Hurry walterhurry at gmail.com
Mon Dec 3 18:19:16 UTC 2012


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?



More information about the freebsd-questions mailing list