pkg install package size mismatch

Sean Bruno sbruno at freebsd.org
Sat Mar 16 16:53:35 UTC 2019



On 3/15/19 4:17 PM, Karel Gardas wrote:
> Hello,
> 
> I'm running up-to-date 13.0-current on PowerKVM and while trying to
> install cmake I've hit "size mismatch" error. My guess is that pkg tries
> to contact repo mirror not fully updated yet or not fully in-sync.
> However I'm just FreeBSD beginner so I'd like to ask if there are other
> explanations for this error, especially if there may be some mistake on
> user side. Whole error output is provided below.
> 
> Thanks,
> Karel
> 
> 
> # pkg install cmake
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up to date.
> All repositories are up to date.
> The following 9 package(s) will be affected (of 0 checked):
> 
> New packages to be INSTALLED:
>         cmake: 3.13.4
>         rhash: 1.3.5
>         curl: 7.64.0_1
>         libnghttp2: 1.36.0
>         libuv: 1.26.0
>         jsoncpp: 1.8.1_6
>         libarchive: 3.3.3,1
>         lzo2: 2.10_1
>         liblz4: 1.8.3,1
> 
> Number of packages to be installed: 9
> 
> The process will require 38 MiB more space.
> 7 MiB to be downloaded.
> 
> Proceed with this action? [y/N]: y
> [1/9] Fetching cmake-3.13.4.txz: 100%    4 MiB   2.3MB/s    00:02
> pkg: cached package cmake-3.13.4: size mismatch, fetching from remote
> [2/9] Fetching cmake-3.13.4.txz: 100%    4 MiB   2.3MB/s    00:02
> pkg: cached package cmake-3.13.4: size mismatch, cannot continue
> 
> _______________________________________________
> freebsd-ppc at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe at freebsd.org"


If you do a "pkg update -f" and then a "pkg install cmake" does this fix
your problem?

sean

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ppc/attachments/20190316/85d642d7/attachment.sig>


More information about the freebsd-ppc mailing list