Raspberry PI Zero debian-node Image does not include raspistill (camera) executable

Hey there :wave:

I’ve upgrade the base images from the old resin naming scheme to the new balenaLib naming scheme, but the raspberry-pi-debian-node image seem to miss the raspistill executable (it is included in the raspberrypi3-debian-node image).

raspistill is missing:

docker run -v $(PWD):/app -ti balenalib/raspberry-pi-debian-node:11 bash -c "/opt/vc/bin/raspistill || raspistill || /usr/bin/raspistill"
/bin/bash: /opt/vc/bin/raspistill: No such file or directory
/bin/bash: raspistill: command not found
/bin/bash: /usr/bin/raspistill: No such file or directory

raspistill exists:

docker run -v $(PWD):/app -ti balenalib/raspberrypi3-debian-node:11 bash -c "/opt/vc/bin/raspistill || raspistill || /usr/bin/raspistill"
* failed to open vchiq instance
* failed to open vchiq instance
* failed to open vchiq instance

why is there no raspistill executable in the raspberry-pi image?

It was working with the old naming scheme:

docker run -v $(PWD):/app -ti resin/raspberry-pi-node:10 bash -c “/opt/vc/bin/raspistill || raspistill || /usr/bin/raspistill”
[WARN tini (27)] Tini is not running as PID 1 and isn’t registered as a child subreaper.
Zombie processes will not be re-parented to Tini, so zombie reaping won’t work.
To fix the problem, use the -s option or set the environment variable TINI_SUBREAPER to register Tini as a child subreaper, or run Tini as PID 1.
* failed to open vchiq instance
* failed to open vchiq instance
* failed to open vchiq instance

My git diff:

-FROM resin/%%RESIN_MACHINE_NAME%%-node:6
+FROM balenalib/%%RESIN_MACHINE_NAME%%-debian-node:11

Is this an error in the images? How can I install raspistill?

Hey there @p0wl

I’m not sure why this is missing - I’ll ping our team, it may be an omission but there may also be a reason for it. @nghiant2710 would know for sure!

The package name that includes the raspistill binary is libraspberrypi-bin. You can see here that it’s not in the raspberry-pi base image and see here that it is in the raspberrypi3 image.

1 Like

Thanks for the fast answer. installing libraspberrypi-bin solved it, thanks!

It feels like it should be shipped with the base image though. Lets see what the team thinks!

2 Likes

Thanks for following up! I’m glad it was a simple resolution. I’ve created an issue on GitHub for this here: https://github.com/balena-io-library/base-images/issues/543

1 Like