Re: pkg install package size mismatch

Sean Bruno <[email protected]>
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]>

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
> 
> _______________________________________________
> [email protected] mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
> To unsubscribe, send any mail to "[email protected]"


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

sean
signature.asc (application/pgp-signature, 618 B)
-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEE6MTp+IA1BOHj9Lo0veT1/om1/LYFAlyNKgxfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEU4
QzRFOUY4ODAzNTA0RTFFM0Y0QkEzNEJERTRGNUZFODlCNUZDQjYACgkQveT1/om1
/LZ3NAgAt6DQEQz4HIyDJAKcHslX0DVWDcVVbPqoQiiEErisfMOJKhIBcI5L3d2C
zGVQ58YfN737McpHZ/3RrtyjEChjeWKayJ4kJe102RR6nFKjwOg+FCv/6wtLgKTS
LsMDlT2cHyKILZdf616m30ejx6kfCZaAQ7aghNNVVqMPXQ+L9ue//TfuuHLxhmlp
wG8jKhKvXOeolaQOcNLVpiS/u/XG1PDWUxSbGqV+4gIlzG1cdQUPZ4uo6URyLMkb
FXFTYgJPZo/kd+Hj9osI9Mw9SN6WAyBA8Gq1BBSGQsjZf/bvt1RnxA1ERSeQoFU7
WZbpN56SxEBTko2IfEJOq1cq6cCqrw==
=bnjN
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.