From maechler at stat.math.ethz.ch  Wed Feb  1 09:14:20 2017
From: maechler at stat.math.ethz.ch (Martin Maechler)
Date: Wed, 1 Feb 2017 09:14:20 +0100
Subject: [Rd] Unexpected EOF in R-patched_2017-01-30
In-Reply-To: <CAL6gwnJW0vFVLrO8xmQdmZ648GUrgNECk+LsKJhZ3PR41g+S0Q@mail.gmail.com>
References: <CAL6gwnKsEuqyEKG+AdxC+skraNiqV7MB0PorEsvXrXWCzO-sEg@mail.gmail.com>
	<91204991-E540-4EE7-A895-6A31B1456091@gmail.com>
	<CAL6gwnJW0vFVLrO8xmQdmZ648GUrgNECk+LsKJhZ3PR41g+S0Q@mail.gmail.com>
Message-ID: <22673.39132.37207.958775@stat.math.ethz.ch>

>>>>> Avraham Adler <avraham.adler at gmail.com>
>>>>>     on Tue, 31 Jan 2017 16:07:20 -0500 writes:

    > On Tue, Jan 31, 2017 at 3:30 PM, peter dalgaard <pdalgd at gmail.com> wrote:
    >> 
    >>> On 31 Jan 2017, at 18:56 , Avraham Adler <avraham.adler at gmail.com> wrote:
    >>> 
    >>> Hello.
    >>> 
    >>> When trying to unpack today's version of R-patched,
    >> 
    >> From which source? The files from cran.r-project.org seems OK, both those in src/base-prerelease and those from ETHZ. 

    >> Also, is it not "tar -xfz" when reading a compressed file?

Recent (for several years) versions of tar (on Linux at least)
do not need the compression extension anymore: They guess it
correctly from the file.

    >> 
    >> -pd

    >> From <https://stat.ethz.ch/R/daily/>

The last two of the daily R-patched*.tar.gz
unpack flawlessly for me as well.

Could it be that your Windows(?) version of tar (or the file
system or ???) is the problem?

Or the file was corrupted during download?

Here are the md5sum s  from the server itself for the last three snapshots:

388b607afe732c92442dbb49845fe377  ..../ftp/R/R-patched_2017-01-31.tar.gz
7daea59067454311818df1c75971a485  ..../ftp/R/R-patched_2017-01-30.tar.gz
9ddad833a455973631920c70b6da5d6e  ..../ftp/R/R-patched_2017-01-29.tar.gz



    > Also, while passing z is not in the instructions given in Installation
    > and Administration [1], I tried passing -xzf and it did not work. I
    > believe f has to be last if the file name follows immediately.

    > [1]  <https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Getting-the-source-files>

    > Thanks,

    > Avi

    >>> I get the following error:
    >>> 
    >>> C:\R>tar -xf R-patched_2017-01-30.tar.gz
    >>> 
    >>> gzip: stdin: unexpected end of file
    >>> tar: Unexpected EOF in archive
    >>> tar: Unexpected EOF in archive
    >>> tar: Error is not recoverable: exiting now
    >>> 
    >>> I got the same error for R-patched_2017-01-30.tar.gz but not for R-3.3.2.tar.gz.
    >>> 
    >>> Thank you,
    >>> 
    >>> Avi
    >>> 
    >>> ______________________________________________
    >>> R-devel at r-project.org mailing list
    >>> https://stat.ethz.ch/mailman/listinfo/r-devel
    >> 
    >> --
    >> Peter Dalgaard, Professor,
    >> Center for Statistics, Copenhagen Business School
    >> Solbjerg Plads 3, 2000 Frederiksberg, Denmark
    >> Phone: (+45)38153501
    >> Office: A 4.23
    >> Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com
    >> 

    > ______________________________________________
    > R-devel at r-project.org mailing list
    > https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] Unexpected EOF in R-patched_2017-01-30
Martin Maechler