[SERVER-1784] Packaging: Use correct Ubuntu version for sources.list Created: 13/Sep/10  Updated: 12/Jul/16  Resolved: 17/Mar/11

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

Type: Bug Priority: Minor - P4
Reporter: Roger Binns Assignee: Richard Kreuter (Inactive)
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 10.04


Operating System: Linux
Participants:

 Description   

http://www.mongodb.org/display/DOCS/Ubuntu+and+Debian+packages

Note that the correct Ubuntu version numbers are two digits in both parts. ie it is 10.04 not 10.4. In order to automate adding the repository I call "lsb_release -rs" which gives the correct (two digits) version number.

In the short term can you make a link on your web server so that 10.04 and 10.4 are the same directory? In the longer term please update to use the correct version numbers.

You can see how medibuntu document adding their repository (automatically detecting the Ubuntu version although they use the name not number): https://help.ubuntu.com/community/Medibuntu#Adding the Repository

Something similar for mongo would be:

echo "deb http://downloads.mongodb.org/distros/ubuntu `lsb_release -rs` 10gen" | sudo tee /etc/apt/sources.list.d/mongodb.list
sudo apt-key adv --recv 7F0CEB10
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install mongodb



 Comments   
Comment by Richard Kreuter (Inactive) [ 17/Mar/11 ]

We no longer employ Debian or Ubuntu release numbers in our repository layouts.

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