Meaning of tar error display: bzip2 (stdin) is not a bzip2 file

Asked by Julianloui

When I run a tar command such as 'tar xjvf espeak-1.47.11-source.tar.xz ', Ubuntu 12.04 returns

bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Erroris not recoverable: exiting now

What does the mesaage mean? Thanks.

Julianloui

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
David Pires
Solved:
Last query:
Last reply:
Revision history for this message
Best David Pires (slickymaster) said :
#1

To untar it, at a terminal window try: tar -xJf espeak-1.47.11-source.tar.xz

The -J is the flag that specifically deals with .xz files.

Regarding the message you received previously, please refer to: http://manpages.ubuntu.com/manpages/karmic/en/man1/xz.1.html

Basically it's just complaining about the flags you used with the tar command associated with a .tar.xz type file.

Revision history for this message
Julianloui (julianloui) said :
#2

Thanks David Pires, that solved my question.

Revision history for this message
Julianloui (julianloui) said :
#3

David,

I was tripped by the lower-case 'j'. When it is replaced by the upper-case J, the tar commaand executes trouble-free.
Thanks very much.

Julianloui

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

If you install unp you can extract any archive with the same command just as you use the same right click in the GUI.

Is there not a PPA for the application you are attempting to compile?

Remember to use checkiinstall rather than sudo make install, it will make a deb file of your efforts and ease install and uninstall.

Revision history for this message
Julianloui (julianloui) said :
#5

Andrew,

Thanks for your excellent ideas. I am not familiar enough with eSpeak to know if it comes with a PPA, but I'll look into this matter.
I'll definitely use 'checkinstall' in lieu of 'sudo make install' when I complie this package on my other Linux Ubuntu 12.04 machine.

Julianloui