[DOCS-8636] Comment on: "manual/tutorial/install-mongodb-on-ubuntu.txt" Created: 19/Aug/16  Updated: 31/Oct/16  Resolved: 12/Sep/16

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Docs Collector User (Inactive) Assignee: Andrew Aldridge
Resolution: Cannot Reproduce Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
Referrer: https://www.google.com/url?hl=en&q=https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/&sa=D&ust=1471726215771000&usg=AFQjCNHliC1u_YbFbEhkxa19a-lhiOg92g
Screen Resolution: 1920 x 1200


Participants:
Days since reply: 7 years, 15 weeks, 2 days ago
Story Points: 0.25

 Description   

I have installed the key and I have the following error:

WARNING: The following packages cannot be authenticated!
mongodb-org-shell mongodb-org-server mongodb-org-mongos mongodb-org-tools
mongodb-org
E: There were unauthenticated packages and -y was used without --allow-unauthenticated



 Comments   
Comment by Felipe Soares da Costa [ 31/Oct/16 ]

$ md5sum /var/cache/apt/archives/mongodb-org_2.6.9_amd64.deb
fab36081654248caea8b1fe24d4b5ba1 /var/cache/apt/archives/mongodb-org_2.6.9_amd64.deb

$ apt-key finger 7F0CEB10
pub 2048R/7F0CEB10 2010-02-05
Key fingerprint = 492E AFE8 CD01 6A07 919F 1D2B 9ECB EC46 7F0C EB10
uid Richard Kreuter <richard@10gen.com>
sub 2048R/A89B0149 2010-02-05

Comment by Andrew Aldridge [ 31/Oct/16 ]

Hello fscosta,

Could you please provide the results of:

md5sum /var/cache/apt/archives/mongodb-org_2.6.9_amd64.deb
apt-key finger 7F0CEB10

Comment by Felipe Soares da Costa [ 31/Oct/16 ]

I'm having this problem right now.
My OS and version: Ubuntu 16.04 LTS

---------------------------------------------
sudo apt-get install -y mongodb-org=2.6.9 mongodb-org-server=2.6.9 mongodb-org-shell=2.6.9 mongodb-org-mongos=2.6.9 mongodb-org-tools=2.6.9
Reading package lists... Done
Building dependency tree
Reading state information... Done
mongodb-org-mongos is already the newest version (2.6.9).
mongodb-org-server is already the newest version (2.6.9).
mongodb-org-shell is already the newest version (2.6.9).
mongodb-org-tools is already the newest version (2.6.9).
The following package was automatically installed and is no longer required:
linux-image-extra-4.4.0-21-generic
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
mongodb-org
0 upgraded, 1 newly installed, 0 to remove and 304 not upgraded.
Need to get 0 B/3.650 B of archives.
After this operation, 49,2 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
mongodb-org
E: There were unauthenticated packages and -y was used without --allow-unauthenticated
---------------------------------------------

sudo apt-get update

Ign:8 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 InRelease
Hit:9 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release
Ign:15 http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist InRelease
Hit:18 http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist Release
Get:22 http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist Release.gpg [490 B]
Fetched 195 kB in 1s (162 kB/s)
Reading package lists... Done
W: http://downloads-distro.mongodb.org/repo/ubuntu-upstart/dists/dist/Release.gpg: Signature by key 492EAFE8CD016A07919F1D2B9ECBEC467F0CEB10 uses weak digest algorithm (SHA1)

-------------------------------------------------------

I had a previous Mongodb 3.2 installed which I purged (sudo apt-get purge mongodb-org). Then I tried to install a version (2.6.9) and ran into this problem.

Comment by Andrew Aldridge [ 12/Sep/16 ]

I'm not sure what would cause this problem, but I cannot reproduce on a fresh Ubuntu 16.04 install.

Generated at Thu Feb 08 07:56:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.