1 / 1
Oct 2024

Trying to install the latest version of mongodb server on Rocky Linux 9.4 (which is a VM)

Following the instructions at https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-red-hat. Created the repo file and then tried to install and got the following output:

MongoDB Repository 2.2 kB/s | 13 kB 00:05 Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: mongodb-org x86_64 8.0.3-1.el9 mongodb-org-8.0 9.3 k Installing dependencies: mongodb-database-tools x86_64 100.10.0-1 mongodb-org-8.0 24 M mongodb-mongosh x86_64 2.3.2-1.el8 mongodb-org-8.0 56 M mongodb-org-database x86_64 8.0.3-1.el9 mongodb-org-8.0 9.4 k mongodb-org-database-tools-extra x86_64 8.0.3-1.el9 mongodb-org-8.0 14 k mongodb-org-mongos x86_64 8.0.3-1.el9 mongodb-org-8.0 29 M mongodb-org-server x86_64 8.0.3-1.el9 mongodb-org-8.0 39 M mongodb-org-tools x86_64 8.0.3-1.el9 mongodb-org-8.0 9.3 k Transaction Summary ================================================================================ Install 8 Packages Total download size: 149 M Installed size: 701 M Is this ok [y/N]: y Downloading Packages: (1/8): mongodb-org-8.0.3-1.el9.x86_64.rpm 32 kB/s | 9.3 kB 00:00 (2/8): mongodb-org-database-8.0.3-1.el9.x86_64. 24 kB/s | 9.4 kB 00:00 (3/8): mongodb-org-database-tools-extra-8.0.3-1 33 kB/s | 14 kB 00:00 (4/8): mongodb-database-tools-100.10.0-1.x86_64 20 MB/s | 24 MB 00:01 (5/8): mongodb-mongosh-2.3.2.x86_64.rpm 27 MB/s | 56 MB 00:02 (6/8): mongodb-org-tools-8.0.3-1.el9.x86_64.rpm 24 kB/s | 9.3 kB 00:00 (7/8): mongodb-org-mongos-8.0.3-1.el9.x86_64.rp 21 MB/s | 29 MB 00:01 (8/8): mongodb-org-server-8.0.3-1.el9.x86_64.rp 23 MB/s | 39 MB 00:01 -------------------------------------------------------------------------------- Total 51 MB/s | 149 MB 00:02 MongoDB Repository 2.5 kB/s | 1.6 kB 00:00 Importing GPG key 0x4E7DCA05: Userid : "MongoDB 8.0 Release Signing Key <packaging@mongodb.com>" Fingerprint: 4B07 52C1 BCA2 38C0 B4EE 14DC 41DE 058A 4E7D CA05 From : https://pgp.mongodb.com/server-8.0.asc Is this ok [y/N]: y Key imported successfully Public key for mongodb-org-8.0.3-1.el9.x86_64.rpm is not installed. Failing package is: mongodb-org-8.0.3-1.el9.x86_64 GPG Keys are configured as: https://pgp.mongodb.com/server-8.0.asc Public key for mongodb-org-database-8.0.3-1.el9.x86_64.rpm is not installed. Failing package is: mongodb-org-database-8.0.3-1.el9.x86_64 GPG Keys are configured as: https://pgp.mongodb.com/server-8.0.asc Public key for mongodb-org-database-tools-extra-8.0.3-1.el9.x86_64.rpm is not installed. Failing package is: mongodb-org-database-tools-extra-8.0.3-1.el9.x86_64 GPG Keys are configured as: https://pgp.mongodb.com/server-8.0.asc Public key for mongodb-org-mongos-8.0.3-1.el9.x86_64.rpm is not installed. Failing package is: mongodb-org-mongos-8.0.3-1.el9.x86_64 GPG Keys are configured as: https://pgp.mongodb.com/server-8.0.asc Public key for mongodb-org-server-8.0.3-1.el9.x86_64.rpm is not installed. Failing package is: mongodb-org-server-8.0.3-1.el9.x86_64 GPG Keys are configured as: https://pgp.mongodb.com/server-8.0.asc Public key for mongodb-org-tools-8.0.3-1.el9.x86_64.rpm is not installed. Failing package is: mongodb-org-tools-8.0.3-1.el9.x86_64 GPG Keys are configured as: https://pgp.mongodb.com/server-8.0.asc The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: GPG check FAILED

I know I can do the install with gpgcheck disabled but I did an install about a week ago and had no issues. This is a new VM with a fresh install of Rocky linux 9.4.