[prev in list] [next in list] [prev in thread] [next in thread]
List: postgis-users
Subject: Re: [postgis-users] Error with Ubuntu installation from PostgreSQL APT repository
From: Matthew Baker <mattbaker () gmail ! com>
Date: 2014-07-17 15:48:58
Message-ID: 53C7F06A.7020604 () gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi all,
Just wanted to report back that the instructions below are working fine
in Ubuntu 12.04 (and 13.x which is on its last days of support).
14.04, both on server and desktop, does not work.
Thanks!!!
-m
On 7/8/2014 4:44 PM, Matthew Baker wrote:
> Hi all,
>
> Last year I wrote up some PostGIS installation instructions for Ubuntu
> based on the PostgreSQL APT repository:
>
> http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS21UbuntuPGSQL93Apt
>
> These worked great for a while, but seems to have stopped working with
> Ubuntu 14.04.
>
> I know there was a thread back at the end of January discussing the
> version of GDAL that would work with PostGIS (1.9 / 1.10) , but if
> nothing else, here's an update on the installation error messages:
>
> --When running this on a fresh Ubuntu 14.04 VM - with no QGIS
> installed (thanks Stephen), here are the messages that I get:
>
> After running this command:
>
> *sudo apt-get install postgresql-9.3 postgresql-9.3-postgis pgadmin3
> postgresql-contrib*
>
> I get the message:
>
> /Package postgresql-9.3-postgis is not available, but is referred to
> by another package.//
> //This may mean that the package is missing, has been obsoleted, or//
> //is only available from another source//
> //
> //E: Package 'postgresql-9.3-postgis' has no installation candidate/
>
> So I modified the install command specific to PostGIS:
>
> *sudo apt-get install postgresql-9.3 /postgis /pgadmin3
> postgresql-contrib *
>
> Which gives the message:
>
> /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://
> // postgis : Depends: libgdal1 (>= 1.9.0) but it is not going to be
> installed//
> //E: Unable to correct problems, you have held broken packages.//
> /
> So I tried to install libgdal1 v 1.10.0 via Synaptic Package Manager,
> but it doesn't seem to help.
>
> That's where I'm stuck.
>
> Does anyone have any info either regarding this error, or if the
> PostgreSQL APT repo is still packaging PostGIS?
>
> I will try this on Ubuntu 12.04.4 just for fun...
>
> I appreciate any feedback! Thank you!!!
>
> -m
>
>
>
>
[Attachment #5 (text/html)]
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi all,<br>
<br>
Just wanted to report back that the instructions below are working
fine in Ubuntu 12.04 (and 13.x which is on its last days of
support).<br>
<br>
14.04, both on server and desktop, does not work.<br>
<br>
Thanks!!!<br>
<br>
-m<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 7/8/2014 4:44 PM, Matthew Baker
wrote:<br>
</div>
<blockquote cite="mid:53BC744C.7040004@gmail.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hi all,<br>
<br>
Last year I wrote up some PostGIS installation instructions for
Ubuntu based on the PostgreSQL APT repository:<br>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS21UbuntuPGSQL93Apt">http://trac.osgeo.org/postgis/wiki/UsersWikiPostGIS21UbuntuPGSQL93Apt</a><br>
<br>
These worked great for a while, but seems to have stopped working
with Ubuntu 14.04.<br>
<br>
I know there was a thread back at the end of January discussing
the version of GDAL that would work with PostGIS (1.9 / 1.10) ,
but if nothing else, here's an update on the installation error
messages:<br>
<br>
--When running this on a fresh Ubuntu 14.04 VM - with no QGIS
installed (thanks Stephen), here are the messages that I get:<br>
<br>
After running this command:<br>
<br>
<b>sudo apt-get install postgresql-9.3 postgresql-9.3-postgis
pgadmin3 postgresql-contrib</b><br>
<br>
I get the message: <br>
<br>
<i>Package postgresql-9.3-postgis is not available, but is
referred to by another package.</i><i><br>
</i><i>This may mean that the package is missing, has been
obsoleted, or</i><i><br>
</i><i>is only available from another source</i><i><br>
</i><i><br>
</i><i>E: Package 'postgresql-9.3-postgis' has no installation
candidate</i><br>
<br>
So I modified the install command specific to PostGIS:<br>
<br>
<b>sudo apt-get install postgresql-9.3 <i>postgis </i>pgadmin3
postgresql-contrib </b><br>
<br>
Which gives the message:<br>
<br>
<i>Some packages could not be installed. This may mean that you
have</i><i><br>
</i><i>requested an impossible situation or if you are using the
unstable</i><i><br>
</i><i>distribution that some required packages have not yet been
created</i><i><br>
</i><i>or been moved out of Incoming.</i><i><br>
</i><i>The following information may help to resolve the
situation:</i><i><br>
</i><i><br>
</i><i>The following packages have unmet dependencies:</i><i><br>
</i><i> postgis : Depends: libgdal1 (>= 1.9.0) but it is not
going to be installed</i><i><br>
</i><i>E: Unable to correct problems, you have held broken
packages.</i><i><br>
</i><br>
So I tried to install libgdal1 v 1.10.0 via Synaptic Package
Manager, but it doesn't seem to help.<br>
<br>
That's where I'm stuck.<br>
<br>
Does anyone have any info either regarding this error, or if the
PostgreSQL APT repo is still packaging PostGIS?<br>
<br>
I will try this on Ubuntu 12.04.4 just for fun...<br>
<br>
I appreciate any feedback! Thank you!!!<br>
<br>
-m<br>
<br>
<br>
<br>
<br>
</blockquote>
<br>
</body>
</html>
_______________________________________________
postgis-users mailing list
postgis-users@lists.osgeo.org
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic