title: Installing Mongodb "no section headers." Error
body: <p>I am trying to install mongodb on Centos 6.6. I am following the steps here: <a href="https://www.liquidweb.com/kb/how-to-install-mongodb-on-centos-6/" rel="nofollow noreferrer">https://www.liquidweb.com/kb/how-to-install-mongodb-on-centos-6/</a></p>
  
  <p>I have added the following (where it states on the tutorial):</p>
  
  <pre><code>[mongodb]
  name=MongoDB Repository
  baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/
  gpgcheck=0
  enabled=1
  </code></pre>
  
  <p>As you can see here:</p>
  
  <p><a href="https://i.stack.imgur.com/YvIAG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YvIAG.png" alt="enter image description here"></a></p>
  
  <p>However, when I try and install I get the following error</p>
  
  <p><a href="https://i.stack.imgur.com/3De9K.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3De9K.png" alt="enter image description here"></a></p>
  
  <p>Where am I going wrong?</p>
  
  <p>My file listing for <code>/etc/yum.repos.d</code> is;</p>
  
  <pre><code>4.0K drwxr-xr-x 2 root root 4.0K Jun 26 13:12 .
  4.0K drwxr-xr-x 66 root root 4.0K Jun 24 14:19 ..
  4.0K -rw-r--r-- 1 root root 2.0K Oct 23 2014 CentOS-Base.repo
  4.0K -rw-r--r-- 1 root root 647 Oct 23 2014 CentOS-Debuginfo.repo
  4.0K -rw-r--r-- 1 root root 289 Oct 23 2014 CentOS-fasttrack.repo
  4.0K -rw-r--r-- 1 root root 630 Oct 23 2014 CentOS-Media.repo
  8.0K -rw-r--r-- 1 root root 5.3K Oct 23 2014 CentOS-Vault.repo
  4.0K -rw-r--r-- 1 root root 1.1K Jul 3 2015 city-fan.org.repo
  4.0K -rw-r--r-- 1 root root 191 Jun 26 12:56 mongodb-org-3.2.repo
  12K -rw------- 1 root root 12K Jun 26 12:53 .mongodb-org-3.2.repo.swp
  4.0K -rw-r--r-- 1 root root 200 Jun 26 13:12 mongodb-org-3.4.repo
  12K -rw------- 1 root root 12K Jun 26 12:55 .mongodb-org.repo.swp
  12K -rw------- 1 root root 12K Jun 24 14:16 .mongodb.repo.swp
  4.0K -rw-r--r-- 1 root root 472 Apr 26 2016 nodesource-el.repo
  4.0K -rw-r--r-- 1 root root 219 Dec 18 2013 vz.repo
  </code></pre>