Pkg seems to be broken on 11RC3. I try to install packages like vim-lite or puppet38 and it fails with the error below. I was able to install vim-lite by downloading the package file with fetch and running "pkg add" on it, so something in the verification is broken. pkg version is 1.8.7_1 root@pkg:/var/cache/pkg # pkg install puppet38 Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. Updating database digests format: 100% The following 15 package(s) will be affected (of 0 checked): New packages to be INSTALLED: puppet38: 3.8.6 rubygem-facter: 2.4.4 ruby22-gems: 2.6.4 ruby: 2.2.5,1 libyaml: 0.1.6_2 libffi: 3.2.1 indexinfo: 0.2.4 libedit: 3.1.20150325_2,1 dmidecode: 3.0 rubygem-hiera1: 1.3.4_1 rubygem-json_pure: 1.8.3 rubygem-ruby-augeas: 0.5.0_2 libxml2: 2.9.4 augeas: 1.4.0 readline: 6.3.8 Number of packages to be installed: 15 The process will require 65 MiB more space. 13 MiB to be downloaded. Proceed with this action? [y/N]: y Fetching puppet38-3.8.6.txz: 100% 1 MiB 1.2MB/s 00:01 pkg: cached package puppet38-3.8.6: size mismatch, fetching from remote Fetching puppet38-3.8.6.txz: 100% 1 MiB 1.2MB/s 00:01 pkg: cached package puppet38-3.8.6: size mismatch, cannot continue root@pkg:/var/cache/pkg #
I had the same problem, and managed to work around it by running "pkg update -f".
You unluckily for you have hit the race during the publication process. There is nothing we can do about this :( on the pkg front, this is on clusteradm front When it happens, one should pkg update -f
(In reply to Baptiste Daroussin from comment #2) Yep, that fixed it. Thanks.