Ubuntu-14.04 [SOLVED]: reinstall postgres on Amazon EC2 ubuntu server

Ubuntu-14.04 [SOLVED]: reinstall postgres on Amazon EC2 ubuntu server

Home Forums Ubuntu 14.04 Ubuntu-14.04 [SOLVED]: reinstall postgres on Amazon EC2 ubuntu server

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #36168

    Anonymous

    QuestionQuestion

    While trying to install postgres on ubuntu server, I messed up and now I am getting the following error. How to fix the missing dependencies and move forward? My final aim is to install postgis.

    ubuntu@ip-172-31-17-218:~$ sudo apt-get install postgresql postgresql-contrib
    

    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 : Depends: postgresql-10 but it is not going to be installed
    postgresql-contrib : Depends: postgresql-contrib-10
    E: Unable to correct problems, you have held broken packages.
    ubuntu@ip-172-31-17-218:~$

    #36169

    Anonymous
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.