Tar oddity...

Rick Stevens ricks at nerd.com
Fri Dec 18 18:40:59 UTC 2009


On 12/18/2009 05:47 AM, DB wrote:
> On 12/18/2009 01:23 PM, fedora-list-request at redhat.com wrote:
>> Subject:
>> Re: Tar oddity...
>> From:
>> Ralf Corsepius <rc040203 at freenet.de>
>> Date:
>> Fri, 18 Dec 2009 07:28:09 +0100
>>
>> To:
>> "Community assistance, encouragement, and advice for using Fedora."
>> <fedora-list at redhat.com>
>>
>>
>> On 12/17/2009 11:51 PM, DB wrote:
>>> Hi All,
>>>
>>> I've just (re)installed F12 on my laptop, & tried to copy my home
>>> directory (F11) from my desktop using tar.
>>>
>>> The create went OK, & I can do tar tvh on the desktop no probs. But when
>>> I connect the external drive to the laptop, tar tvh says it's closing
>>> because of previous errors; ark refuses to open the .tar.gz file as it
>>> has errors.
>>
>> Please show us the actual error message. You are not providing
>> sufficient details to be able to help.
>>
>> Ralf
>>
> Hi Ralf,
>
> ark puts up a dialog box
> reading the archive "xxxx.tar.gz"
> failed with the error
> 'The archive reading failed with message: Damaged tar archive'
>
> and tar tvf reads 45 entries and then
>
> tar: skipping to next header
> tar: exiting with failure status due to previous errors
>
> but doesn't say what previous errors!

Try "tar tvzf xxx.tar.gz".  The fact it has a ".gz" at the end indicates
that it's a gzipped tar file so you must specify "z" in the tar command
line.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                      ricks at nerd.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
- Do not taunt the sysadmins, for they are subtle and quick to anger -
----------------------------------------------------------------------




More information about the fedora-list mailing list