[ESS] ess-17.11-tgz is not compressed
Neil Shephard
n@heph@rd @end|ng |rom gm@||@com
Thu Dec 7 17:55:14 CET 2017
Ahha, thank you for your detailed sleuthing Martin, using the
--compression=none does indeed solve the issue here too.
$ wget --compression=none
http://ess.r-project.org/downloads/ess/ess-17.11.tgz
--2017-12-07 16:53:58--
http://ess.r-project.org/downloads/ess/ess-17.11.tgz
Resolving ess.r-project.org... 129.132.119.195
Connecting to ess.r-project.org|129.132.119.195|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3275703 (3.1M) [application/x-tar]
Saving to: ‘ess-17.11.tgz’
ess-17.11.tgz
100%[===========================================================================================>]
3.12M 7.12MB/s in 0.4s
2017-12-07 16:53:58 (7.12 MB/s) - ‘ess-17.11.tgz’ saved [3275703/3275703]
~/tmp/ess $ ls -l
total 3200
-rw-r--r-- 1 neil neil 3275703 Nov 13 14:13 ess-17.11.tgz
~/tmp/ess $ tar xzvf ess-17.11.tgz
ess-17.11/
ess-17.11/.dir-locals.el
ess-17.11/.gitignore
ess-17.11/COPYING
ess-17.11/ChangeLog
ess-17.11/LDA/
ess-17.11/LDA/README
ess-17.11/LDA/ex1.nw
ess-17.11/Makeconf
ess-17.11/Makefile
ess-17.11/OONEWS
ess-17.11/README.md
ess-17.11/RPM.spec.in
...
Thanks,
Neil
--
Natural selection is a mechanism for generating an exceedingly high degree
of improbability. - R.A. Fisher
Website - http://kimura.no-ip.info/
Photos - http://www.flickr.com/photos/slackline/
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: Mailvelope 0.11.0
Comment: Email security by Mailvelope - https://www.mailvelope.com
xsBNBFTUBsoBB/9T/YxWYV6AuM7Bi0N2/VC6gA5wtNVgk+BB9g3U9aSJzeqN
ePCeXwhSVlR5VybltPIV+gfM4dCvpaBZP5AVVQTty7GYPdghdNJW2ZFfO7QQ
LVA9zwJMK6BszrjTk/qaTRu2RiNLjLqVVLD6kF/8CrOYz7Z1oLm0MDgX3nGp
DuOQLotCO+abYvtj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M1VeYJT8
nlgedZ0x8lKM+d2jl4SvNTs0rB3FT3yjCjU0dr9YeokT5N46iNsSEcVr4DEm
168x69ZP1ki0G3TPMEkJ8bsgu/nCkxEW5XnN9g1c81ZFLoLrn/iTz28wrmvC
AAlba53E0JJ7Wsd3WtRfdZDHPGe1KRfinITCeauM5FwTtrCZNqyRVKshvuz4
26MPGRfK8kpkpqjbHDXq2Ld+2sbGCoOQ7pqQsHwpC0I5hrTvmG6ar3QG86R1
YfLJ4vJJVIL3UBpqQjH6eL8A+JxPxo7HSl1ezW32FlLhuwyxoPd3/CbB5MeJ
+Ts1HS5TT5Ni7A==
=9T81
-----END PGP PUBLIC KEY BLOCK-----
On 7 December 2017 at 16:42, Martin Maechler <maechler using stat.math.ethz.ch>
wrote:
> >>>>> Martin Maechler <maechler using stat.math.ethz.ch>
> >>>>> on Thu, 7 Dec 2017 17:37:23 +0100 writes:
>
> >>>>> Neil Shephard <nshephard using gmail.com>
> >>>>> on Tue, 5 Dec 2017 08:18:08 +0000 writes:
>
> >> Hi, I've only just caught up on the update to ess-17.11
> >> and went to install it using the Gentoo Linux package
> >> management system portage.
>
> >> It complained that the ess-17.11.tgz was not a compressed
> >> archive and this appears to be true, its just a plain
> >> tar-ball.
>
> > well, I'm managing the ess.r-project.org server and I have
> > actually mounted the file system where ess-17.11.tgz lives
> > and 'ls -l' and 'file' say
>
> > ls -l ess-17.11.tgz -rw-r--r--. 1 maechler sfsstaff
> > 3275703 Nov 13 15:13 ess-17.11.tgz
>
> > file ess-17.11.tgz ess-17.11.tgz: gzip compressed data,
> > last modified: Mon Nov 13 14:13:29 2017, from Unix
>
> > (and read on)
>
> >> This means that when portage trys to unpack it based on
> >> the file extension '.tgz' it tries to uncompress it,
> >> which fails.
>
> >> For now I've change the ebuild (the scripts which install
> >> programmes under Gentoo/Linux) to use the ess-17.11.zip
> >> but thought this worth reporting. I include below
> >> downloading the ess-17.11.tgz and attempting to
> >> unzip/uncompress manually, what finally worked was
> >> renaming to ess-17.11.tar and untar the archive.
>
> >> Details of this are also on Gentoo Buzilla at
> >> https://bugs.gentoo.org/639752
>
> >> Regards,
>
> >> Neil
>
> > Now look closely at the output of wget -- which I can
> > reproduce in my (Fedora 26) Linux :
>
> >> ~/tmp/ess $ wget
> >> http://ess.r-project.org/downloads/ess/ess-17.11.tgz
> >> --2017-12-05 08:12:09--
> >> http://ess.r-project.org/downloads/ess/ess-17.11.tgz
> >> Resolving ess.r-project.org... 129.132.119.195 Connecting
> >> to ess.r-project.org|129.132.119.195|:80... connected.
> >> HTTP request sent, awaiting response... 200 OK Length:
> >> 3275703 (3.1M) [application/x-tar]
> > ^^^^^^^^^^^^^^
> >> Saving to: ‘ess-17.11.tgz’
> >>
> >> ess-17.11.tgz
> >> 100%[=======================================================
> ====================================>]
> >> 3.12M 6.30MB/s in 0.5s
> >>
> >> 2017-12-05 08:12:09 (6.30 MB/s) - ‘ess-17.11.tgz’ saved
> >> [8898560]
> > ^^^^^^^^
>
> > so indeed wget seems to do __silly!__ behave a bit
> > magically nowadays ... -- at least being honest about it:
>
> > It gets a *.tgz of size 3275703 bytes (~ 3.1 M) and
> > internally uses gunzip absolutely with*OUT* saying so, but
> > then honestly reports that the result is of size 8898560
> > bytes
>
> > I'm appalled.
>
> > Note one thing though: For 2 year or so, 'tar' has become
> > smart enough to "see" if it needs to uncompress or not; so
> > for practical purposes, you nowadays can use
>
> > tar xf <file>
>
> > and it will do the right thing if the file is compressed
> > or not.
>
> Well, not quite: If the file ends in *.tgz it tries
> automatically to use gunzip on it and fails...
> so it seems the manual 'mv ...tgz ...tar' seems needed.
>
> Ok, now having skimmed the result of 'wget --help', I see
> (among HTTP options) :
>
> --compression=TYPE choose compression, one of auto, gzip and
> none
>
> and indeed some silly people made 'auto' the default *and*
> forgot to implement a renaming of *.tgz --> *.tar in the case of
> auto compression.
>
> The solution for (tested): Use wget --compression=none :
>
> $ wget --compression=none http://ess.r-project.org/
> downloads/ess/ess-17.11.tgz
> --2017-12-07 17:40:02-- http://ess.r-project.org/
> downloads/ess/ess-17.11.tgz
> Resolving ess.r-project.org (ess.r-project.org)... 129.132.119.195
> Connecting to ess.r-project.org (ess.r-project.org)|129.132.119.195|:80...
> connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 3275703 (3.1M) [application/x-tar]
> Saving to: 'ess-17.11.tgz.1'
>
> ess-17.11.tgz.1 100%[==========================>] 3.12M
> --.-KB/s in 0.04s
>
> 2017-12-07 17:40:02 (81.1 MB/s) - 'ess-17.11.tgz.1' saved [3275703/3275703]
>
> --
> Martin Maechler ETH Zurich
>
[[alternative HTML version deleted]]
More information about the ESS-help
mailing list