Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to install opengeo-suite and it seems due to some reason I am unable to install due to the libgdal unable to be unpacked.

This is the error I get everytime i execute apt-get install opengeo-suite

Unpacking libgdal (from .../libgdal_1.8.1-1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/libgdal_1.8.1-1_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/gdal-config', which is also in package libgdal-dev 1.9.0-1~exp5p1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)


Unpacking opengeo-suite (from .../opengeo-suite_2.5_amd64.deb) ...
    Processing triggers for man-db ...
    Errors were encountered while processing:
    E: Sub-process /usr/bin/dpkg returned an error code (1)

How do I solve this error?

share|improve this question
up vote 5 down vote accepted
dpkg -i --force-overwrite /var/cache/apt/archives/libgdal_1.8.1-1_amd64.deb
apt-get -f install
share|improve this answer
thanks that solved it – Sam007 May 29 '12 at 23:09
@Sam007 Glad that it helped :) – pl1nk May 29 '12 at 23:12
Does your command mean I will overwrite a newer version of libgdal? This is the output of the first command: trying to overwrite '/usr/bin/gdal...', which is also in package gdal-bin 1.9.1-2~precise3. If I have a newer version of libgdal installed how would I keep this as a parallel installation? – JJD Jun 15 '12 at 20:16
@JJD - Maybe it's better to submit it as a separate question? – pl1nk Jun 17 '12 at 13:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.