[DOCS-1240] Update package installation docs for version pinning in 2.4 Created: 15/Mar/13  Updated: 19/Mar/13  Due: 19/Mar/13  Resolved: 19/Mar/13

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

Type: Task Priority: Major - P3
Reporter: Ernie Hershey Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 10 years, 48 weeks, 1 day ago

 Description   

After talking to dan@10gen.com and samk, we should document how installation of different versions of packages will work once 2.4 is out.

For example on these pages there are new mechanisms for specifying old versions:
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux/
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian/

Using package names with versions in them will be deprecated but will still work:
RedHat/CentOS/Fedora:
mongo18-10gen
mongo18-10gen-server
mongo20-10gen
mongo20-10gen-server

Debian/Ubuntu:
mongodb18-10gen
mongodb20-10gen

We won't generate any packages named mongo22-*.

Versions 2.2.x and 2.4.x (and future stable releases) will be available with these packages:

RedHat/CentOS/Fedora:
mongo-10gen
mongo-10gen-server

Debian/Ubuntu:
mongodb-10gen

Under the "Installing MongoDB" section there are two new relevant commands:

1) Installing a specific version:
RedHat/CentOS/Fedora:
yum install mongo-10gen-server-2.2.3
Debian/Ubuntu:
apt-get install mongodb-10gen=2.2.3

2) Pinning to a specific version:
RedHat/CentOS/Fedora:
add "exclude=mongo-10gen,mongo-10gen-server" to /etc/yum.conf, or install the yum "versionlock" plugin and run "sudo yum versionlock mongo-10gen mongo-10gen-server"
Debian/Ubuntu:
echo mongodb-10gen hold | dpkg --set-selections

I hope this is clear enough. I can help organize better or add more detail or make the actual changes.



 Comments   
Comment by auto [ 19/Mar/13 ]

Author:

{u'date': u'2013-03-18T21:58:23Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-1240 new package infrastructure
Branch: master
https://github.com/mongodb/docs/commit/4966d6276d5e0ca0a54d703892a86210e0b8d587

Comment by auto [ 19/Mar/13 ]

Author:

{u'date': u'2013-03-18T21:58:23Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-1240 new package infrastructure
Branch: v2.2
https://github.com/mongodb/docs/commit/29c18775618f19373f21f82ae345a7ccb4f31812

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