Date: Mon, 21 Jan 2019 19:53:53 +0100 From: Stefan Bethke <stb@lassitu.de> To: freebsd-pkg@freebsd.org Subject: pkg: cached package php72-pear-Net_SMTP-1.8.1: size mismatch, cannot continue Message-ID: <0F896E2C-E9EC-4C82-9693-EFCCFF0081C1@lassitu.de>
index | next in thread | raw e-mail
I’m 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 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 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’ve 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_SMTP-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 SHA256 (php72-pear-Net_SMTP-1.8.1.txz) = 153c07c431efc3f3181a637ca760d73fd880c6c78a38b37ef2afb4df5e1ac944 On another 12-stable system where I’m not having these issues I see: # sha256 /var/cache/pkg/php72-pear-Net_SMTP-1.8.1.txz SHA256 (/var/cache/pkg/php72-pear-Net_SMTP-1.8.1.txz) = 153c07c431efc3f3181a637ca760d73fd880c6c78a38b37ef2afb4df5e1ac944 What’s happening? Stefan -- Stefan Bethke <stb@lassitu.de> Fon +49 151 14070811help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0F896E2C-E9EC-4C82-9693-EFCCFF0081C1>
