<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Benjamin,</p>
    <p>Are you by any chance fetching the 1.27.0-1/1.26.1-1 versions of
      the packages and their corresponding sources?</p>
    <p>Indeed, we had a bit of a mishap when publishing them leading to
      the errors you're seeing:</p>
    <p>ubuntu22:~/src$ apt-get source nginx=1.27.0-1~jammy<br>
      Reading package lists... Done<br>
      Skipping already downloaded file 'nginx_1.27.0-1~jammy.dsc'<br>
      Skipping already downloaded file
      'nginx_1.27.0-1~jammy.debian.tar.xz'<br>
      Need to get 1247 kB of source archives.<br>
      Get:1 <a class="moz-txt-link-freetext" href="http://nginx.org/packages/mainline/ubuntu">http://nginx.org/packages/mainline/ubuntu</a> jammy/nginx nginx
      1.27.0-1~jammy (tar) [1247 kB]<br>
      Err:1 <a class="moz-txt-link-freetext" href="http://nginx.org/packages/mainline/ubuntu">http://nginx.org/packages/mainline/ubuntu</a> jammy/nginx nginx
      1.27.0-1~jammy (tar)<br>
        File has unexpected size (1244887 != 1246820). Mirror sync in
      progress?</p>
    <p>...</p>
    <p>However, they were fixed for 1.27.0-2/1.26.1-2 versions:</p>
    <p>ubuntu22:~/src$ apt-get source nginx=1.27.0-2~jammy<br>
      Reading package lists... Done<br>
      Need to get 1371 kB of source archives.<br>
      Get:1 <a class="moz-txt-link-freetext" href="http://nginx.org/packages/mainline/ubuntu">http://nginx.org/packages/mainline/ubuntu</a> jammy/nginx nginx
      1.27.0-2~jammy (dsc) [1504 B]<br>
      Get:2 <a class="moz-txt-link-freetext" href="http://nginx.org/packages/mainline/ubuntu">http://nginx.org/packages/mainline/ubuntu</a> jammy/nginx nginx
      1.27.0-2~jammy (tar) [1245 kB]<br>
      Get:3 <a class="moz-txt-link-freetext" href="http://nginx.org/packages/mainline/ubuntu">http://nginx.org/packages/mainline/ubuntu</a> jammy/nginx nginx
      1.27.0-2~jammy (diff) [124 kB]<br>
      Fetched 1371 kB in 2s (849 kB/s)<br>
      dpkg-source: info: extracting nginx in nginx-1.27.0<br>
      dpkg-source: info: unpacking nginx_1.27.0.orig.tar.gz<br>
      dpkg-source: info: unpacking nginx_1.27.0-2~jammy.debian.tar.xz<br>
    </p>
    <p>Note that apt-get source nginx should also be fine since it will
      automatically fetch the latest version too.</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 12/08/2024 12:21 AM, FERRON,
      BENJAMIN via nginx wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:DU0PR10MB5921BA31BE5251433097886BFB852@DU0PR10MB5921.EURPRD10.PROD.OUTLOOK.COM">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator"
        content="Microsoft Word 15 (filtered medium)">
      <style>@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:Aptos;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Aptos",sans-serif;
        mso-ligatures:standardcontextual;
        mso-fareast-language:EN-US;}a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#467886;
        text-decoration:underline;}.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}div.WordSection1
        {page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"
            lang="EN-US">Hi,<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"
            lang="EN-US">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:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"
            lang="EN-US">E: Failed to fetch
          </span><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"><a
href="http://nginx.org/packages/mainline/debian/pool/nginx/n/nginx/nginx_1.27.0.orig.tar.gz"
              moz-do-not-send="true"><span lang="EN-US">http://nginx.org/packages/mainline/debian/pool/nginx/n/nginx/nginx_1.27.0.orig.tar.gz</span></a></span><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"
            lang="EN-US"> File has unexpected size (1244887 != 1246820).
            Mirror sync in progress?<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"
            lang="EN-US">Hashes of expected file:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"
            lang="EN-US">SHA256:47cfe9d878694e553c1beff3db439dadb5fe3b30318be6062bf71d4f2e8df788<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"
            lang="EN-US">Filesize:1246820 [weak]<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"
            lang="EN-US">SHA1:13f8f915966217c9de583705759f4d4f74d0bf74
            [weak]<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"
            lang="EN-US">MD5Sum:a50c8dbc4a84bebe6ccb00bbc8729539 [weak]<br>
            <br>
            This also happens with 1.26.1 on stable. 1.26.0 is OK.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"
            lang="EN-US">E: Failed to fetch
          </span><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"><a
href="http://nginx.org/packages/debian/pool/nginx/n/nginx/nginx_1.26.1.orig.tar.gz"
              target="_blank" moz-do-not-send="true"><span lang="EN-US">http://nginx.org/packages/debian/pool/nginx/n/nginx/nginx_1.26.1.orig.tar.gz</span></a><span
              lang="EN-US"> File has unexpected size (1244738 !=
              1246685). Mirror sync in progress? <br>
              Hashes of expected file: <br>
SHA256:b2298046687cc4311b9c2d4e82507f2732b98de421099f92d35bfdf7cc2c07a7
              Filesize:1246685 [weak]
              SHA1:bdfd2897d48a08ca9ad4294c221b465b0e804fc7 [weak]
              <br>
              MD5Sum:f6617d1cbc861671fa4a2b916cd7a808 [weak] <br>
              E: Failed to fetch some archives.<o:p></o:p></span></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"
            lang="EN-US">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?<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif"
            lang="EN-US">Thanks for your help :)
            <o:p></o:p></span></p>
        <p class="MsoNormal"
          style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black;mso-ligatures:none;mso-fareast-language:FR"
            lang="EN-US">With best regards,<br>
            Benjamin</span><span lang="EN-US"><o:p></o:p></span></p>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
nginx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nginx@nginx.org">nginx@nginx.org</a>
<a class="moz-txt-link-freetext" href="https://mailman.nginx.org/mailman/listinfo/nginx">https://mailman.nginx.org/mailman/listinfo/nginx</a>
</pre>
    </blockquote>
  </body>
</html>