tar -xjf: bzip2: Cannot exec: No such file or directory

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

tar -xjf: bzip2: Cannot exec: No such file or directory

Post by ^rooker »

[PROBLEM]
On a minimum Debian 6 (Squeeze) install, I wanted to unpack a tar.bz2 file with "tar -xjf $FILENAME", and got the following error:
tar (child): bzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
[SOLUTION]
The problem was quite obvious, and the solution therefore very simple:
The "bzip2" package was not install.

Install it. Then try again :)
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply