From owner-freebsd-questions@FreeBSD.ORG Mon Dec 3 18:19:16 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7F3D67F4 for ; Mon, 3 Dec 2012 18:19:16 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 2B55B8FC0C for ; Mon, 3 Dec 2012 18:19:15 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Tfac0-0001VB-Fg for freebsd-questions@freebsd.org; Mon, 03 Dec 2012 19:19:24 +0100 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Dec 2012 19:19:24 +0100 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Dec 2012 19:19:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: pkg upgrade? Date: Mon, 3 Dec 2012 18:18:57 +0000 (UTC) Lines: 49 Message-ID: References: <50BC4790.5010707@FreeBSD.org> <50BCCA1C.7010800@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2012 18:19:16 -0000 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?