jadonk / bonescript

Scripting tools for BeagleBone and PocketBeagle
http://beagleboard.org
MIT License
514 stars 159 forks source link

Dependancy issue when install bonescript Debian package #188

Open psiphi75 opened 4 years ago

psiphi75 commented 4 years ago

When installing bonescript (using apt install bonescript) on a BeagleBone Blue using a Debian command line image I get the following problem.

Setting up bonescript (0.7.3-git20190822.0-0rcnee2~buster+20190903) ...
bonescript:nodejs:[v10.15.2]
bonescript:installing:[bonescript-0.7.3-26c5522-v10.15.2-20190903.tar.xz]
bonescript:updating:[/usr/local/lib/node_modules/bonescript/]
tar (child): xz: 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
dpkg: error processing package bonescript (--configure):
 installed bonescript package post-installation script subprocess returned error exit status 2
Setting up libevent-2.1-6:armhf (2.1.8-stable-4) ...
Processing triggers for libc-bin (2.28-10) ...
Errors were encountered while processing:
 bonescript
E: Sub-process /usr/bin/dpkg returned an error code (1)

Installing xz-utils fixes this issue. It would be good to add xz-utils as a dependency to the Debian bonescript package.