1

I'm running Linux Mint 19 Tara, and trying to follow the instructions here with the goal of installing pgAdmin4 as a desktop app. There seems to be a problem involving the authentication of the repository.

The apt-key step seems to work, as I observe PostgreSQL Debian Repository in the apt-key list.

I don't have a deb command (I imagine this is a Mint vs Ubuntu difference?), so I used
add-apt-repository http://apt.postgresql.org/pub/repos/apt/ tara-pgdg main
instead, after which I observe
deb http://apt.postgresql.org/pub/repos/apt/ bionic main
in /etc/apt/sources.list.d/additional-repositories.list.

At this point running either apt-get upgrade or apt-get update shows an error
The repository 'http://apt.postgresql.org/pub/repos/apt bionic Release' does not have a Release file.

How can I proceed? It seems unlikely that there really isn't a release file; I can see what looks like an authentication list at https://apt.postgresql.org/pub/repos/apt/dists/bionic-pgdg/. Do I have a path wrong or something?

  • Queued by @sabbir-ahmed's answer, I see that the problem was that tara-pgdg in the add-apt-repository command was getting mapped to or replaced by bionic; it should have been bionic-pgdg. – ShapeOfMatter Sep 9 '18 at 22:58
1
  1. Open terminal and type:

    wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
    
  2. Open Software Sources and click on "Additional repositories" and paste the following:

    deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main
    

it should look like this: enter image description here

Press "OK" and that will automatically update cache.

  1. Now open terminal and type the following:

    sudo apt update
    sudo apt install pgadmin4
    

    That should install pgadmin4.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.