Bug#839182: postgresql-9.4-postgis-2.2 and postgresql-9.4-postgis-2.1 cannot be installed simultaneously

Greg Burek gregburek at heroku.com
Fri Sep 30 19:29:41 UTC 2016


Hello,

> postgis (2.3.0+dfsg-2) unstable; urgency=medium
>  * Update pgversions to require PostgreSQL 9.2 or newer.
>  * Run tests against all supported PostgreSQL versions.
>  * Downgrade the dependency from the extension package to the
>    scripts package to a recommendation, so the former becomes
>    co-installable with older versions, again. Closes: #839182.
> -- Markus Wanner <markus at bluegap.ch>  Fri, 30 Sep 2016 16:36:08 +0200

I see a new 2.3 release has been pushed, which is awesome and fixes the
immediate 2.3 issue. However, postgis-2.2 still requires
`postgresql-9.4-postgis-2.2-scripts`, which conflicts with the package that
postgis-2.1 requires, which is `postgresql-9.4-postgis-scripts`, which
requires `postgresql-9.4-postgis-2.3-scripts`

Can postgis-2.2 either require `postgresql-9.4-postgis-scripts` or move
`postgresql-9.4-postgis-2.2-scripts` to `Recommends`?


# apt-get install -y --no-install-recommends \
>     postgresql-9.4-postgis-2.1                                  \
>     postgresql-9.4-postgis-2.2                                  \
>     postgresql-9.4-postgis-2.3                                  \
>     postgresql-9.4-postgis-scripts
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 postgresql-9.4-postgis-2.2 : Depends: postgresql-9.4-postgis-2.2-scripts
but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
# apt-cache policy \
>     postgresql-9.4-postgis-2.1                                  \
>     postgresql-9.4-postgis-2.2                                  \
>     postgresql-9.4-postgis-2.3                                  \
>     postgresql-9.4-postgis-scripts
postgresql-9.4-postgis-2.1:
  Installed: (none)
  Candidate: 2.1.8+dfsg-5~97.git43a09cc.pgdg14.04+1
  Version table:
     2.1.8+dfsg-5~97.git43a09cc.pgdg14.04+1 0
        500 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main amd64
Packages
     2.1.5+dfsg-2heroku1 0
        500 https://packagecloud.io/heroku/dod/ubuntu/ trusty/main amd64
Packages
postgresql-9.4-postgis-2.2:
  Installed: (none)
  Candidate: 2.2.2+dfsg-5.pgdg14.04+1
  Version table:
     2.2.2+dfsg-5.pgdg14.04+1 0
        500 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main amd64
Packages
postgresql-9.4-postgis-2.3:
  Installed: (none)
  Candidate: 2.3.0+dfsg-2.pgdg14.04+1
  Version table:
     2.3.0+dfsg-2.pgdg14.04+1 0
        500 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main amd64
Packages
postgresql-9.4-postgis-scripts:
  Installed: (none)
  Candidate: 2.3.0+dfsg-2.pgdg14.04+1
  Version table:
     2.3.0+dfsg-2.pgdg14.04+1 0
        500 http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg/main amd64
Packages
# apt-cache depends  \
>     postgresql-9.4-postgis-2.1                                  \
>     postgresql-9.4-postgis-2.2                                  \
>     postgresql-9.4-postgis-2.3                                  \
>     postgresql-9.4-postgis-scripts
postgresql-9.4-postgis-2.1
  Depends: libc6
  Depends: libgdal1h
  Depends: libgeos-c1
  Depends: liblwgeom-2.1.8
  Depends: libproj0
  Depends: libxml2
  Depends: postgresql-9.4
  Depends: postgresql-9.4-postgis-scripts
  Suggests: postgis
  Recommends: postgresql-contrib-9.4
  Breaks: postgis
postgresql-9.4-postgis-2.2
  Depends: libc6
  Depends: libgdal1h
  Depends: libgeos-c1
  Depends: libjson-c2
  Depends: liblwgeom-2.2-5
  Depends: libpcre3
  Depends: libproj0
  Depends: libxml2
  Depends: postgresql-9.4
  Depends: postgresql-9.4-postgis-2.2-scripts
  Suggests: postgis
  Recommends: postgresql-contrib-9.4
  Breaks: postgis
postgresql-9.4-postgis-2.3
  Depends: libc6
  Depends: libgdal1h
  Depends: libgeos-c1
  Depends: libjson-c2
  Depends: liblwgeom-2.3-0
  Depends: libpcre3
  Depends: libproj0
  Depends: libxml2
  Depends: postgresql-9.4
  Suggests: postgis
  Recommends: postgresql-9.4-postgis-2.3-scripts
  Recommends: postgresql-contrib-9.4
  Breaks: postgis
postgresql-9.4-postgis-scripts
  Depends: postgresql-9.4-postgis-2.3-scripts
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20160930/3d3272bf/attachment.html>


More information about the Pkg-grass-devel mailing list