pkg: cached package size mismatch, cannot continue

Michael Gmelin grembo at freebsd.org
Mon Aug 4 18:40:07 UTC 2014



> On 04 Aug 2014, at 20:32, Craig Rodrigues <rodrigc at freebsd.org> 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?

Try 

pkg update -f


> 
> --
> 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