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.

  • Fal@yiffit.net
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    edit-2
    7 months ago

    This whole question is extremely confusing, and the fact that you would consider switching to windows makes me think this is just trolling.

    sudo apt-get install postgres is literally all you need to do. Then systemctl start postgresql.service

    But you should probably be using docker anyway.

    docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -d postgres

    Like, you’re editing sources list files? Where did you read that that’s a thing you should be doing?

    • Creatortray@lemmy.worldOP
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      7 months ago

      Not trolling. I used the repo link on the site that it gave for apt distros. Got a terminal error. That’s what i was told when i looked up the terminal error. I have absolutely no experience with docker, so i haven’t tried it.

      UPDATE just saw the terminal code you shared. I’ll try that. The command i found to start the service was slightly different. Really appreciate your response.