From owner-freebsd-pkg@freebsd.org Mon Jan 21 18:53:59 2019 Return-Path: Delivered-To: freebsd-pkg@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 2537F14B3994 for ; Mon, 21 Jan 2019 18:53:59 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2a00:14b0:4200:32e0::1ea]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gilb.zs64.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CA2FE71B4A for ; Mon, 21 Jan 2019 18:53:57 +0000 (UTC) (envelope-from stb@lassitu.de) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id 3B5972062AA for ; Mon, 21 Jan 2019 18:53:55 +0000 (UTC) From: Stefan Bethke Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: pkg: cached package php72-pear-Net_SMTP-1.8.1: size mismatch, cannot continue Message-Id: <0F896E2C-E9EC-4C82-9693-EFCCFF0081C1@lassitu.de> Date: Mon, 21 Jan 2019 19:53:53 +0100 To: freebsd-pkg@freebsd.org X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: CA2FE71B4A X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of stb@lassitu.de designates 2a00:14b0:4200:32e0::1ea as permitted sender) smtp.mailfrom=stb@lassitu.de X-Spamd-Result: default: False [0.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.20)[-0.201,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pkg@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.32)[-0.319,0]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[gilb.zs64.net]; DMARC_NA(0.00)[lassitu.de]; NEURAL_SPAM_SHORT(0.69)[0.688,0]; IP_SCORE(0.09)[ipnet: 2a00:14b0::/32(0.24), asn: 13135(0.19), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13135, ipnet:2a00:14b0::/32, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2019 18:53:59 -0000 I=E2=80=99m having trouble installing packages from the official repo on = a 12-stable system: # pkg install php72-pear-Net_SMTP Updating FreeBSD repository catalogue... FreeBSD repository is up to date. Updating zs64 repository catalogue... zs64 repository is up to date. All repositories are up to date. The following 3 package(s) will be affected (of 0 checked): New packages to be INSTALLED: php72-pear-Net_SMTP: 1.8.1 [FreeBSD] php72-pear-Net_Socket: 1.0.14 [FreeBSD] php72-pear: 1.10.6 [FreeBSD] Number of packages to be installed: 3 The process will require 2 MiB more space. 269 KiB to be downloaded. Proceed with this action? [y/N]: y [1/3] Fetching php72-pear-Net_SMTP-1.8.1.txz: 100% 15 KiB 15.3kB/s = 00:01 =20 pkg: cached package php72-pear-Net_SMTP-1.8.1: size mismatch, fetching = from remote [2/3] Fetching php72-pear-Net_SMTP-1.8.1.txz: 100% 15 KiB 15.3kB/s = 00:01 =20 pkg: cached package php72-pear-Net_SMTP-1.8.1: size mismatch, cannot = continue Is there a way to find out from where pkg is trying to download the = file? I=E2=80=99ve resorted to Wireshark. Manually downloading the file = appears to produce the result: # fetch = http://pkgmir.geo.freebsd.org/FreeBSD:12:amd64/latest/All/php72-pear-Net_S= MTP-1.8.1.txz php72-pear-Net_SMTP-1.8.1.txz 14 kB 177 kBps = 00s # sha256 php72-pear-Net_SMTP-1.8.1.txz=20 SHA256 (php72-pear-Net_SMTP-1.8.1.txz) =3D = 153c07c431efc3f3181a637ca760d73fd880c6c78a38b37ef2afb4df5e1ac944 On another 12-stable system where I=E2=80=99m not having these issues I = see: # sha256 /var/cache/pkg/php72-pear-Net_SMTP-1.8.1.txz=20 SHA256 (/var/cache/pkg/php72-pear-Net_SMTP-1.8.1.txz) =3D = 153c07c431efc3f3181a637ca760d73fd880c6c78a38b37ef2afb4df5e1ac944 What=E2=80=99s happening? Stefan --=20 Stefan Bethke Fon +49 151 14070811