PostgreSQL says it’s included in Ubuntu related operating systems, but I’m not sure. I’m unable to start the service, or set up new servers in PgAdmin. I’ve tried to install the repositories but I’m either getting “1831” architecture errors, or no release file errors. I’ve tried fixing the list file, but it doesn’t seem to help. If anyone can help i would really appreciate it

The course I’m taking provides download links for an installer for windows, and Mac. After this and another problem I’ve had on Mac back in the day I’m thinking of switching to windows. Maybe the development software works better there.

  • ExperimentalGuy@programming.dev
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    Start up a fresh VM in the distro you’re using and follow instructions on how to initialize it there. If you do this and it works on the VM, you’ll know it’s some sort of system config error instead of a user error. I have no other ideas bc I’ve never done that before but best of luck :)

      • Radium@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        If it’s happened on multiple distros the problem is likely in the commands you are entering / instructions you are following. The top comment on this post has the right install commands, follow that or do some googling for how to install postgresql on Ubuntu. I’d imagine digital ocean or someone else has made a good detailed guide that will help you.

        Sometimes it’s just a matter of finding the right, up to date instructions for how to do the thing

        Otherwise, in the future posting the full error you are getting and the full commands you are running will help us debug your specific situation in a more concrete way. With the little information we have we can only guess at the issue and point you towards the right way to install Postgres.

        • Creatortray@lemmy.worldOP
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Thank you for the information! I’ll definitely include the errors from now on. I should have come here way sooner.