Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jul 2021 18:31:37 +0200
From:      Philipp Ost <pj@smo.de>
To:        ports@freebsd.org
Cc:        pkg@freebsd.org
Subject:   Fetching pkg-1.17.1 fails due to size mismatch
Message-ID:  <1d97d3e8-d9d1-8669-32f0-748e062080f5@smo.de>

next in thread | raw e-mail | index | archive | help
Fetching pkg-1.17.1 fails because of a size mismatch:

===>  License BSD2CLAUSE accepted by the user
=> freebsd-pkg-1.17.1_GH0.tar.gz doesn't seem to exist in 
/usr/ports/distfiles/.
=> Attempting to fetch 
https://codeload.github.com/freebsd/pkg/tar.gz/1.17.1?dummy=/freebsd-pkg-1.17.1_GH0.tar.gz
fetch: 
https://codeload.github.com/freebsd/pkg/tar.gz/1.17.1?dummy=/freebsd-pkg-1.17.1_GH0.tar.gz: 
size mismatch: expected 3894495, actual 3894598
=> Attempting to fetch 
http://distcache.FreeBSD.org/ports-distfiles/freebsd-pkg-1.17.1_GH0.tar.gz
fetch: 
http://distcache.FreeBSD.org/ports-distfiles/freebsd-pkg-1.17.1_GH0.tar.gz: 
Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/ports-mgmt/pkg
*** Error code 1

Stop.


This patch fixes it for me:
diff --git a/ports-mgmt/pkg/distinfo b/ports-mgmt/pkg/distinfo
index fe65047a7b2a..3dbdb55df4a4 100644
--- a/ports-mgmt/pkg/distinfo
+++ b/ports-mgmt/pkg/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1627401049
-SHA256 (freebsd-pkg-1.17.1_GH0.tar.gz) = 
288e4470503ddbaa9f0d75106b972e2e5860aa282c6891ab641530c3aa3dd8ee
-SIZE (freebsd-pkg-1.17.1_GH0.tar.gz) = 3894495
+TIMESTAMP = 1627402711
+SHA256 (freebsd-pkg-1.17.1_GH0.tar.gz) = 
26d61f014f9400c0fbe45862504f8dee80ae715a9a80717dba8a76ebf6b6d877
+SIZE (freebsd-pkg-1.17.1_GH0.tar.gz) = 3894598




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1d97d3e8-d9d1-8669-32f0-748e062080f5>