LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 11-27-2007, 01:09 AM   #1
ravi_chobey
Member
 
Registered: Sep 2007
Location: Bangalore,India
Distribution: Fedora,Mandriva,Debian
Posts: 180

Rep: Reputation: 30
Unhappy Error opening a tar.gz file extension in Fedora 7


Hi,

I am facing problem in opening a tar file in Fedora 7.
Usually we are opening a .tar.gz file using this command:

tar -xvzf filename.tar.gz.

But i am getting these error while opening a VPNServer.tar.gz package:
[root@localhost ~]# tar -xvzf /root/Desktop/VPNServer.tgz

gzip: stdin: unexpected end of file
etc/openvpn/keys/
etc/openvpn/keys/VPN-server.crt
etc/openvpn/keys/VPN-server.key
etc/openvpn/keys/dh384.pem
etc/openvpn/keys/ca.crt
etc/openvpn/VPNServer.conf
tar: Child returned status 1
tar: Error exit delayed from previous errors

I have also tried one command:
gunzip VPNServer.tgz

I am getting unexpected end of file.

Ravi
 
Old 11-27-2007, 03:53 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Quote:
/root/Desktop/VPNServer.tgz
This might be a Slackware .tgz file instead of a .tar.gz.
 
Old 11-27-2007, 03:58 AM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally Posted by bigrigdriver View Post
This might be a Slackware .tgz file instead of a .tar.gz.
I thought you could extract Slackware tgz packages in the same manner as tar.gz files?

It could be that the file is corrupt and maybe a new download may help.
 
Old 11-27-2007, 04:26 AM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Truth to tell, I don't know. I've had .tgz files that unpacked without problems; others that didn't. I know of at least one archiving utility that allows the user to specify which extension to use (.tgz or .tar.gz).

I don't know enough about Slackware to know if there are archiving scripts that do something special such that the .tgz is not compatible with .tar.gz. I suggested it as a possibility.
 
Old 11-27-2007, 06:21 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,360

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
There shouldn't be any diff, you can call a file anything you like in Linux, as long as you use it correctly. The times I've seen that error, it turned out that the file was not in fact gzipped, in spite of it's name...
 
  


Reply



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
Quick question about tar (backup) with same file extension nguyendh Linux - General 6 04-16-2007 10:26 AM
Opening of a tar.bz2 file Gins Linux - General 8 04-08-2005 03:42 PM
Opening a .tar file njschroe Linux - Software 1 02-02-2005 12:56 PM
How you install file with TAR.BZ2 extension?.. thanks suse2166 Linux - Software 14 01-03-2005 04:55 PM
file extension tar.tar wilbertcsci Linux - General 2 10-08-2003 09:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:20 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
Open Source Consulting | Domain Registration