Re: Tar oddity...

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

 



On Fri, Dec 18, 2009 at 5:47 AM, DB <Freddog_de@xxxxxxxxxxx> wrote:
> On 12/18/2009 01:23 PM, fedora-list-request@xxxxxxxxxx wrote:
>>
>> Subject:
>> Re: Tar oddity...
>> From:
>> Ralf Corsepius <rc040203@xxxxxxxxxx>
>> Date:
>> Fri, 18 Dec 2009 07:28:09 +0100
>>
>> To:
>> "Community assistance, encouragement, and advice for using Fedora."
>> <fedora-list@xxxxxxxxxx>
>>
>>
>> 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!
>
> TIA
>
> Dave
______

Try this --it might or it might not work, but it worth a try:

OPTION 1:
- launch Midnight Commander
- select the file.tar.gz and press F2 for Menu
- select 'x' for extracts contents of a compressed tar file.

OPTION 2:
decompress the tarball
    $ gzip -d file.tar.gz
extract what can be salvaged
    $ cpio -ivd -H tar < file.tar

~af

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux