Ubuntu Tar.gz file problem?
disneyjoe7
Posts: 11,435
I need some help, I have a file X.tar.gz and I can't expand it as it errors out.
gzip: stdin: invalid compressed data--format violated
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
If it's any help the file is from the Evolution backup 10.x.x ubuntu to Evolution ubuntu 11.0.4
Is there a way to recover this file?
Steve
gzip: stdin: invalid compressed data--format violated
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
If it's any help the file is from the Evolution backup 10.x.x ubuntu to Evolution ubuntu 11.0.4
Is there a way to recover this file?
Steve
Speakers
Carver Amazing Fronts
CS400i Center
RT800i's Rears
Sub Paradigm Servo 15
Electronics
Conrad Johnson PV-5 pre-amp
Parasound Halo A23
Pioneer 84TXSi AVR
Pioneer 79Avi DVD
Sony CX400 CD changer
Panasonic 42-PX60U Plasma
WMC Win7 32bit HD DVR
Post edited by disneyjoe7 on
Comments
-
Can you show the command line arguments you're passing?If you will it, dude, it is no dream.
-
Bob,
I just trying to use it in the email program as restore file. And above is the error I get by clicking on file.
Speakers
Carver Amazing Fronts
CS400i Center
RT800i's Rears
Sub Paradigm Servo 15
Electronics
Conrad Johnson PV-5 pre-amp
Parasound Halo A23
Pioneer 84TXSi AVR
Pioneer 79Avi DVD
Sony CX400 CD changer
Panasonic 42-PX60U Plasma
WMC Win7 32bit HD DVR -
What happens at the command line with
gunzip X.tar.gz
If that works there should now be a X.tar
Now try
tar -xvf X.tarLumin X1 file player, Westminster Labs interconnect cable
Sony XA-5400ES SACD; Pass XP-22 pre; X600.5 amps
Magico S5 MKII Mcast Rose speakers; SPOD spikes
Shunyata Triton v3/Typhon QR on source, Denali 2000 (2) on amps
Shunyata Sigma XLR analog ICs, Sigma speaker cables
Shunyata Sigma HC (2), Sigma Analog, Sigma Digital, Z Anaconda (3) power cables
Mapleshade Samson V.3 four shelf solid maple rack, Micropoint brass footers
Three 20 amp circuits. -
I tried gunzip in terminal right? Got this back.
gunzip evolution-backup.tar.gz
gzip: evolution-backup.tar.gz: invalid compressed data--format violated
Speakers
Carver Amazing Fronts
CS400i Center
RT800i's Rears
Sub Paradigm Servo 15
Electronics
Conrad Johnson PV-5 pre-amp
Parasound Halo A23
Pioneer 84TXSi AVR
Pioneer 79Avi DVD
Sony CX400 CD changer
Panasonic 42-PX60U Plasma
WMC Win7 32bit HD DVR -
Try just tar -xf X.tar.gz. If it expands, it wasn't really a gzipped tar file, just a tar. If it still doesn't, it's either not really a tar file, or it's corrupted and you need to try downloading it again.
You could also try to determine the file type with head -1 X.tar.gz and see what the first few characters on the line are. gzip files will say, IIRC, gzip.Turntable: Empire 208
Arm: Rega 300
Cart: Shelter 501 III
Phono Pre: Aural Thrills
Digital: Pioneer DV-79ai
Pre: Conrad Johnson ET3 SE
Amp: Conrad Johnson Evolution 2000
Cables: Cardas Neutral Reference
Speakers: SDA 2.3TL, heavily modified -
tar -xvzf
-
So this didn't work...
steve@steve-MXC051:~$ tar -xf evolution-backup.tar.gz
gzip: stdin: invalid compressed data--format violated
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
But this did something different....
steve@steve-MXC051:~$ tar -xvzf evolution-backup.tar.gz
.evolution/
.evolution/mail/
.evolution/mail/searches.xml
.evolution/mail/pop/
.
.
.
.evolution/mail/local/Inbox.ibex.index
gzip: stdin: invalid compressed data--format violated
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Confused.
Speakers
Carver Amazing Fronts
CS400i Center
RT800i's Rears
Sub Paradigm Servo 15
Electronics
Conrad Johnson PV-5 pre-amp
Parasound Halo A23
Pioneer 84TXSi AVR
Pioneer 79Avi DVD
Sony CX400 CD changer
Panasonic 42-PX60U Plasma
WMC Win7 32bit HD DVR -
The "v" is just a verbose flag, so that's why it was "different." it gave you more information.If you will it, dude, it is no dream.
-
Bob, Thanks..
So what is this telling you?
.evolution/mail/local/Outbox.ibex.index.data
.evolution/mail/local/Templates.cmeta
.evolution/mail/local/Bills.cmeta
.evolution/mail/local/Save
.evolution/mail/local/Sent
.evolution/mail/local/Drafts.ibex.index
.evolution/mail/local/Sent.ibex.index.data
.evolution/mail/local/Inbox.ibex.index
gzip: stdin: invalid compressed data--format violated
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
The last lines before it stops.
Speakers
Carver Amazing Fronts
CS400i Center
RT800i's Rears
Sub Paradigm Servo 15
Electronics
Conrad Johnson PV-5 pre-amp
Parasound Halo A23
Pioneer 84TXSi AVR
Pioneer 79Avi DVD
Sony CX400 CD changer
Panasonic 42-PX60U Plasma
WMC Win7 32bit HD DVR -
Not really sure, it looks like it at least starts to decompress and then hits a corrupted part o f the file? If it weren't really a valid archive it wouldn't be able to read the directory structure like it does, so obviously some part of it is correct. Can you re-download or find a new source for the download?If you will it, dude, it is no dream.
-
Odd. Compression on a compressed file?
TAR is already compressed. Why is it also GZ?"The legitimate powers of government extend to such acts only as are injurious to others. But it does me no injury for my neighbour to say there are twenty gods, or no god. It neither picks my pocket nor breaks my leg." --Thomas Jefferson -
TAR does not compress, it merely groups a bunch of files into a single file. GZIP does the compression but only works on single files (unlike on Windows or Mac OS).If you will it, dude, it is no dream.
-
I'm screwed,,,, I did the backup but I rewrite the hd to update the ubuntu to 11.0.4
I did something wrong on my old 10.x.x, I deleted the network-manager so I couldn't get back on line to fix it. So this why did what I did.
Speakers
Carver Amazing Fronts
CS400i Center
RT800i's Rears
Sub Paradigm Servo 15
Electronics
Conrad Johnson PV-5 pre-amp
Parasound Halo A23
Pioneer 84TXSi AVR
Pioneer 79Avi DVD
Sony CX400 CD changer
Panasonic 42-PX60U Plasma
WMC Win7 32bit HD DVR