matrix-registration
matrix-registration copied to clipboard
Building for arm32 Rasbian fails after update to v0.8.0
Describe the bug
Building for arm32 (Raspbian/Debian Buster) fails after update to v0.8.0.
To Reproduce
I use the "matrix-docker-ansible-deploy" from "spantaleev" and after using the newest version (with matrix-registration v0.8.0) the playbook fails with this message:
Error log
fatal: [matrix.[domain hidden]]: FAILED! => {"changed": false, "msg": "Error building localhost/illagrenan/pgloader - code: 100, message: The command '/bin/sh -c apt-get update && apt-get install -y --no-install-recommends bzip2 ca-certificates curl freetds-dev gawk git libsqlite3-dev libssl1.1 libzip-dev make openssl patch sbcl time unzip wget cl-ironclad cl-babel && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100, logs: [u'Step 1/7 : FROM debian:bullseye-slim as builder', u'\\n', u' ---> d0609bb53fd3\\n', u'Step 2/7 : ARG PGLOADER_VERSION=v3.6.2', u'\\n', u' ---> Using cache\\n', u' ---> 14f52a4736cf\\n', u'Step 3/7 : RUN apt-get update && apt-get install -y --no-install-recommends bzip2 ca-certificates curl freetds-dev gawk git libsqlite3-dev libssl1.1 libzip-dev make openssl patch sbcl time unzip wget cl-ironclad cl-babel && rm -rf /var/lib/apt/lists/*', u'\\n', u' ---> Running in a5b0e4b6d01c\\n', u'Get:1 http://deb.debian.org/debian bullseye InRelease [123 kB]\\n', u'Get:2 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB]\\n', u'Get:3 http://deb.debian.org/debian bullseye-updates InRelease [40.1 kB]\\n', u'Err:2 http://security.debian.org/debian-security bullseye-security InRelease\\n At least one invalid signature was encountered.\\n', u'Err:1 http://deb.debian.org/debian bullseye InRelease\\n At least one invalid signature was encountered.\\n', u'Err:3 http://deb.debian.org/debian bullseye-updates InRelease\\n At least one invalid signature was encountered.\\n', u'Reading package lists...', u'\\n', u\"\\x1b[91mW: GPG error: http://security.debian.org/debian-security bullseye-security InRelease: At least one invalid signature was encountered.\\nE: The repository 'http://security.debian.org/debian-security bullseye-security InRelease' is not signed.\\nW: GPG error: http://deb.debian.org/debian bullseye InRelease: At least one invalid signature was encountered.\\nE: The repository 'http://deb.debian.org/debian bullseye InRelease' is not signed.\\nW: GPG error: http://deb.debian.org/debian bullseye-updates InRelease: At least one invalid signature was encountered.\\nE: The repository 'http://deb.debian.org/debian bullseye-updates InRelease' is not signed.\\n\\x1b[0m\", u'Removing intermediate container a5b0e4b6d01c\\n']"}
Expected behavior
Including v0.7.2 the playbook build matrix-registration for arm32 flawlessly.
System:
- OS: Debian (Raspbian) 10 Buster
- python version: 3.7.3
- matrix registration version: 0.8.0
- matrix-docker-ansible-deploy git pulled today (3rd Feb. 2021)
that's what I get for building docker images with nix. not sure if I can easily fix this, otherwise I'll just have to go back to using a dockerfile
Any news?! besides I didn't understand what you meant with your last message I still cannot build matrix-registration with the exact same error-message. Too bad as the tool was really handy.
sorry about the way too long delay, didn't really have the time to reproduce this. it seems weird that it complains about gpg issues?
like it fails at just installing basic debian packages?
At least one invalid signature was encountered.
E: The repository 'http://security.debian.org/debian-security bullseye-security InRelease' is not signed.
W: GPG error: http://deb.debian.org/debian bullseye InRelease: At least one invalid signature was encountered.
E: The repository 'http://deb.debian.org/debian bullseye InRelease' is not signed.
W: GPG error: http://deb.debian.org/debian bullseye-updates InRelease: At least one invalid signature was encountered.
E: The repository 'http://deb.debian.org/debian bullseye-updates InRelease' is not signed.
maybe this is relevant? https://stackoverflow.com/a/62510927
No worries about the delay, thanks for answering! Maybe its relevant but I do cleanup the repos frequently and I also did a docker prune... same problem. The thing I don't understand is that it tries to fetch packages for Debian bullseye although I use buster and of course don't have any certs for the bullseye repos...