nginx.org/packages: File has unexpected size (1244887 != 1246820)

FERRON, BENJAMIN benjamin.ferron at siemens.com
Mon Aug 12 19:43:03 UTC 2024


Hi Konstantin,

That was it :)
The internal build process was version locked on 1.27.0~1bookworm, with 1.27.0~2bookworm the issue is solved.

Thanks for you help!

Kind regards,
Benjamin

De : Konstantin Pavlov <thresh at nginx.com>
Envoyé : lundi 12 août 2024 19:25
À : nginx at nginx.org
Cc : FERRON, BENJAMIN (IT IPS SEO PCE) <benjamin.ferron at siemens.com>
Objet : Re: nginx.org/packages: File has unexpected size (1244887 != 1246820)


Hi Benjamin,

Are you by any chance fetching the 1.27.0-1/1.26.1-1 versions of the packages and their corresponding sources?

Indeed, we had a bit of a mishap when publishing them leading to the errors you're seeing:

ubuntu22:~/src$ apt-get source nginx=1.27.0-1~jammy
Reading package lists... Done
Skipping already downloaded file 'nginx_1.27.0-1~jammy.dsc'
Skipping already downloaded file 'nginx_1.27.0-1~jammy.debian.tar.xz'
Need to get 1247 kB of source archives.
Get:1 http://nginx.org/packages/mainline/ubuntu jammy/nginx nginx 1.27.0-1~jammy (tar) [1247 kB]
Err:1 http://nginx.org/packages/mainline/ubuntu jammy/nginx nginx 1.27.0-1~jammy (tar)
  File has unexpected size (1244887 != 1246820). Mirror sync in progress?

...

However, they were fixed for 1.27.0-2/1.26.1-2 versions:

ubuntu22:~/src$ apt-get source nginx=1.27.0-2~jammy
Reading package lists... Done
Need to get 1371 kB of source archives.
Get:1 http://nginx.org/packages/mainline/ubuntu jammy/nginx nginx 1.27.0-2~jammy (dsc) [1504 B]
Get:2 http://nginx.org/packages/mainline/ubuntu jammy/nginx nginx 1.27.0-2~jammy (tar) [1245 kB]
Get:3 http://nginx.org/packages/mainline/ubuntu jammy/nginx nginx 1.27.0-2~jammy (diff) [124 kB]
Fetched 1371 kB in 2s (849 kB/s)
dpkg-source: info: extracting nginx in nginx-1.27.0
dpkg-source: info: unpacking nginx_1.27.0.orig.tar.gz
dpkg-source: info: unpacking nginx_1.27.0-2~jammy.debian.tar.xz

Note that apt-get source nginx should also be fine since it will automatically fetch the latest version too.


On 12/08/2024 12:21 AM, FERRON, BENJAMIN via nginx wrote:
Hi,

I've been experiencing issues fetching the sources of nginx 1.27.0 (deb) from the nginx.org mainline package repository. We have a job that collect sources for clearing and the latest nginx runs have been blocked with the following error:

E: Failed to fetch http://nginx.org/packages/mainline/debian/pool/nginx/n/nginx/nginx_1.27.0.orig.tar.gz File has unexpected size (1244887 != 1246820). Mirror sync in progress?
Hashes of expected file:
SHA256:47cfe9d878694e553c1beff3db439dadb5fe3b30318be6062bf71d4f2e8df788
Filesize:1246820 [weak]
SHA1:13f8f915966217c9de583705759f4d4f74d0bf74 [weak]
MD5Sum:a50c8dbc4a84bebe6ccb00bbc8729539 [weak]

This also happens with 1.26.1 on stable. 1.26.0 is OK.

E: Failed to fetch http://nginx.org/packages/debian/pool/nginx/n/nginx/nginx_1.26.1.orig.tar.gz File has unexpected size (1244738 != 1246685). Mirror sync in progress?
Hashes of expected file:
SHA256:b2298046687cc4311b9c2d4e82507f2732b98de421099f92d35bfdf7cc2c07a7 Filesize:1246685 [weak] SHA1:bdfd2897d48a08ca9ad4294c221b465b0e804fc7 [weak]
MD5Sum:f6617d1cbc861671fa4a2b916cd7a808 [weak]
E: Failed to fetch some archives.

I've manually downloaded the archives on two different machines in different network setups and I get the same unexpected sizes. Could it be that something went wrong when these sources were uploaded?

Thanks for your help :)
With best regards,
Benjamin



_______________________________________________

nginx mailing list

nginx at nginx.org<mailto:nginx at nginx.org>

https://mailman.nginx.org/mailman/listinfo/nginx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20240812/09aec9e8/attachment.htm>


More information about the nginx mailing list