LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-21-2002, 07:43 PM   #1
moose1618
LQ Newbie
 
Registered: Jan 2002
Location: Pennsylvania, USA
Distribution: Redhat 7.2, Mandrake 8.1
Posts: 17

Rep: Reputation: 0
easy tar.gz question


this should be a simple question I hope, while trying to install different programs from a tar.gz extention I keep getting errors and I know it is something stupid can someone point me in the correct direction I am including my terminal output so I don't have to explain anything else, this is on a redhat 7.2 box running only command line bash.

Thanks for any help
-Marcus-

[root@localhost tmp]# tar -xzvf imp-3.0.tar.gz
imp-3.0/
imp-3.0/config/
imp-3.0/config/.htaccess
imp-3.0/config/conf.php.dist
imp-3.0/config/filter.txt.dist
imp-3.0/config/header.txt.dist
imp-3.0/config/html.php.dist
imp-3.0/config/menu.php.dist
imp-3.0/config/mime_drivers.php.dist
imp-3.0/config/motd.php.dist
imp-3.0/config/prefs.php.dist
imp-3.0/config/servers.php.dist
imp-3.0/config/trailer.txt.dist
imp-3.0/COPYING
imp-3.0/README
imp-3.0/compose.php
imp-3.0/filters.php
imp-3.0/folders.php
imp-3.0/identities.php
imp-3.0/index.php
imp-3.0/intro.php
imp-3.0/login.php
imp-3.0/mailbox.php
imp-3.0/menu.php
imp-3.0/message.php
tar: Skipping to next header

gzip: stdin: invalid compressed data--format violated
tar: Child returned status 1
tar: Error exit delayed from previous errors
[root@localhost tmp]#
 
Old 02-21-2002, 08:16 PM   #2
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
Have you tried downloading the file again? It looks like she's corruptoid...
 
Old 02-21-2002, 08:22 PM   #3
moose1618
LQ Newbie
 
Registered: Jan 2002
Location: Pennsylvania, USA
Distribution: Redhat 7.2, Mandrake 8.1
Posts: 17

Original Poster
Rep: Reputation: 0
Actually this is the 3rd file I have had this problem with, maybe a better explenation of how I am getting the file might help, I am downloading the file from my winxp box then I ftp it to my nt4.0 server then ftp from my linux box to my nt4.0 box to get the file, it is the long way around but it is the best way I have right now, is it possible something is happening on the way there?
-Marcus-
 
Old 02-21-2002, 08:56 PM   #4
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
Hmm... 1 download, 2 ftp trips, and 3 different OSes? Yeah, that would definitely up the chances of something taking a hit along the way. If, for a given file, it always bombs in the same place (and with that same error), I'd suspect a corrupt archive.

You are downloading/ftp'ing the files in binary mode (as opposed to text/ASCII or "auto" modes), yes?
 
Old 02-21-2002, 09:04 PM   #5
moose1618
LQ Newbie
 
Registered: Jan 2002
Location: Pennsylvania, USA
Distribution: Redhat 7.2, Mandrake 8.1
Posts: 17

Original Poster
Rep: Reputation: 0
I am downloading from the internet then transferring to my nt4.0 server using i.e. 6.0 then I ftp from my linux box to my nt 4.0 server via command line. as a bit of a sidenote the reason for the multiple ftp's, I have a router that the linux box is not allowed to go though for security reasons, I am studying linux and do not want it to breach my network security in the proccess that is why I have to go from the outside world to my server then to my linux box. :-)

in reply to your question about ascii or binary I do not know by default which I.E uses, if that is the problem I will install a ftp client on my machine, I am wanting to download in binary correct?

-Marcus-
 
Old 02-21-2002, 09:15 PM   #6
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
I don't use IE, but I'll bet it has some automatic mode where it guesses according to filetype. Would you trust an MS product to be 100% accurate?
In general, I've always found a dedicated ftp client to be more reliable than doing it with a browser.

And yes, for tarballs you want to make sure your doing a binary up/download.
 
Old 02-21-2002, 09:22 PM   #7
moose1618
LQ Newbie
 
Registered: Jan 2002
Location: Pennsylvania, USA
Distribution: Redhat 7.2, Mandrake 8.1
Posts: 17

Original Poster
Rep: Reputation: 0
I have to agree with you 100% about the ms stuff, I just set up a temporary tunnel to allow my linux box to directly access the internet, and I will see if this will fix my problem, thank you very much for the help.
-Marcus-
 
Old 02-21-2002, 09:25 PM   #8
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
Yes indeed- the more direct the route, the better. Good luck.
 
Old 02-21-2002, 10:24 PM   #9
moose1618
LQ Newbie
 
Registered: Jan 2002
Location: Pennsylvania, USA
Distribution: Redhat 7.2, Mandrake 8.1
Posts: 17

Original Poster
Rep: Reputation: 0
as a followup for anyone reading this thread later, after I made a more direct route and downloaded straight to the linux box it worked like a charm so it was just getting corrupted somewhere along the way.
-Marcus-
 
Old 02-21-2002, 10:51 PM   #10
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
IE can often corrupt a binary download, a lot of linux download sites have warnings about it, use an ftp client or a third party downloader that dosn't have M$ pitfalls in it.
 
Old 02-22-2002, 12:33 AM   #11
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Yeah I agree with Aussie, probably the lack of binary mode transmission is causing such headaches.
 
Old 02-22-2002, 12:35 AM   #12
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
To DMR:
the whole fluff about IE is it doesn't look for file type it looks into extension of the file. Stick with pure and you don't get inffected.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 03:48 AM
a tough question 4 u, problem in extracting tar & tar.gz files p_garg Linux - General 5 11-08-2010 12:02 PM
Easy Question aeuzent Linux - Newbie 2 05-21-2005 09:06 AM
is there a simple or easy installer for *.sh files after i unzip *.tar.gz? krt47 Linux - Software 3 07-31-2004 08:38 AM
easy question! =P h0bbit Linux - Newbie 2 07-07-2002 06:10 AM


All times are GMT -5. The time now is 05:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration