sql-action icon indicating copy to clipboard operation
sql-action copied to clipboard

Error: tar (child): bzip2: Cannot exec: No such file or directory

Open prakhyat-karri-kr opened this issue 10 months ago • 1 comments

We are using this action with v.2.3 to implement SQL scripts on an Azure SQL database. This action works fine in general. But we are seeing below error messages when running v2.3 today in our GitHub actions workflow. We are using this action in multiple workflows are all of them are failing with this specific reason.

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

Attaching full error message log file to this message.

sql-action_v2.3_error_log.txt

Please let us know if we need to upgrade the GitHub action version or if there is any alternative GitHub action we can use for the same purpose.

prakhyat-karri-kr avatar Apr 04 '25 20:04 prakhyat-karri-kr

I had a similar problem, installing bzip2 helped me. sudo apt-get install bzip2

unger avatar Apr 25 '25 07:04 unger

Can you share which GitHub Actions runner you're using?

zijchen avatar May 16 '25 21:05 zijchen

Issue resolved after installing bzip2 on the runner

prakhyat-karri-kr avatar May 23 '25 23:05 prakhyat-karri-kr