Failed to decompress file .tar.bz2

Debian GNU/Linux

If when you try to unpack a file .tar.bz2, you get the following error messages:

tar (child): bzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2

You must solve it by installing the bzip2 package

# apt-get -y install bzip2

Further reading

– man tar

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.