Arm64: xenial: Failed to fetch mongodb amd64 repository

It seems apt-get update is failed on arch: arm64 and dist: xenial environment by following error.

It is related to the mongodb repository issue. It is trying to get mongodb binary repository for amd64, not arm64, seeing the log.

$ tool/ sudo apt-get update -yq
+ sudo apt-get update -yq
W: GPG error: xenial/mongodb-org/4.0 Release: The following signatures were invalid: BADSIG 68818C72E52529D4 MongoDB 4.0 Release Signing Key <>
W: The repository ' xenial/mongodb-org/4.0 Release' is not signed.
E: Failed to fetch  Writing more data than expected (296872 > 286809)

We hit the same problem. It seems an amd64 repository is enabled on the arm64 environment.


We are also hitting the same problem for arm64 builds in multiple repositories.

I saw it too:

I switched to “dist: bionic” in order to avoid this issue.

The arm64 image seems to have been fixed. This arm64 job succeeded again.

1 Like

Yeah, it looks fixed now.

1 Like