[SERVER-17777] MongDB 3.0.1 fails to install on Linux Mint 17.1 using web installation instructions Created: 27/Mar/15  Updated: 09/May/15  Resolved: 30/Mar/15

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: 3.0.1
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Scott Fredericksen Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Steps To Reproduce:

%> sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
[sudo] password for scott:
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.xi6z5b0aRu --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
gpg: requesting key 7F0CEB10 from hkp server keyserver.ubuntu.com
gpg: key 7F0CEB10: public key "Richard Kreuter <richard@10gen.com>" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)

%> echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
deb http://repo.mongodb.org/apt/ubuntu rebecca/mongodb-org/3.0 multiverse

%> sudo apt-get update
... <not shown>
Err http://repo.mongodb.org rebecca/mongodb-org/3.0/multiverse amd64 Packages
404 Not Found
Err http://repo.mongodb.org rebecca/mongodb-org/3.0/multiverse i386 Packages
404 Not Found

W: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/rebecca/mongodb-org/3.0/multiverse/binary-amd64/Packages 404 Not Found

W: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/rebecca/mongodb-org/3.0/multiverse/binary-i386/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

Participants:

 Description   

MongDB 3.0.1 fails to install on Linux Mint 17.1 using web installation instructions found here: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/



 Comments   
Comment by Evgeniy Poremchuk [ 09/May/15 ]

Ok. Sorry, your right - it was really Ubuntu 15.

Comment by Ramon Fernandez Marina [ 09/May/15 ]

riko, looks like you're not trying to install on Ubuntu 14 but on Ubuntu 15.04; please see SERVER-17742 for more information and a workaround.

Comment by Evgeniy Poremchuk [ 08/May/15 ]

Hi guys! I have got the same problem with my Ubuntu 14.

1. sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
2. echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
3. sudo apt-get update
--------------
Err http://repo.mongodb.org vivid/mongodb-org/3.0/multiverse i386 Packages
404 Not Found
Ign http://repo.mongodb.org vivid/mongodb-org/3.0/multiverse Translation-en_US
Ign http://repo.mongodb.org vivid/mongodb-org/3.0/multiverse Translation-en
W: Failed to fetch http://repo.mongodb.org/apt/ubuntu/dists/vivid/mongodb-org/3.0/multiverse/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
------------------
4. Anyway I tried run setup
------------------
root@RikoOnRails:~# sudo apt-get install -y mongodb-org
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mongodb-org
------------------

Please, fix the bag.

Comment by Scott Fredericksen [ 30/Mar/15 ]

Ramon,

Linux Mint is based on Ubuntu. Version 17 is based on Ubuntu 14.04 (http://www.linuxmint.com/rel_qiana_cinnamon.php), therefore, I assumed that the Ubuntu instructions would be equivalent (as they are with all other packages that I have installed). Once I made the changes you recommended, I was able to install MongoDB 3.0.1.

Thanks for providing a fix.
Scott

Comment by Ramon Fernandez Marina [ 27/Mar/15 ]

sfrederi, the instructions you mention are for Ubuntu, not Mint. Since we currently don't have Mint-specific packages and 'rebecca' is based on 'trusty', please change "$(lsb_release -sc)" to trusty to install the Ubuntu packages.

Generated at Thu Feb 08 03:45:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.