From owner-freebsd-questions@freebsd.org Tue Oct 30 01:52:32 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1B5CF10F49EA for ; Tue, 30 Oct 2018 01:52:32 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by mx1.freebsd.org (Postfix) with ESMTP id 55C166B3E1 for ; Tue, 30 Oct 2018 01:52:30 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from unknown (HELO leader.local) ([118.211.103.151]) by ipmail06.adl6.internode.on.net with ESMTP; 30 Oct 2018 12:17:18 +1030 Subject: Re: pkg will not upgrade To: freebsd-questions@freebsd.org References: <86e4e49f3364d7e16f07185a8e34354a.squirrel@webmail.harte-lyne.ca> From: Shane Ambler Message-ID: <9f8736d5-d446-0592-e019-b95041e12c37@ShaneWare.Biz> Date: Tue, 30 Oct 2018 12:17:15 +1030 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <86e4e49f3364d7e16f07185a8e34354a.squirrel@webmail.harte-lyne.ca> Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2018 01:52:32 -0000 On 30/10/18 5:45 am, James B. Byrne via freebsd-questions wrote: > 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 mx31.harte-lyne.ca would be your local pkg repo build machine? The size mismatch would indicate that either its pkg database is incorrect or it is still in the process of building the packages and hasn't got to update its database yet. > 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. > Your jail is running 11.1 and your pkgs are built for -- 11.2? or is in the process of rebuilding for 11.2. -- FreeBSD - the place to B...Software Developing Shane Ambler