pkg will not upgrade

James B. Byrne byrnejb at harte-lyne.ca
Mon Oct 29 19:16:10 UTC 2018


In a Freebsd-11.1p15 jail I am trying to upgrade the packages.  However

pkg upgrade
. . .
Installed packages to be REINSTALLED:
	tree-1.7.0 (option added: DOCS)
	lzop-1.04 (option added: DOCS)

Number of packages to be upgraded: 27
Number of packages to be reinstalled: 2

The process will require 2 MiB more space.
2 MiB to be downloaded.

Proceed with this action? [y/N]: y
[mx31.harte-lyne.ca] [1/3] Fetching clamav-0.100.2.txz: 100%    1 MiB 
 1.2MB/s    00:01
pkg: cached package clamav-0.100.2: size mismatch, fetching from remote
[mx31.harte-lyne.ca] [2/3] Fetching clamav-0.100.2.txz:   3%   48 KiB 
49.2kB/s    00:[mx31.harte-lyne.ca] [2/3] Fetching clamav-0.100.2.txz:
100%    1 MiB   1.2MB/s    00:01
pkg: cached package clamav-0.100.2: size mismatch, cannot continue

I have already cleared the cache.  What is going on?  If I try to
update pkg itself then I get a warning that the kernel required for
the update is higher than the one running the jail; so don't do that.

-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3



More information about the freebsd-questions mailing list