Opened 10 years ago

Closed 10 years ago

#39 closed defect (invalid)

postgresql-9.1-postgis and gdal-bin conflict

Reported by: strk Owned by: jlarouche@…
Component: General Severity: critical
Keywords: Cc:

Description

the gdal-bin package requires postgresql-9.1-postgis-scripts which installs topology.control file as done by postgresql-9.1-postgis.

As a result installing those two packages fails. See https://travis-ci.org/CartoDB/CartoDB-SQL-API/builds/14597983

Snippet:

$ sudo apt-get install -q postgresql-9.1-postgis gdal-bin

Reading package lists...

Building dependency tree...

Reading state information...

Suggested packages:

python-gdal

The following NEW packages will be installed:

gdal-bin postgresql-9.1-postgis

0 upgraded, 2 newly installed, 0 to remove and 17 not upgraded.

Need to get 3,788 kB of archives.

After this operation, 23.5 MB of additional disk space will be used.

Get:1 http://ppa.launchpad.net/ubuntugis/ppa/ubuntu/ precise/main postgresql-9.1-postgis amd64 2.0.1-2~precise3 [3,456 kB]

Get:2 http://ppa.launchpad.net/ubuntugis/ppa/ubuntu/ precise/main gdal-bin amd64 1.9.2-2~precise4 [332 kB]

Fetched 3,788 kB in 1s (2,855 kB/s)

Selecting previously unselected package postgresql-9.1-postgis.

(Reading database ... 69524 files and directories currently installed.)

Unpacking postgresql-9.1-postgis (from .../postgresql-9.1-postgis_2.0.1-2~precise3_amd64.deb) ...

dpkg: error processing /var/cache/apt/archives/postgresql-9.1-postgis_2.0.1-2~precise3_amd64.deb (--unpack):

trying to overwrite '/usr/share/postgresql/9.1/extension/postgis_topology.control', which is also in package postgresql-9.1-postgis-scripts 2.1.0-4.pgdg12.4+1

Actually I'm not sure who installed postgresql-9.1-postgis-scripts...

Change History (1)

comment:1 by jlarouche, 10 years ago

Resolution: invalid
Status: newclosed

Hi, it seems that you have another repository providing postgresql and postgis since there is no PostGIS 2.1.0 package for Precise on UbuntuGIS. You should check why postgis 2.1.0 is installed and either only use the repository providing it or UbuntuGIS.

Note: See TracTickets for help on using tickets.