[DOCS-9617] Ubuntu apt searches for i386 packages in the MongoDB repo: manual/tutorial/install-mongodb-on-ubuntu.txt Created: 08/Dec/16  Updated: 11/Jan/17  Resolved: 16/Dec/16

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: 3.4.0
Fix Version/s: 01112017-cleanup

Type: Bug Priority: Minor - P4
Reporter: Rigved Rakshit Assignee: Andrew Aldridge
Resolution: Duplicate Votes: 0
Labels: linux-installation
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 12.04, Ubuntu 14.04 and Ubuntu 16.06

Location: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/


Issue Links:
Duplicate
duplicates SERVER-27294 Unable to find expected entry 'multiv... Closed
is duplicated by DOCS-9616 Comment on: "manual/tutorial/install-... Closed
Related
is related to DOCS-9487 Comment on: "manual/tutorial/install-... Closed
Participants:
Days since reply: 7 years, 8 weeks, 5 days ago

 Description   

The following repository locations do not exist but they are still being searched by Ubuntu apt:

http://repo.mongodb.org/apt/ubuntu/dists/precise/mongodb-org/3.4/
http://repo.mongodb.org/apt/ubuntu/dists/trusty/mongodb-org/3.4/
http://repo.mongodb.org/apt/ubuntu/dists/xenial/mongodb-org/3.4/

This is because apt always looks for amd64 and i386 package lists by default, even when the machine is using a 64-bit kernel. Since mongodb does not support i386, please update the documentation as follows:

Current documentation:

echo "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list

Required documentation:

echo "deb [arch=amd64] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list

This should be done for all three: Ubuntu 12.04, 14.04 and 16.04.



 Comments   
Comment by Andrew Aldridge [ 16/Dec/16 ]

Fixed in DOCS-9628

Comment by Andrew Aldridge [ 08/Dec/16 ]

rigved Thank you for the report!

We won't take this solution as-is because it would break our support for non-x86 platforms.

Is this a fatal error, or just a warning?

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