I'm trying to install postgis on Ubuntu 13.04. I've attempted to follow a number of different blogs and wikis on line, but always run in to the same problem...
$sudo apt-get install postgis postgresql-9.1-postgis
....
Package postgresql-9.2-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.2-postgis' has no installation candidate
So I try 9.1...
$sudo apt-get install postgis postgresql-9.1-postgis
....
The following packages have unmet dependencies:
postgresql-9.1-postgis : Depends: postgresql-9.1 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
No luck, so I go looking for postgresql-9.1...
sudo apt-get install postgresql-9.1
...
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.1 : Depends: postgresql-common (>= 115~) but it is not going to be
installed
E: Unable to correct problems, you have held broken packages.
So postgresql-common then?
sudo apt-get install postgresql-common
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-common : Breaks: logrotate (>= 3.8) but 3.8.3-3ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.
Anyone know what to do?