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

The tutorials here on LibreByte are provided under a free software licence. if you like my work you should consider:
Buy a Hosting/VPS or Dedicated Server at MCKHost

Leave a Reply

Your email address will not be published.

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