Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
50 lines (33 sloc) 2.25 KB
layout title description date author index-image-url index-image-alt keywords categories
From the Snap Support Team: Package Upgrades
Here are three easy troubleshooting tips for common problems on Snap
Ankit Srivastava
tips from the Snap CI support team
snap-ci, deploy software, continuous delivery, software delivery, debugging, snap shell, sudo, continuous integration, package upgrades

From the Snap CI Support Desk{: .screenshot .big}

At the Snap support desk, we commonly get requests related to package versions. It could be a package of a language (such as Ruby, PHP, etc.), a browser (Firefox, ChromeDriver, etc) or it could be database-related. As mentioned earlier, Snap gives you full "sudo" access through which you can get any package version compatible with our OS.

To work through an example, let’s see how we can get a higher, OS-compatible version of MongoDB. Currently, most of our users are using v2.4 and there are some upgrades in higher versions which are no longer supported in v2.4. Because of this, we don't want to break users' build and so keep v2.4 for now.

Step 1 : Create a secure file mongodb.repo and add below content to the file.

name=MongoDB Repository

Create a secure MongoDB file{: .screenshot .big}

Step 2 : Add below command to install Mongodb and start it.

sudo mv mongodb.repo /etc/yum.repos.d/
sudo yum install -y mongodb-org
mongod --version

Add commond to install MongoDB{: .screenshot .big}

That's it! You've done it. If not, you can always contact us for help.

Read more from our From the Snap Support Team series.

Snap CI © 2017, ThoughtWorks

You can’t perform that action at this time.