On Fri, Jan 03, 2025 at 06:47:04PM +0100, Riccardo Mottola wrote: > download error: cairo-1.18.2 size does not match pkg_summary > > I just directly tried: > sudo pkg_add > http://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/10.1/All/subversion-base-1.14.4nb3.tgz
I just checked the files on the ftp server itself and all looks good there: pkg_summary has: PKGNAME=cairo-1.18.2 DEPENDS=fontconfig>=2.14.2nb3 DEPENDS=freetype2>=2.13.2nb1 DEPENDS=glib2>=2.76.4nb1 DEPENDS=lzo>=2.01 DEPENDS=pixman>=0.40.0nb3 DEPENDS=png>=1.6.0nb1 COMMENT=Vector graphics library with cross-device output support SIZE_PKG=1882567 BUILD_DATE=2025-01-03 03:10:31 +0000 [..] FILE_NAME=cairo-1.18.2.tgz FILE_SIZE=622168 and pkg_info -s cairo-1.18.2.tgz Information for cairo-1.18.2.tgz: Size of this package in bytes: 1882567 matches this, as well as the file size: ls -l cairo-1.18.2.tgz -rw-r--r-- 1 pkgmastr netbsd 622168 Jan 3 03:10 cairo-1.18.2.tgz This sounds like a broken cache file somewhere in the CDN, maybe pkgin would have worked if you had used the same URL? Martin