Unable to use tar to run an archive through bzip2 compression
Error:
root:/manasmonitoring/cockdb$ tar -xvjf crosstool-ng-1.23.0.rc2.diorcety.linux_target_2-h99d4681_3.tar.bz2
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:
To solve this issue we need to install bzip2
For Ubuntu :
# apt-get install bzip2
Centos/RHEL :
# yum install bzip2
No comments