pkg: cached package size mismatch, cannot continue

Michael Gmelin grembo at freebsd.org
Mon Aug 4 21:27:31 UTC 2014



> On 04 Aug 2014, at 23:10, Craig Rodrigues <rodrigc at freebsd.org> wrote:
> 
>> On Mon, Aug 4, 2014 at 11:39 AM, Michael Gmelin <grembo at freebsd.org> wrote:
>> 
>> 
>> 
>>> On 04 Aug 2014, at 20:32, Craig Rodrigues <rodrigc at freebsd.org> wrote:
>>> 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?
>> 
>> Try
>> 
>> pkg update -f
> 
> 
> Hi,
> 
> That worked.  Thanks!
> I'm not sure what would have caused this problem.  This is a relatively new
> machine which I set up last week,
> and installed a bunch of packages via "pkg install".
> 
> The only thing I did different today was that I built and installed a few
> packages via ports under /usr/ports (updated with portsnap).
> 

Happened to me as well under 1.3.4 (my own repo). I didn't have time to look into it yet, but it happened after a package in the repo had been rebuilt (same version number, updated dependencies), so it might be a pkg bug.


> --
> Craig
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"


More information about the freebsd-ports mailing list