[DOCS-9487] Comment on: "manual/tutorial/install-mongodb-on-ubuntu.txt" Created: 04/Dec/16  Updated: 27/Oct/23  Resolved: 05/Dec/16

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

Type: Bug Priority: Major - P3
Reporter: Docs Collector User (Inactive) Assignee: Andrew Aldridge
Resolution: Works as Designed Votes: 1
Labels: collector-298ba4e7, 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/
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0
Screen Resolution: 1920 x 1080


Issue Links:
Related
related to DOCS-9617 Ubuntu apt searches for i386 packages... Closed
Participants:
Days since reply: 7 years, 9 weeks, 6 days ago

 Description   

The following repository locations do not exist but they are still mentioned in the installation instructions:

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/



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

I can't reproduce this on a fresh installation. However, the warning looks nonfatal; you should be able to install mongodb-org despite it.

Comment by Andrew Aldridge [ 08/Dec/16 ]

That change will exclude our other platforms: s390x, PPC64LE, and ARM64.

Comment by Rigved Rakshit [ 08/Dec/16 ]

This is because apt always looks for amd64 and i386 package lists by default, even when the machine . 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.

Comment by alplatonov [ 04/Dec/16 ]

Can't install mongodb-org package from repo.mongodb.org repo on ubuntu. I follow this instruction
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/#create-a-list-file-for-mongodb

Error:
~ $ cat mongodb-org-3.4.list
deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.4 multiverse

sudo apt-get update
...
Get:3 http://repo.mongodb.org trusty/mongodb-org/3.4/multiverse amd64 Packages [2 113 B]
Fetched 4 084 B in 3s (1 350 B/s)
W: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/trusty/mongodb-org/3.4/Release Unable to find expected entry 'multiverse/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

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