# Workaround Balena deployment The Things Network Multi Protocol Packet Forwarder

**URL:** <https://www.thethingsnetwork.org/forum/t/workaround-balena-deployment-the-things-network-multi-protocol-packet-forwarder/51564>\
**Category:** V3 Gateways\
**Created:** [September 15, 2021, 6:40pm UTC](https://www.thethingsnetwork.org/forum/t/workaround-balena-deployment-the-things-network-multi-protocol-packet-forwarder/51564 "2021-09-15T18:40:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pe1mew](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/pe1mew/32/48520_2.png) [@pe1mew](https://www.thethingsnetwork.org/forum/u/pe1mew)\
**Post date:** [September 15, 2021, 6:40pm UTC](https://www.thethingsnetwork.org/forum/t/workaround-balena-deployment-the-things-network-multi-protocol-packet-forwarder/51564/1 "2021-09-15T18:40:40Z")

</div>

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](https://github.com/kersing/ttn-resin-gateway-rpi-1) 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.
