Thread: postgresql-9.3-postgis-2.1 failing to install on debian 7.6
Howdy,
Just this morning postgresql-9.3-postgis-2.1 failed to install on debian wheezy. And I received the following error:The following packages have unmet dependencies:
postgresql-9.3-postgis-2.1 : Depends: liblwgeom-2.1.4 (>= 2.1.2) but it is not going to be installed
Recommends: postgis but it is not going to be installed
On some investigation I noticed postgis updated the liblwgeom dependency to liblwgeom-2.1.4. Folks over at the postgis irc channel suggested that maybe not all dependencies are shipping with postgresql-9.3-postgis-2.1 package.
Jake, On 10/01/2014 10:56 PM, Jake O'brien Fagan wrote: > Just this morning postgresql-9.3-postgis-2.1 failed to install on debian > wheezy. And I received the following error: > > The following packages have unmet dependencies: > postgresql-9.3-postgis-2.1 : Depends: liblwgeom-2.1.4 (>= 2.1.2) > but it is not going to be installed > Recommends: postgis but it is not going to be installed Thanks for the report. This is an issue with the pgdg packaging, yes. For some reason, postgis got built against a package from the backports, so if you don't have those in your sources, installation fails. I'm investigating. In the mean time, installing libjson-c2 from the backports as outlined on stackoverflow (http://stackoverflow.com/a/26151320) should be just fine. Regards Markus Wanner
Attachment
On 10/02/2014 08:56 AM, Markus Wanner wrote: > Thanks for the report. This is an issue with the pgdg packaging, yes. > For some reason, postgis got built against a package from the backports, > so if you don't have those in your sources, installation fails. I'm > investigating. This issue has been resolved and the newest pgapt postgis package should now be installable on a plain wheezy+pgapt system (i.e. without backports). > In the mean time, installing libjson-c2 from the backports as outlined > on stackoverflow (http://stackoverflow.com/a/26151320) should be just fine. If you did that, you might want to consider removing libjson-c2 and the backport from your sources again, now. Regards Markus Wanner