title: installing GeoDjango--postGIS package broken
body: <p>In trying to install GeoDjango as per <a href="https://docs.djangoproject.com/en/1.7/ref/contrib/gis/install/postgis/" rel="nofollow">the docs</a>, I'm running into some package dependency issues. I'm using fabric, though I doubt that's relevant. My understanding is that after <code>fabtools.require.deb.install('binutils libproj-dev gdal-bin python-gdal libgeoip1')</code> which completes successfully, I should be able to install postGIS, the attempt and output below:   </p>
  
  <pre><code>[localhost] sudo: DEBIAN_FRONTEND=noninteractive apt-get install --quiet --assume-yes postgresql-9.3-postgis-2.1
  [localhost] out: Reading package lists...
  [localhost] out: Building dependency tree...
  [localhost] out: Reading state information...
  [localhost] out: Some packages could not be installed. This may mean that you have
  [localhost] out: requested an impossible situation or if you are using the unstable
  [localhost] out: distribution that some required packages have not yet been created
  [localhost] out: or been moved out of Incoming.
  [localhost] out: The following information may help to resolve the situation:
  [localhost] out: 
  [localhost] out: The following packages have unmet dependencies:
  [localhost] out:  postgresql-9.3-postgis-2.1 : Depends: libgdal1 (&gt;= 1.9.0) but it is not going to be installed
  [localhost] out:                               Recommends: postgis but it is not going to be installed
  [localhost] out: E: Unable to correct problems, you have held broken packages.
  </code></pre>
  
  <p>This is a deviation from the docs themselves, but using <code>postgresql-9.3-postgis</code> as indicated in the docs results in this error: </p>
  
  <pre><code>[localhost] sudo: DEBIAN_FRONTEND=noninteractive apt-get install --quiet --assume-yes postgresql-9.3-postgis
  [localhost] out: Reading package lists...
  [localhost] out: Building dependency tree...
  [localhost] out: Reading state information...
  [localhost] out: Package postgresql-9.3-postgis is not available, but is referred to by another package.
  [localhost] out: This may mean that the package is missing, has been obsoleted, or
  [localhost] out: is only available from another source
  [localhost] out: 
  [localhost] out: E: Package 'postgresql-9.3-postgis' has no installation candidate
  </code></pre>
  
  <p>which seems even less helpful. </p>
  
  <p>here's a little of the investigating that I've done:</p>
  
  <pre><code>$ dpkg --get-selections | grep hold
  $ dpkg --get-selections | grep gdal
  gdal-bin                    install
  libgdal1h                   install
  python-gdal                 install
  $ apt show libgdal1h
  ...
  Replaces: libgdal1 (&lt;= 1.10.0-0~), libgdal1-1.6.0 (&lt;= 1.10.0-0~)
  ...
  Breaks: libgdal1 (&lt;= 1.10.0-0~), libgdal1-1.6.0 (&lt;= 1.10.0-0~)
  ...
  </code></pre>
  
  <p>So it looks like libgdal1h is the issue...or that the postgresql-9.3-postgis package depends on a now obsolete package which is itself replaced by libgdal1h, which, I suppose, was included in one of the first packages installed (like gdal-bin). But I'm not sure where to go from here...</p>