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/travis_retry.sh sudo apt-get update -yq
+ sudo apt-get update -yq
...
W: GPG error: https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.0 Release: The following signatures were invalid: BADSIG 68818C72E52529D4 MongoDB 4.0 Release Signing Key <packaging@mongodb.com>
W: The repository 'https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/4.0 Release' is not signed.
E: Failed to fetch https://repo.mongodb.org/apt/ubuntu/dists/xenial/mongodb-org/4.0/multiverse/binary-amd64/Packages  Writing more data than expected (296872 > 286809)
...

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

Ceph-CSI#873

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

I saw it too:
https://travis-ci.org/github/stephengold/Libbulletjme/jobs/664248974

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
Imprint