For those who want to deploy The Things Network Multi Protocol Packet Forwarder of @kersing with Balena from GitHub - kersing/ttn-resin-gateway-rpi-1: Balena code for TTN V3 there is a workaround when building fails at Balena with this message:
W: Skipping acquire of configured file 'ui/binary-armhf/Packages' as repository 'http://archive.raspberrypi.org/debian bullseye InRelease' doesn't have the component 'ui' (component misspelt in sources.list?)
Because Balena has moved latest
away from buster a manual intervention in file Dockerfile.template is required:
In this file Dockerfile.template make the following changes:
#FROM balenalib/%%BALENA_MACHINE_NAME%%-debian:latest-build AS buildstep`
Shall be replaced with:
FROM balenalib/%%BALENA_MACHINE_NAME%%-debian:buster AS buildstep
and
#FROM balenalib/%%BALENA_MACHINE_NAME%%-debian:latest-run
Shall be replaced with:
FROM balenalib/%%BALENA_MACHINE_NAME%%-debian:buster
This workaround will “repair” the build script and deployment will work again.