Bug 212949 - ports-mgmt/pkg broken on 11-RC3 - gives size verification error
Summary: ports-mgmt/pkg broken on 11-RC3 - gives size verification error
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-pkg (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-23 20:58 UTC by Joseph Mulloy
Modified: 2016-09-26 15:39 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Mulloy 2016-09-23 20:58:47 UTC
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 #
Comment 1 rebecca+freebsd@bluestop.org 2016-09-24 16:10:14 UTC
I had the same problem, and managed to work around it by running "pkg update -f".
Comment 2 Baptiste Daroussin freebsd_committer freebsd_triage 2016-09-25 07:56:19 UTC
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
Comment 3 Joseph Mulloy 2016-09-26 15:39:25 UTC
(In reply to Baptiste Daroussin from comment #2)

Yep, that fixed it. Thanks.