From owner-freebsd-ports@freebsd.org Mon Oct 17 15:11:47 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ACBA2C15EDB for ; Mon, 17 Oct 2016 15:11:47 +0000 (UTC) (envelope-from rosti.bsd@gmail.com) Received: from mail-qk0-x22f.google.com (mail-qk0-x22f.google.com [IPv6:2607:f8b0:400d:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6F83C80A for ; Mon, 17 Oct 2016 15:11:47 +0000 (UTC) (envelope-from rosti.bsd@gmail.com) Received: by mail-qk0-x22f.google.com with SMTP id f128so230165431qkb.1 for ; Mon, 17 Oct 2016 08:11:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Ky54quQgWoVXC35sdMPkM+2TsO3HJosJbWORQvROf8o=; b=MBAMemWUih+k35DOPt+RFmVroJoWXX8fBaFx+/wTtHlx1V6gXq2rpB6OiUnr4alCo7 gt1cqvA6gtxut0oYdZeYhsXp+IQFC5b5Ln2qM2yJK4bvJ4SBBMNBDKOXnRxDyjOIzvwI /+Y+SPy30Z/9jLS0IUQ/OMj78r/dQQi7HjgrkfaHayFPrPe4NLt3OjoLejXADox0J8Tn G3GiPk4yl9Gbn1zRBylDiy7eNs9ms9QiiUSjSioDkAXfR7pMqR3e6t+DqrQzoKzIFA2Z JR4TI9r7scR/U0Dmd477dTXhREs5dhhA9Z+Ub3a7Pt/eouSu2B6Bmqiod3Tmu8yYhAQV MX0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Ky54quQgWoVXC35sdMPkM+2TsO3HJosJbWORQvROf8o=; b=ORBqaLvh5vCEq2C0SBAlkWcZ22LTVPANvsIIy4i6mN1v/0fk1XIxbzA8nj848LKm7i lZp/pBUtLWVTB/s30rLyFxWvE/6dMIUNEeS6Y6o/qtGm8m3fyWOL99P3liZKLKbLOJse VEQKFdbDr/C0zQiTg0AiISXJxjD4sTMm9nKj3D/gVqjr2dpsvdgqZuEb3190Ws/EVseG LfOhSYx6Auq7CiwYQ+clmPhPtDUvFkYeK6+/JK4KNzUYGXxwJaJWYTNpPhEWgBCyM4HE Ghx8x7IWD+nwIoYCpLR/pRcgaJKywf1qRijtjjHala01T62fHOGurceVyzvONaLVlgNI 3x2w== X-Gm-Message-State: AA6/9Rn0aBOkZCPtfyLpcXs5GwYPzAIbyH8TM3jQ82lRj1eGZ5+UHoviKb3HhE1XFgIKUSoHZqcegSPjXhP67A== X-Received: by 10.194.158.131 with SMTP id wu3mr2546145wjb.93.1476717106081; Mon, 17 Oct 2016 08:11:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.158.130 with HTTP; Mon, 17 Oct 2016 08:11:45 -0700 (PDT) In-Reply-To: References: From: Rostislav Krasny Date: Mon, 17 Oct 2016 18:11:45 +0300 Message-ID: Subject: Re: pkg: cached package size mismatch, again To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2016 15:11:47 -0000 On Mon, Oct 17, 2016 at 5:55 PM, Rostislav Krasny wrote: > Hi, > > I've a fresh FreeBSD 11.0 installed. When I try to install x11/kde4 by > pkg(8) it fails to install the very first dependency package: > > Fetching ktux-4.14.3.txz: 100% 117 KiB 119.7kB/s 00:01 > pkg: cached package ktux-4.14.3: size mismatch, fetching from remote > Fetching ktux-4.14.3.txz: 100% 117 KiB 119.7kB/s 00:01 > pkg: cached package ktux-4.14.3: size mismatch, cannot continue > > I found such a problem was already reported in this mailing list and > even fixed two years ago: > https://lists.freebsd.org/pipermail/freebsd-ports/2014-August/094447.html > > Unfortunately It happens again in FreeBSD 11.0. > > I didn't try "pkg update -f" yet and I don't have ports installed. > During the FreeBSD installation I also installed the local copy of the > Handbook. This procedure lead to the pkg(8) to be installed and also > installed the handbook package. Don't know if this information could > help you to understand the issue, though. The "pkg update -f" helped. But obviously there is some bug in the pkg(8).