D
D
Danil Samodurov2021-06-14 22:37:27
linux
Danil Samodurov, 2021-06-14 22:37:27

Why is there an error when installing PgAdmin4?

Hello. Installed PostgreSQL on Ubuntu 20.04.2 LTS. But when I try to install the PgAdmin4 graphical utility, I get an error: No installation candidate was found for the package "pgadmin4". What does it mean?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Danil Samodurov, 2021-06-14
@samodurOFF

I solved the problem myself. Had to add the line "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main" to the pgdg.list file in /etc/apt/sources.list.d

D
Denis Yuriev, 2021-06-14
@dyuriev

who will connect the repository?
this package is not in their ubuntu repositories

sudo apt-get -y install apt-transport-https lsb-release ca-certificates curl
sudo curl https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo apt-key add
sudo sh -c 'echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list'
sudo apt-get update

and only after that you can install
[ proof , the manual was supplemented by the link, assuming other potential errors]

A
awsswa, 2021-06-14
@awsswa

Means that you have not connected the repository with this package

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question