balena-labs-projects / balena-node-red

a node-red application with balena-supervisor support, can be managed remotely via balena publicURL
Apache License 2.0
60 stars 59 forks source link

Project fails to build / push: Unable to locate package rpi.gpio, python-rpi.gpio #31

Open pdcastro opened 4 years ago

pdcastro commented 4 years ago
$ git clone https://github.com/balena-io-projects/balena-node-red.git
$ cd balena-node-red
$ balena push test-rpi4
...
[node-red]  E: Unable to locate package rpi.gpio
[node-red]  E: Couldn't find any package by glob 'rpi.gpio'
[node-red]  E: Couldn't find any package by regex 'rpi.gpio'
[node-red]  E: Unable to locate package python-rpi.gpio
[node-red]  E: Couldn't find any package by glob 'python-rpi.gpio'
[node-red]  E: Couldn't find any package by regex 'python-rpi.gpio'
[node-red]
[node-red]  Removing intermediate container f85e7e1cc7e2
[node-red]  The command '/bin/sh -c apt-get update && apt-get install -yq --no-install-recommends   rpi.gpio   python-dev   python-rpi.gpio   && apt-get clean && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
[Info]      Uploading images
[Success]   Successfully uploaded images
[Error]     Some services failed to build:
[Error]       Service: node-red
[Error]         Error: The command '/bin/sh -c apt-get update && apt-get install -yq --no-install-recommends   rpi.gpio   python-dev   python-rpi.gpio   && apt-get clean && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
[Info]      Built on arm01
[Error]     Not deploying release.
Remote build failed
abaubi commented 4 years ago

I have a similar issue with node-red also pushing to Raspberry Pi 4

https://forums.balena.io/t/cant-setup-multicontainer-project/40248

balena-ci commented 4 years ago

[pdcastro] This issue has attached support thread https://jel.ly.fish/#/support-thread~931c61b1-b780-4ec5-b470-f0b762d25c11

curcuz commented 2 years ago

fixed in #41

samsoeapp commented 1 year ago

Hi, i know this is a pretty old issue but i'm trying to install this on balena but i get following errors:

[node-red] [node-red] Removing intermediate container b26065498341 [node-red] The command '/bin/sh -c apt-get update && apt-get install -yq --no-install-recommends rpi.gpio python-dev python-rpi.gpio libatomic1 git openssh-client && apt-get clean && rm -rf /var/lib/apt/lists/' returned a non-zero code: 100 [Info] Uploading images [Success] Successfully uploaded images [Error] Some services failed to build: [Error] Service: node-red [Error] Error: The command '/bin/sh -c apt-get update && apt-get install -yq --no-install-recommends rpi.gpio python-dev python-rpi.gpio libatomic1 git openssh-client && apt-get clean && rm -rf /var/lib/apt/lists/' returned a non-zero code: 100 [Info] Built on arm02 [Error] Not deploying release. Remote build failed

Tried multiple versions of the code but get the same results.

Is there anyone who can help me solve this?