public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Linda Walsh <cygwin@tlinx.org>
To: cygwin@cygwin.com
Subject: Re: tar enhancements in 't' & 'x' (was Corrupted tar-ball in Cygwin-x86_64)
Date: Sun, 19 Jan 2014 21:23:00 -0000	[thread overview]
Message-ID: <52DC4235.5020708@tlinx.org> (raw)
In-Reply-To: <52DC1112.8010908@alice.it>

Angelo Graziosi wrote:
> Il 18/01/2014 13.01, Angelo Graziosi ha scritto:
>> When I try to update my Cygwin64 installation (on a virtualBox Win7-64
>> installation) I get an error about the cygwin32-1.7.27-1.tar.xz package
>> which seems corrupted.
>>
>> This is confirmed from command line on which i get:
>>
>> $ tar -rf cygwin32-1.7.27-1.tar.xz
> 
> There is a typo here (on my part) which seems to have generated some 
> confusion... :(
> 
> The command I have run to confirm the corrupted tar file was
> 
> $ tar -tf cygwin32-1.7.27-1.tar.xz
----
I thought it was the case that 'a' was required on t/x as well as
'c', but can only verify that it used to need some extension it
could recognize, but now it figures it out w/no extension.

I.e.:
(old):
Astarte:/tmp> tar caf xxx.tar.xz 
server-0815527C63B5A57106C26703B2473B023EC30A19.xkm
Astarte:/tmp> mv xxx.tar.xz xxx
Astarte:/tmp> tar tf xxx
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
(new)
/tmp> tar caf xx.tar.xz xx.sh
/tmp> mv xx.tar.xz xx
/tmp> tar tf xx
xx.sh
----

Guess somewhere I assumed 'a' was required for automatic compression
recognition... but only on 'c' it seems...

It is the case tar will decode even files w/o extensions...neat!.



> Anyway, the most important thing is that now Yaakov has fixed the 
> corrupted tar-ball (http://cygwin.com/ml/cygwin/2014-01/msg00249.html)
---
Well that's the important part!



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

      reply	other threads:[~2014-01-19 21:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-18 12:01 Corrupted tar-ball in Cygwin-x86_64 Angelo Graziosi
2014-01-18 12:44 ` Marco Atzeri
2014-01-18 12:51   ` Marco Atzeri
2014-01-19 13:05     ` Linda Walsh
2014-01-19  4:53 ` Yaakov (Cygwin/X)
2014-01-19 17:53 ` Angelo Graziosi
2014-01-19 21:23   ` Linda Walsh [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52DC4235.5020708@tlinx.org \
    --to=cygwin@tlinx.org \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).