Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 2014 14:49:26 -0400
From:      Adam McDougall <mcdouga9@egr.msu.edu>
To:        Craig Rodrigues <rodrigc@freebsd.org>
Cc:        ports <freebsd-ports@freebsd.org>
Subject:   Re: pkg: cached package size mismatch, cannot continue
Message-ID:  <20140804184926.GU53455@egr.msu.edu>
In-Reply-To: <CAG=rPVfF1PJ3X_LVGB2mKrWGddjFTCL=LXaWmhW6yU6yRkv=Uw@mail.gmail.com>
References:  <CAG=rPVfF1PJ3X_LVGB2mKrWGddjFTCL=LXaWmhW6yU6yRkv=Uw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 04, 2014 at 11:32:55AM -0700, Craig Rodrigues wrote:

  Hi,
  
  I install pkg-1.3.4 on my system.  I did this:
  
  pkg clean -a
  
  (I verified that /var/cache/pkg was empty)
  
  # pkg install automake
  Updating repository catalogue
  FreeBSD repository is up-to-date
  All repositories are up-to-date
  The following 2 packages will be affected (of 135 checked):
  
  New packages to be INSTALLED:
      automake: 1.14
      automake-wrapper: 20131203
  
  The process will require 2 MB more space
  434 KB to be downloaded
  
  Proceed with this action [y/N]: y
  Fetching automake-1.14.txz: 100% of 431
  KB
  pkg: cached package automake-1.14: size mismatch, fetching from remote
  Fetching automake-1.14.txz: 100% of 431
  KB
  pkg: cached package automake-1.14: size mismatch, cannot continue
  
  This seems to be happening for any package that I try to install.
  Any idea what the problem might be?
  
  --
  Craig

Rename /var/db/pkg/repo* (all of them) and try again.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140804184926.GU53455>