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

Invalid signatures 4.2-bionic #494

Closed
dnlrsr opened this issue Sep 14, 2021 · 2 comments
Closed

Invalid signatures 4.2-bionic #494

dnlrsr opened this issue Sep 14, 2021 · 2 comments
Labels
question Usability question, not directly related to an error with the image

Comments

@dnlrsr
Copy link

dnlrsr commented Sep 14, 2021

I am getting the following error, when i am starting the 4.2-bionic container and try to call apt-get update.

#7 5.581 Reading package lists...
#7 6.977 W: GPG error: http://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 Release: The following signatures were
invalid: BADSIG 4B7C549A058F8B6B MongoDB 4.2 Release Signing Key <packaging@mongodb.com>
#7 6.977 E: The repository 'http://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 Release' is not signed.

apt-key list

root@a81b6155621e:/# apt-key list
/etc/apt/trusted.gpg.d/mongodb.gpg
----------------------------------
pub   rsa4096 2018-04-18 [SC] [expires: 2023-04-17]
      E162 F504 A20C DF15 827F  718D 4B7C 549A 058F 8B6B
uid           [ unknown] MongoDB 4.2 Release Signing Key <packaging@mongodb.com>

/etc/apt/trusted.gpg.d/ubuntu-keyring-2012-archive.gpg
------------------------------------------------------
pub   rsa4096 2012-05-11 [SC]
      790B C727 7767 219C 42C8  6F93 3B4F E6AC C0B2 1F32
uid           [ unknown] Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>

/etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg
------------------------------------------------------
pub   rsa4096 2012-05-11 [SC]
      8439 38DF 228D 22F7 B374  2BC0 D94A A3F0 EFE2 1092
uid           [ unknown] Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>

/etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg
------------------------------------------------------
pub   rsa4096 2018-09-17 [SC]
      F6EC B376 2474 EDA9 D21B  7022 8719 20D1 991B C93C
uid           [ unknown] Ubuntu Archive Automatic Signing Key (2018) <ftpmaster@ubuntu.com>

When i am running apt-update --allow-insecure-repositories the update process works, but this looks a bit insecure.

@wglambert wglambert added the question Usability question, not directly related to an error with the image label Sep 14, 2021
@wglambert
Copy link

I'm not able to reproduce. It could be that you're running out of diskspace? docker-library/python#605 (comment) or some issue with the host's environment docker-library/php#898

$ docker run -it --rm mongo:4.2-bionic bash
Unable to find image 'mongo:4.2-bionic' locally
4.2-bionic: Pulling from library/mongo
e4ca327ec0e7: Pull complete
e4ccd32248f6: Pull complete
90429bad72b2: Pull complete
35e38341847d: Pull complete
f48b97a5ba7b: Pull complete
914814f56d76: Pull complete
3e3cbc9a0987: Pull complete
ef358bc49cb2: Pull complete
d5d210011b7e: Pull complete
09b54542014d: Pull complete
Digest: sha256:7f5a38d806fd6617107b041e89f99659c45a916d01117c3b0339cf6ea47faef5
Status: Downloaded newer image for mongo:4.2-bionic
root@46385bfcb30a:/# apt-get update
Ign:1 http://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 InRelease
Get:2 http://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 Release [3951 B]
Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:4 http://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 Release.gpg [801 B]
Get:5 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:6 http://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2/multiverse amd64 Packages [14.2 kB]
Get:7 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [26.7 kB]
Get:8 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1428 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:10 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [567 kB]
Get:11 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [2324 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1344 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB]
Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2760 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [600 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2202 kB]
Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [34.4 kB]
Get:21 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [11.4 kB]
Get:22 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [11.3 kB]
Fetched 23.4 MB in 4s (6346 kB/s)
Reading package lists... Done

@dnlrsr
Copy link
Author

dnlrsr commented Sep 27, 2021

Looks like a cache problem in our registry.

CLOSED

@dnlrsr dnlrsr closed this as completed Sep 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Usability question, not directly related to an error with the image
Projects
None yet
Development

No branches or pull requests

2 participants