unlogical error on tar xzf


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users unlogical error on tar xzf
# 1  
Old 10-02-2007
unlogical error on tar xzf

Hi all,

I'm disapointing :
This morning I have successfully tar/gzip (tar czf) some directories to generate archives.
These archives have been created in a directory named /save, on "/" FS.
After this operation, a system administrator have "on-my-demand" rebuild discs architecture except the "/" FS.
Then I try to untar/gunzip my archives on a new FS and I have the following error :
archiv contain obsolete base64-headlines
and untar (tar xzf) or verification (tar tzf) fall

However, in the same directory /save, I have an other backup generated yesterday and the decompression work fine ! Smilie

I was watching on the net but I didn't find any way... Smilie

Thanks for your help
# 2  
Old 10-02-2007
Assuming that you are on the same OS and programming model after
the system rebuild. i.e. 32 bits or 64 bits, ILP32, LP64, etc. and you
have enough disk space.

Then try the following:

gzip -d file.tar.gz

and then do

tar -xf file.tar
# 3  
Old 10-02-2007
Thanks for your reply.

I have ever done these commands.
On "tar -xf file.tar" I have the same message : archiv contain obsolete base64-headlines

uname -a :
Linux GA-RH05 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux
=> no changes from before

df -k : 80 Go free...
# 4  
Old 10-02-2007
Can you send an "od" dump or hexdump of the first (say, 512) bytes of the file? We could then try and match it to one of the recognized TAR formats.
# 5  
Old 10-02-2007
Doesn't look good

We had the exact same problem with tar where I worked before.
It showed that the tar binary that we were using had an known bug
that we didn't know about. I'm very keen to know how this thread will be solved, if it will ever be that is \=
# 6  
Old 10-02-2007
Quote:
Originally Posted by rexf
It showed that the tar binary that we were using had an known bug
bugger.

Mr Hindsight says "Remember to check the archive beforehand!!!!"
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Tar error

do you have idea what is the limit to zip the file. + tar -cvf - today.txt tar: Size of today.txt >= 8GB. Not dumped. (3 Replies)
Discussion started by: ramkumar15
3 Replies

2. Fedora

How to download latest version of cmake using tar xzf?

...... (3 Replies)
Discussion started by: larry burns
3 Replies

3. Shell Programming and Scripting

tar command to explore multiple layers of tar and tar.gz files

Hi all, I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies

4. UNIX for Dummies Questions & Answers

tar -cvf test.tar `find . -mtime -1 -type f` only tar 1 file

Hi all, 4 files are returned when i issue 'find . -mtime -1 -type f -ls'. ./ora_475244.aud ./ora_671958.aud ./ora_934052.aud ./ora_934050.aud However, when I issued the below command: tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies

5. Linux

tar error exit delayed form pervious error

Hi when use "tar cpvzf /dev/st0 --exclude=/proc --exclude-/lost+found --exclude=/mnt --exclude=/media --exclude=/sys /" to tape, get the following message "tar: error exit delayed form pervious error", What is the mean ? Please suggest some solution for these errors. thx (1 Reply)
Discussion started by: chayato
1 Replies

6. Solaris

Error while using tar

Hi, WHile decompressing the files, i get the error tar: directory checksum error. After decompressing when i check the size of file, it is less than the original file. Due to this error, there is loss of data. How can this error be removed? Thanks in advance. (7 Replies)
Discussion started by: agarwal
7 Replies

7. AIX

Tar error

When Im trying to untar a file I get an error message tar: 0511-169 A directory checksum error on media; 804399248 not equal to 46325. What can I do to untar my file Thanks (3 Replies)
Discussion started by: joemad
3 Replies

8. UNIX for Advanced & Expert Users

Error in tar

Hi i am facing one problem with one file dxagent.ss, this file has most of the binary contents. when i m running following command on unix machine tar xpf dxagent.ss output should be: removing leading '/' from members name. and should create 'usr' and 'var' directory. but i am getting some... (5 Replies)
Discussion started by: yogini nemade
5 Replies

9. Solaris

TAR error

When I tried to decompress using TAR the following error was popped up.. tar: blocksize = 0 ..Can anyone tell me wht this means and how to rectify this error... (3 Replies)
Discussion started by: hemin_pm
3 Replies

10. Shell Programming and Scripting

TAR error

-------------------------------------------------------------------------------- When I tried to decompress using TAR the following error was popped up.. tar: blocksize = 0 ..Can anyone tell me wht this means and how to rectify this error... (1 Reply)
Discussion started by: hemin_pm
1 Replies
Login or Register to Ask a Question