pkg: cached package size mismatch, cannot continue
Adam McDougall
mcdouga9 at egr.msu.edu
Mon Aug 4 18:49:35 UTC 2014
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.
More information about the freebsd-ports
mailing list