Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building for arm32 Rasbian fails after update to v0.8.0 #60

Open
whowantsmybigdata opened this issue Feb 3, 2021 · 4 comments
Open
Labels
bug Something isn't working

Comments

@whowantsmybigdata
Copy link

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)
@zeratax
Copy link
Owner

zeratax commented Feb 3, 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

@whowantsmybigdata
Copy link
Author

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.

@zeratax
Copy link
Owner

zeratax commented May 27, 2021

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

@whowantsmybigdata
Copy link
Author

whowantsmybigdata commented May 27, 2021

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants