Deployment fails

I’m trying to deploy to balena but now all the sudden i get the following error:

[Info]    ---------------------------------------------------------------------------
[Info]    The --multi-dockerignore option is being used, and a .dockerignore file was
[Info]    found at the project source (root) directory. Note that this file will not
[Info]    be used to filter service subdirectories. See "balena help push".
[Info]    ---------------------------------------------------------------------------
[xxx-box]          Step 1/11 : ARG NODEJS_VERSION="18"
[xxx-box]          Step 2/11 : FROM balenalib/intel-nuc-node:${NODEJS_VERSION}-bookworm
[xxx-player]       Step 1/15 : ARG NODEJS_VERSION="18"
[xxx-player]       Step 2/15 : FROM balenalib/intel-nuc-node:${NODEJS_VERSION}-run
[xxx-box]           ---> 30d5cc3c6804
[xxx-box]          Step 3/11 : RUN sudo apt-get update -y
[xxx-box]           ---> Running in c14b83810164
[xxx-player]        ---> a70e09758f38
[xxx-player]       Step 3/15 : RUN install_packages     curl     libasound2     libdrm2     libgbm1     libgdk-pixbuf2.0-0     libglib2.0-0     libgtk-3-0     libnss3     libx11-xcb1     libxss1     libxtst6     libgles2-mesa     libxshmfence1     mesa-utils     mesa-utils-extra     git
[xxx-player]        ---> Running in e38540b6bf28
[xxx-box]          Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
[xxx-box]          Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
[xxx-box]          Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
[xxx-box]          Err:1 http://deb.debian.org/debian bookworm InRelease
[xxx-box]            At least one invalid signature was encountered.
[xxx-box]          Err:2 http://deb.debian.org/debian bookworm-updates InRelease
[xxx-box]            At least one invalid signature was encountered.
[xxx-box]          Err:3 http://deb.debian.org/debian-security bookworm-security InRelease
[xxx-box]            At least one invalid signature was encountered.
[xxx-box]          Reading package lists...
[xxx-box]          W: GPG error: http://deb.debian.org/debian bookworm InRelease: At least one invalid signature was encountered.
[xxx-box]          E: The repository 'http://deb.debian.org/debian bookworm InRelease' is not signed.
[xxx-box]          W: GPG error: http://deb.debian.org/debian bookworm-updates InRelease: At least one invalid signature was encountered.
[xxx-box]          E: The repository 'http://deb.debian.org/debian bookworm-updates InRelease' is not signed.
[xxx-box]          W: GPG error: http://deb.debian.org/debian-security bookworm-security InRelease: At least one invalid signature was encountered.
[xxx-box]          E: The repository 'http://deb.debian.org/debian-security bookworm-security InRelease' is not signed.
[xxx-box]
[xxx-player]       W: GPG error: http://deb.debian.org/debian bullseye InRelease: At least one invalid signature was encountered.
[xxx-player]       E: The repository 'http://deb.debian.org/debian bullseye InRelease' is not signed.
[xxx-player]       W: GPG error: http://deb.debian.org/debian-security bullseye-security InRelease: At least one invalid signature was encountered.
[xxx-player]       E: The repository 'http://deb.debian.org/debian-security bullseye-security InRelease' is not signed.
[xxx-player]       W: GPG error: http://deb.debian.org/debian bullseye-updates InRelease: At least one invalid signature was encountered.
[xxx-player]       E: The repository 'http://deb.debian.org/debian bullseye-updates InRelease' is not signed.
[xxx-player]
[xxx-player]       apt failed, retrying
[xxx-player]       W: GPG error: http://deb.debian.org/debian bullseye InRelease: At least one invalid signature was encountered.
[xxx-player]       E: The repository 'http://deb.debian.org/debian bullseye InRelease' is not signed.
[xxx-player]       W: GPG error: http://deb.debian.org/debian-security bullseye-security InRelease: At least one invalid signature was encountered.
[xxx-player]       E: The repository 'http://deb.debian.org/debian-security bullseye-security InRelease' is not signed.
[xxx-player]       W: GPG error: http://deb.debian.org/debian bullseye-updates InRelease: At least one invalid signature was encountered.
[xxx-player]       E: The repository 'http://deb.debian.org/debian bullseye-updates InRelease' is not signed.
[xxx-player]
[xxx-player]       apt failed, retrying
[xxx-box]          Removing intermediate container c14b83810164
[xxx-box]          The command '/bin/sh -c sudo apt-get update -y' returned a non-zero code: 100
[xxx-player]       W: GPG error: http://deb.debian.org/debian bullseye InRelease: At least one invalid signature was encountered.
[xxx-player]       E: The repository 'http://deb.debian.org/debian bullseye InRelease' is not signed.
[xxx-player]       W: GPG error: http://deb.debian.org/debian-security bullseye-security InRelease: At least one invalid signature was encountered.
[xxx-player]       E: The repository 'http://deb.debian.org/debian-security bullseye-security InRelease' is not signed.
[xxx-player]       W: GPG error: http://deb.debian.org/debian bullseye-updates InRelease: At least one invalid signature was encountered.
[xxx-player]       E: The repository 'http://deb.debian.org/debian bullseye-updates InRelease' is not signed.
[xxx-player]
[xxx-player]       Removing intermediate container e38540b6bf28
[xxx-player]       The command '/bin/sh -c install_packages     curl     libasound2     libdrm2     libgbm1     libgdk-pixbuf2.0-0     libglib2.0-0     libgtk-3-0     libnss3     libx11-xcb1     libxss1     libxtst6     libgles2-mesa     libxshmfence1     mesa-utils     mesa-utils-extra     git' returned a non-zero code: 100

just a few hours ago it worked; anyone has an idea?

Thanks

@lukasknk looks like there is an issue with these libraries. Could you please check if the packages are there?

The issue was that the repo was not signed anymore. After waiting about 24hrs it seems to work again.

E: The repository 'http://deb.debian.org/debian bookworm InRelease' is not signed.
1 Like

Thanks for posting the solution @lukasknk

Let us know how we can help you more!