Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13691

Provided signing key does not match Debian buster packages

      Description

      The current installation instructions advise to execute the following command to obtain a valid signing key for the MongoDB 4.2 server:

      wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -
      

      This currently yields a key with the following fingerprint:

      E162 F504 A20C DF15 827F  718D 4B7C 549A 058F 8B6B

      However, the packages currently available seem to be signed with 656408E390CFB1F5.

      Therefore, the installation instructions currently fail:

      wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | apt-key add 
      Warning: apt-key output should not be parsed (stdout is not a terminal)
      OK
      echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main" | tee /etc/apt/sources.list.d/mongodb-org-4.2.list
      deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main
      apt-get update
      Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
      Ign:2 http://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 InRelease
      Get:3 http://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 Release [1488 B]
      Get:4 http://deb.debian.org/debian buster InRelease [121 kB]
      Get:5 http://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 Release.gpg [801 B]
      Get:6 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
      Get:7 http://security.debian.org/debian-security buster/updates/main amd64 Packages [201 kB]
      Ign:5 http://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 Release.gpg
      Get:8 http://deb.debian.org/debian buster/main amd64 Packages [7905 kB]
      Get:9 http://deb.debian.org/debian buster-updates/main amd64 Packages [7592 B]
      Reading package lists...
      W: GPG error: http://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 656408E390CFB1F5
      E: The repository 'http://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 Release' is not signed.

      {{}}

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

            Assignee:
            ravind.kumar Ravind Kumar (Inactive)
            Reporter:
            johannes.wienke@plan.one Johannes Wienke
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              3 years, 45 weeks, 2 days ago