[DOCS-6835] Documented steps fail for 3.0.8 enterprise installation on Ubuntu 12.04 LTS Created: 17/Dec/15  Updated: 11/Jan/17  Resolved: 23/Dec/15

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

Type: Task Priority: Critical - P2
Reporter: Muthu Chinnasamy (Inactive) Assignee: Andrew Aldridge
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Participants:
Days since reply: 8 years, 8 weeks ago

 Description   

Following through the 3.0 Ubuntu 12.04LTS documentation for enterprise install.

After importing the keys, I have the below file created

$ sudo cat /etc/apt/sources.list.d/mongodb-enterprise.list
deb http://repo.mongodb.com/apt/ubuntu precise/mongodb-enterprise/stable multiverse

Steps 3 & 4 run into the below errors:

{no format}

$ sudo apt-get update
<<snip>>
Hit http://security.ubuntu.com precise-security/universe Translation-en
Hit http://repo.mongodb.com precise/mongodb-enterprise/stable/multiverse amd64 Packages
Hit http://repo.mongodb.com precise/mongodb-enterprise/stable/multiverse i386 Packages
Ign http://repo.mongodb.com precise/mongodb-enterprise/stable/multiverse Translation-en_US
Ign http://repo.mongodb.com precise/mongodb-enterprise/stable/multiverse Translation-en
Fetched 801 B in 2s (275 B/s)
Reading package lists...
W: GPG error: http://repo.mongodb.com precise/mongodb-enterprise/stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D68FA50FEA312927

$ sudo apt-get install -y mongodb-enterprise=3.0.8 mongodb-enterprise-server=3.0.8 mongodb-enterprise-shell=3.0.8 mongodb-enterprise-mongos=3.0.8 mongodb-enterprise-tools=3.0.8
<<snip>>
Reading package lists...
Building dependency tree...
Reading state information...
E: Version '3.0.8' for 'mongodb-enterprise' was not found
E: Version '3.0.8' for 'mongodb-enterprise-server' was not found
E: Version '3.0.8' for 'mongodb-enterprise-shell' was not found
E: Version '3.0.8' for 'mongodb-enterprise-mongos' was not found
E: Version '3.0.8' for 'mongodb-enterprise-tools' was not found

 



 Comments   
Comment by Githook User [ 23/Dec/15 ]

Author:

{u'username': u'i80and', u'name': u'Andrew Aldridge', u'email': u'i80and@foxquill.com'}

Message: DOCS-6835: Fix 3.0 install instructions

Signed-off-by: kay <kay.kim@10gen.com>
Branch: v3.0
https://github.com/mongodb/docs/commit/48dea68a866fece13da8680299866674c0be13e6

Comment by Ernie Hershey [ 18/Dec/15 ]

Oh, I think there is a problem there. The stable repos only contain 3.2 now; they don't contain 3.0 versions. I think this may have confusingly worked in some cases for old package versions, but 3.0 installation should definitely point to "3.0" repos instead of "stable" repos. It's probably safest to never refer to "stable" repos and always specifically point to each release series, as we do in the community 3.2 docs.

3.0 Enterprise docs referencing stable repos - https://docs.mongodb.org/v3.0/tutorial/install-mongodb-enterprise-on-ubuntu/#create-a-etc-apt-sources-list-d-mongodb-enterprise-list-file-for-mongodb
3.2 Enterprise docs referencing stable repos - https://docs.mongodb.org/master/tutorial/install-mongodb-enterprise-on-ubuntu/#create-a-etc-apt-sources-list-d-mongodb-enterprise-list-file-for-mongodb

3.0 Community docs referencing 3.0 repos - https://docs.mongodb.org/v3.0/tutorial/install-mongodb-on-ubuntu/#create-a-list-file-for-mongodb
3.2 Community docs referencing 3.2 repos - https://docs.mongodb.org/master/tutorial/install-mongodb-on-ubuntu/#create-a-list-file-for-mongodb

I don't think this is a deliberate difference between community and enterprise docs, is it? Unless it its, I think we should update the enterprise docs to match the community docs. The semantics in the packages and repos are exactly the same.

Comment by Muthu Chinnasamy (Inactive) [ 17/Dec/15 ]

After fixing step 2 as below,3.0.8 enterprise installation succeeded. Please review and correct the 3.0 documentation.

 
echo "deb http://repo.mongodb.com/apt/ubuntu precise/mongodb-enterprise/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-enterprise.list

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