Tar error


 
Thread Tools Search this Thread
Operating Systems AIX Tar error
# 1  
Old 06-22-2005
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
# 2  
Old 06-23-2005
Sounds like it was uploaded in text mode rather than binary. Try re-uploading it in binary mode then tar it.
# 3  
Old 06-27-2005
As a last-ditch effort you could try:

Code:
sed 's/^M$//' <tarfile> | tar -tvf -

if this works replace the "-tvf -" by "-xvf -" to untar the file (be sure to be in the right directory when doing this). "^M" is meant literal, you would have to type <CTRL>-<V> then <ENTER> to create the character.

If this doesn't help you can still re-ftp the file in binary mode - or send it in uuencoded form.

hope this helps

bakunin
# 4  
Old 07-24-2008
This is because you downloaded the .gz file and your windows copied as .tar.tar.
So, you need to gunzip and then untar
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. 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

3. 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

4. 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

5. 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

6. UNIX for Dummies Questions & Answers

Error when tar extract

I've got this Files.tgz containing Fruits/Apple.txt Drinks/Soda.txt Drinks/Pepsi.txt I would like to extract all files/directories with pattern "Fruits". So, what I did was tar -xvf File.tgz `tar -tf Files.tgz | grep 'Fruits'` However, output is:- Files/Fruits... (8 Replies)
Discussion started by: percivalwcy
8 Replies

7. 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

8. UNIX for Dummies Questions & Answers

reg: tar error

Hi , i am working on aix. when i am tarring a folder using the command tar cf /home/test45/res rpt i am getting an error like tar: res rpt/Idaho_110_20079245268_Plan_OverPayment_summary_rpt_v2.1.xls: file changed as we read it vat may be the issue... please advice sam (1 Reply)
Discussion started by: sam99
1 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