DragonFly BSD
DragonFly bugs List (threaded) for 2009-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [issue1541] tar(1) fails to extract a valid archive


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 28 Sep 2009 10:28:12 -0700 (PDT)

:Hasso Tepper (via DragonFly issue tracker) wrote:
:> New submission from Hasso Tepper <hasso@estpak.ee>:
:>
:> https://www.mirbsd.org/MirOS/dist/hosted/kwalletcli/kwalletcli-1.00.tar.gz
:>
:> $ tar -zxf kwalletcli-1.00.tar.gz
:> tar: Unrecognized archive format
:> tar: Error exit delayed from previous errors.
:> $
:>
:> Using g(un)zip(1) and tar(1) works:
:>
:> $ gzip -cd kwalletcli-1.00.tar.gz | tar -xf -
:> $

    I get the same thing.  I ktrace'd it and it looks like bsdtar
    is trying to examine the gzip header itself... and clearly
    making a mistake.

    If I gunzip | gzip > x.tar.gz  and then tar tvzpf x.tar.gz, that
    works, so basic recognition of gzip files is working properly in
    tar.  It just doesn't recognize THAT particular gzip file.

    So it must be a bug in libarchive somewhere, or perhaps it simply
    does not properly recognize gzip formats?
   
					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]