title: You have held broken packages - Postgres gem for rails
body: <p>So when ever I attempt to do bundle install I am told to make sure the pg gem is installed successfully, so when I do the <code>gem install pg vx.xx</code> I get:</p>
  
  <pre><code>Building native extensions.  This could take a while...
  ERROR:  Error installing pg:
      ERROR: Failed to build gem native extension.
  
      /home/adam/.rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb
  checking for pg_config... yes
  Using config values from /usr/bin/pg_config
  You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application.
  You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application.
  checking for libpq-fe.h... no
  Can't find the 'libpq-fe.h header
  *** extconf.rb failed ***
  </code></pre>
  
  <p>So then I do:</p>
  
  <pre><code>sudo apt-get install libpq-dev
  </code></pre>
  
  <p>But I get</p>
  
  <pre><code>The following packages have unmet dependencies:
   libpq-dev : Depends: libpq5 (= 9.1.14-0ubuntu0.12.04) but 9.3.5-1.pgdg12.4+1 is to be installed
  E: Unable to correct problems, you have held broken packages.
  </code></pre>
  
  <p>So I have 9.1 of everything else installed from postgres and pgadmin, and I have any 9.3 repos disabled. I have done a <code>sudo apt-get update</code> but I think the error is pretty obvious. So How do I make it not try and install 9.3.5 .... and go with 9.1.14?</p>