From owner-freebsd-questions@freebsd.org Tue Oct 30 04:38:52 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 9BE7410D31D5 for ; Tue, 30 Oct 2018 04:38:52 +0000 (UTC) (envelope-from mapsware@prodigy.net.mx) Received: from tmsmtp04oc.mail2world.com (tmsmtp04oc.mail2world.com [209.67.128.157]) by mx1.freebsd.org (Postfix) with ESMTP id 2FCFF717DC for ; Tue, 30 Oct 2018 04:38:52 +0000 (UTC) (envelope-from mapsware@prodigy.net.mx) Received: from mail pickup service by tmsmtp04oc.mail2world.com with Microsoft SMTPSVC; Mon, 29 Oct 2018 21:41:46 -0700 X-CTCH-Spam: Unknown auth-sender: mapsware@prodigy.net.mx Received: from 189.173.87.216 unverified ([189.173.87.216]) by tmsmtp04oc.mail2world.com with Mail2World SMTP Server; Mon, 29 Oct 2018 21:41:44 -0700 Date: Mon, 29 Oct 2018 21:38:36 -0700 From: Martin Paredes To: freebsd-questions@freebsd.org Cc: byrnejb@harte-lyne.ca Subject: Re: pkg will not upgrade Message-ID: <20181029213836.2454c79f@morena.maps.net> In-Reply-To: <86e4e49f3364d7e16f07185a8e34354a.squirrel@webmail.harte-lyne.ca> References: <86e4e49f3364d7e16f07185a8e34354a.squirrel@webmail.harte-lyne.ca> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; i386-portbld-freebsd11.1) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 30 Oct 2018 04:41:46.0695 (UTC) FILETIME=[DD64ED70:01D4700A] 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 04:38:52 -0000 El Mon, 29 Oct 2018 15:15:59 -0400 "James B. Byrne via freebsd-questions" escribi=F3: > In a Freebsd-11.1p15 jail I am trying to upgrade the packages. > However >=20 > pkg upgrade > . . . > Installed packages to be REINSTALLED: > tree-1.7.0 (option added: DOCS) > lzop-1.04 (option added: DOCS) >=20 > Number of packages to be upgraded: 27 > Number of packages to be reinstalled: 2 >=20 > The process will require 2 MiB more space. > 2 MiB to be downloaded. >=20 > Proceed with this action? [y/N]: y > [mx31.harte-lyne.ca] [1/3] Fetching clamav-0.100.2.txz: 100% 1 MiB=20 > 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 >=20 > 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. >=20 Your problem is "size mismatch", I resolved running as root the following pkg clean rm -rf /var/cache/pkg/* pkg update -f pkg upgrade --=20 Martin Paredes Hermosillo, Son. Mexico