0x21-consulting / ElderberryPi

A secure-by-default, self-healing, small business server for the RaspberryPi
4 stars 1 forks source link

Vagrant build process throws non-terminating error #30

Open micchickenburger opened 4 years ago

micchickenburger commented 4 years ago

There are two error lines in the output of the ElderberryPi image build process:

default: ==> arm: dpkg-preconfigure: unable to re-open stdin: No such file or directory
# ...
default: ==> arm: optional `fuser -k` failed with exit status 1:

This doesn't break the build. It occurs because of nuances running dpkg-preconfigure in non-interactive mode. Even though we pass the environment variable DEBIAN_FRONTEND=noninteractive we get the error anyway.

https://stackoverflow.com/questions/47408174/vagrant-provision-dpkg-preconfigure-unable-to-re-open-stdin