https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112012-07-27T07:53:43ZRuby Issue Tracking SystemRuby master - Bug #6797: The gz tarball for 1.9.3-p194 obtained via the official download URL is invalidhttps://redmine.ruby-lang.org/issues/6797?journal_id=284632012-07-27T07:53:43Znormalperson (Eric Wong)normalperson@yhbt.net
<ul></ul><p>"bourquep (Pascal Bourque)" <a href="mailto:pascal.bourque@gmail.com" class="email">pascal.bourque@gmail.com</a> wrote:</p>
<blockquote>
<p>~/Downloads: wget <a href="http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz" class="external">http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz</a><br>
Resolving ftp.ruby-lang.org... 221.186.184.68<br>
Connecting to ftp.ruby-lang.org|221.186.184.68|:80... connected.<br>
HTTP request sent, awaiting response... 200 OK<br>
Length: 60016640 (57M) [application/x-tar]<br>
Saving to: <code>ruby-1.9.3-p194.tar.gz' 2012-07-26 11:22:26 (28.2 MB/s) - </code>ruby-1.9.3-p194.tar.gz' saved [60016640/60016640]</p>
<p>~/Downloads: ls -l ruby-1.9.3-p194.tar.gz<br>
-rw-r--r-- 1 pascal staff 60016640 20 Apr 02:57 ruby-1.9.3-p194.tar.gz</p>
</blockquote>
<p>I think this is because Content-Encoding: gzip is set by the server.<br>
This causes wget to decompress the gzip'ed data (even though wget<br>
didn't request with Accept-Encoding: gzip).</p>
<p>You can try a different HTTP client which won't attempt to decompress<br>
blindly (or a different version/build of wget).</p> Ruby master - Bug #6797: The gz tarball for 1.9.3-p194 obtained via the official download URL is invalidhttps://redmine.ruby-lang.org/issues/6797?journal_id=284672012-07-27T11:28:02Zshyouhei (Shyouhei Urabe)shyouhei@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>=begin</p>
<p>Hello, I have direct access to the server.</p>
<p>zsh % ssh <a href="mailto:shyouhei@ftp.ruby-lang.org" class="email">shyouhei@ftp.ruby-lang.org</a><br>
The authenticity of host 'ftp.ruby-lang.org (221.186.184.68)' can't be established.<br>
RSA key fingerprint is 71:f5:f2:28:8b:e0:16:2c:38:0e:36:d3:5c:94:8a:17.<br>
Are you sure you want to continue connecting (yes/no)? yes<br>
Warning: Permanently added 'ftp.ruby-lang.org' (RSA) to the list of known hosts.<br>
Linux carbon 2.6.18-6-686 #1 SMP Fri Feb 19 23:40:03 UTC 2010 i686<br>
Last login: Thu Jul 5 14:18:15 2012 from ns.tokyo.netlab.jp<br>
shyouhei@carbon:~$ sha256sum /home/ftp/pub/ruby/1.9/ruby-1.9.3-p194.tar.*<br>
a9d1ea9eaea075c60048369a63b35b3b5a06a30aa214a3d990e0bb71212db8fa /home/ftp/pub/ruby/1.9/ruby-1.9.3-p194.tar.bz2<br>
46e2fa80be7efed51bd9cdc529d1fe22ebc7567ee0f91db4ab855438cf4bd8bb /home/ftp/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz</p>
<p>seems the file is correct. I bet you have problems on your internet access, such as wget(1).</p>
<p>=end</p>